/* =========================================================
   Sumai Agent LP — Premium design
   Color : Service同一の blue→violet グラデーション
   Type  : Inter + Noto Sans JP
   ========================================================= */

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

:root {
    /* Brand */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #8b5cf6;
    --accent-pink: #ec4899;
    --danger: #ef4444;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-vivid: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);

    /* Neutrals */
    --bg: #fafbff;
    --surface: #ffffff;
    --surface-soft: #f5f6fb;
    --text: #0b1020;
    --text-muted: #5b6478;
    --text-dim: #8a93a6;
    --border: #e7e9f2;
    --border-strong: #d6d9e6;

    /* Dark */
    --dark: #0a0d1a;
    --dark-soft: #141828;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-fast: 180ms;
    --duration: 280ms;
    --duration-slow: 520ms;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(11, 16, 32, 0.04), 0 1px 3px rgba(11, 16, 32, 0.06);
    --shadow-md: 0 4px 8px rgba(11, 16, 32, 0.05), 0 12px 24px rgba(11, 16, 32, 0.08);
    --shadow-lg: 0 16px 40px rgba(59, 130, 246, 0.16), 0 4px 10px rgba(11, 16, 32, 0.06);

    --max: 1160px;
    --gutter: 28px;
    --header-h: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'palt';
    overflow-x: hidden;
    transition: background-color 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scroll-linked ambient background per active section */
body[data-bg="hero"]     { background-color: #fafbff; }
body[data-bg="video"]    { background-color: #eef2ff; }
body[data-bg="about"]    { background-color: #fbf8ff; }
body[data-bg="features"] { background-color: #fdf5fb; }
body[data-bg="security"] { background-color: #f4f7ff; }

/* Ambient blobs react to the current section (opacity / tint) */
.bg-blob {
    transition: opacity 1200ms var(--ease-out),
                transform 1600ms var(--ease-out);
}

body[data-bg="hero"] .bg-blob--1     { opacity: 0.38; transform: translate(0, 0); }
body[data-bg="hero"] .bg-blob--2     { opacity: 0.32; transform: translate(0, 0); }

body[data-bg="video"] .bg-blob--1    { opacity: 0.45; transform: translate(30px, 40px); }
body[data-bg="video"] .bg-blob--2    { opacity: 0.20; transform: translate(-60px, 80px); }

body[data-bg="about"] .bg-blob--1    { opacity: 0.22; transform: translate(-80px, 120px); }
body[data-bg="about"] .bg-blob--2    { opacity: 0.42; transform: translate(60px, 60px); }

body[data-bg="features"] .bg-blob--1 { opacity: 0.18; transform: translate(-40px, 200px); }
body[data-bg="features"] .bg-blob--2 { opacity: 0.48; transform: translate(80px, 180px); }

body[data-bg="security"] .bg-blob--1 { opacity: 0.30; transform: translate(20px, 80px); }
body[data-bg="security"] .bg-blob--2 { opacity: 0.24; transform: translate(-40px, 140px); }

::selection { background: rgba(139, 92, 246, 0.25); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

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

.highlight {
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================================
   Ambient background
   ========================================================= */
.bg-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.bg-blob--1 {
    top: -260px;
    left: -120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6), transparent 60%);
}

.bg-blob--2 {
    top: 160px;
    right: -200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent 60%);
}

/* =========================================================
   Logo mark
   ========================================================= */
.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
}

.logo-mark::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.4), transparent 60%);
    pointer-events: none;
}

.logo-mark-inner {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 3px;
    transform: rotate(45deg);
    position: relative;
    z-index: 1;
}

.logo-mark--lg { width: 56px; height: 56px; border-radius: 16px; }
.logo-mark--lg .logo-mark-inner { width: 20px; height: 20px; border-radius: 5px; }

.logo-mark--xl { width: 72px; height: 72px; border-radius: 20px; }
.logo-mark--xl .logo-mark-inner { width: 26px; height: 26px; border-radius: 6px; }

/* =========================================================
   Header
   ========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 10px 20px 10px 16px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid rgba(231, 233, 242, 0.9);
    border-radius: 999px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 28px rgba(11, 16, 32, 0.06);
}

.header-inner > .logo {
    justify-self: start;
}

.header-inner > .nav {
    justify-self: center;
}

.header-inner > .btn {
    justify-self: end;
}

.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c93c4;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
}

.logo-highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    padding: 4px 0;
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: right var(--duration) var(--ease-out);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { right: 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out),
                background var(--duration) var(--ease-out),
                color var(--duration) var(--ease-out);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    isolation: isolate;
}

.btn-primary {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.32), 0 2px 4px rgba(139, 92, 246, 0.28);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease-out);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.42), 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-light {
    color: var(--text);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

.btn-arrow {
    display: inline-block;
    transition: transform var(--duration) var(--ease-out);
    font-weight: 500;
}

.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-play {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    font-size: 0.55rem;
    padding-left: 2px;
}

/* =========================================================
   Eyebrow
   ========================================================= */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    backdrop-filter: blur(6px);
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.eyebrow--center {
    margin-left: auto;
    margin-right: auto;
}

.eyebrow--problem .eyebrow-dot {
    background: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    padding: calc(var(--header-h) + 60px) 0 60px;
    text-align: center;
    position: relative;
}

.hero .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.85;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* ヒーローのCTAが単独（無料で試す）の場合：ボタンを大きく目立たせる */
.hero-cta-main {
    padding: 28px 96px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(59, 130, 246, 0.38);
}

.hero-cta-main:hover {
    box-shadow: 0 24px 54px rgba(59, 130, 246, 0.48);
}

@media (max-width: 640px) {
    .hero-cta-main {
        padding: 22px 56px;
        font-size: 1.15rem;
    }
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* =========================================================
   Video section
   ========================================================= */
.video-section {
    padding: 60px 0 80px;
    text-align: center;
}

.video-section .section-title,
.video-section .section-lead {
    text-align: center;
}

.video-section .section-lead {
    margin-bottom: 40px;
}

.video-wrapper {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1e293b 0%, #0a0d1a 100%);
    isolation: isolate;
}

.video-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(59, 130, 246, 0.25), transparent 55%),
        radial-gradient(ellipse at 70% 70%, rgba(139, 92, 246, 0.25), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    background: transparent;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 1;
    color: #fff;
    pointer-events: none;
}

.video-play {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.45);
    position: relative;
    animation: floaty 3s ease-in-out infinite;
}

.video-play::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: ping 2.4s ease-out infinite;
}

.video-play-icon {
    font-size: 1.5rem;
    color: #fff;
    padding-left: 4px;
}

.video-placeholder-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.02em;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* =========================================================
   Section header
   ========================================================= */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 16px;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.85;
}

/* =========================================================
   About (Sumai Agentとは？) — unifies Problem + Solution
   ========================================================= */
.about {
    padding: 100px 0;
    position: relative;
}

.about-header {
    text-align: center;
    margin-bottom: 72px;
}

.about-header .section-title {
    margin-bottom: 16px;
}

.about-part {
    max-width: 980px;
    margin: 0 auto;
}

.about-part + .about-part {
    margin-top: 0;
}

.about-part-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px dashed var(--border-strong);
}

.about-part-num {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.about-part-kicker {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 2px;
}

.about-part-title {
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--text);
}

.about-part-close {
    margin-top: 32px;
    text-align: center;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    font-weight: 600;
    color: var(--text);
}

.about-part-close strong {
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Connector between about-parts */
.about-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 64px auto;
    max-width: 920px;
}

.about-connector-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.about-connector-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    background: var(--gradient);
    border: none;
    border-radius: 999px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.32), 0 4px 10px rgba(139, 92, 246, 0.28);
    white-space: nowrap;
}

.about-connector-badge .hook-closing-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.about-connector-brand {
    font-weight: 800;
    padding: 0 4px;
}

/* Hook cards */
.hook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hook-card {
    padding: 36px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: center;
    transition: transform var(--duration) var(--ease-out),
                border-color var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out);
}

.hook-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: var(--shadow-md);
}

.hook-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
}

.hook-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.85;
}

.hook-text strong {
    color: var(--text);
    font-weight: 700;
}

.hook-closing-mark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* =========================================================
   Solution / Convergence (used inside about)
   ========================================================= */
.solution {
    padding: 100px 0;
}

.converge {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.converge-pills {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.converge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration) var(--ease-out);
}

.converge-pill:hover {
    transform: translateY(-2px);
}

.converge-icon {
    font-size: 1.1rem;
}

.converge-arrows {
    display: flex;
    gap: 160px;
    height: 56px;
    align-items: stretch;
}

.converge-arrow {
    width: 2px;
    background: linear-gradient(180deg, var(--border-strong) 0%, rgba(139, 92, 246, 0.8) 100%);
    position: relative;
}

.converge-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.converge-hub {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 32px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    min-width: 280px;
}

.converge-hub::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.converge-hub-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.converge-hub-label {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.converge-hub-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================================
   Features / Accordion (POINT 01/02/03)
   ========================================================= */
.features {
    padding: 100px 0;
}

.accordion {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out);
}

.accordion-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-md);
}

.accordion-item[open] {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12), 0 2px 6px rgba(11, 16, 32, 0.04);
}

.accordion-item[open]::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: var(--gradient);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.accordion-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 28px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background var(--duration-fast) var(--ease-out);
}

.accordion-head::-webkit-details-marker { display: none; }
.accordion-head::marker { display: none; content: ''; }

.accordion-head:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.05));
}

.accordion-head-main {
    flex: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 4px;
    align-items: center;
}

.accordion-num {
    grid-row: 1 / 3;
    align-self: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    padding: 8px 14px;
    background: var(--gradient);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
}

.accordion-title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text);
    line-height: 1.4;
}

.accordion-hint {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.accordion-chevron {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--duration) var(--ease-out),
                background var(--duration) var(--ease-out),
                color var(--duration) var(--ease-out);
}

.accordion-item[open] .accordion-chevron {
    transform: rotate(180deg);
    background: var(--gradient);
    color: #fff;
}

.accordion-body {
    padding: 8px 28px 36px;
    border-top: 1px dashed var(--border);
    margin-top: 4px;
    animation: accordion-in 380ms var(--ease-out);
}

.accordion-body .feature-row {
    margin-bottom: 56px;
}

.accordion-body .feature-row:last-child {
    margin-bottom: 0;
}

@keyframes accordion-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature row (alternating layout) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row--reverse .feature-text { order: 2; }
.feature-row--reverse .feature-visual { order: 1; }

.feature-text {
    padding: 8px 0;
}

.feature-sub {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 14px;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 999px;
}

.feature-headline {
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.4;
    margin-bottom: 18px;
    color: var(--text);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.feature-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.feature-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.06), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.06), transparent 50%);
    pointer-events: none;
}

.feature-visual > * { position: relative; }

/* Visual: upload */
.visual-upload { gap: 16px; }

.visual-upload-zone {
    aspect-ratio: 4 / 1.4;
    border: 2px dashed var(--border-strong);
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--surface-soft);
}

.visual-upload-icon { font-size: 2rem; }

.visual-upload-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.visual-upload-progress {
    height: 6px;
    background: var(--surface-soft);
    border-radius: 999px;
    overflow: hidden;
}

.visual-upload-progress-bar {
    width: 72%;
    height: 100%;
    background: var(--gradient);
    border-radius: 999px;
    animation: progress 2.8s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 20%; }
    50% { width: 85%; }
    100% { width: 20%; }
}

.visual-upload-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.visual-upload-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

/* Visual: search */
.visual-search { gap: 14px; }

.visual-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.visual-search-icon { font-size: 0.95rem; }

.visual-search-query {
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
}

.visual-search-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visual-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    color: var(--text);
}

.visual-search-item--muted {
    opacity: 0.5;
}

.visual-search-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient);
}

/* Visual: customer list */
.visual-customer { gap: 12px; }

.visual-customer-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}

.visual-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.visual-avatar--b { background: linear-gradient(135deg, #10b981, #3b82f6); }
.visual-avatar--c { background: linear-gradient(135deg, #f59e0b, #ec4899); }

.visual-customer-info { flex: 1; }

.visual-customer-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.visual-customer-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.visual-customer-tag {
    padding: 3px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.visual-customer-tag--hot {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--danger);
}

/* Visual: share page */
.visual-sharepage { gap: 14px; }

.visual-sharepage-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.visual-sharepage-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.visual-sharepage-url {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 100%;
    overflow: hidden;
}

.visual-sharepage-copy {
    background: var(--gradient);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: auto;
}

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

.visual-sharepage-tile {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.visual-sharepage-tile::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    opacity: 0.7;
}

/* Visual: map */
.visual-map {
    position: relative;
    aspect-ratio: auto;
    height: 100%;
    min-height: 240px;
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    border-radius: var(--r-md);
    overflow: hidden;
    padding: 0;
}

.visual-map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}

.visual-map-pin {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 6px 18px rgba(11, 16, 32, 0.18);
}

.visual-map-pin--1 { top: 30%; left: 40%; }
.visual-map-pin--2 { top: 22%; left: 65%; }
.visual-map-pin--3 { top: 58%; left: 25%; }
.visual-map-pin--4 { top: 66%; left: 60%; }

.visual-map-hazard {
    position: absolute;
    top: 40%;
    left: 20%;
    width: 180px;
    height: 110px;
    border-radius: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.05) 60%, transparent);
    filter: blur(4px);
}

.visual-map-legend {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--text-muted);
    backdrop-filter: blur(4px);
}

.visual-map-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.5);
}

/* Visual: activity */
.visual-activity { gap: 10px; }

.visual-activity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.85rem;
}

.visual-activity-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.visual-activity-icon--star {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.visual-activity-text {
    flex: 1;
    color: var(--text);
}

.visual-activity-time {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.visual-activity-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-top: 6px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient);
    border-radius: 3px 3px 0 0;
    opacity: 0.85;
}

/* =========================================================
   CTA section that wraps the free-card (after Security)
   ========================================================= */
.cta-free-section {
    padding: 16px 0 24px;
}

@media (max-width: 640px) {
    .cta-free-section {
        padding: 8px 0 16px;
    }
}

/* =========================================================
   Free offer card — embedded inside .features (light theme)
   ========================================================= */
.free-card {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 64px 48px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(59, 130, 246, 0.12),
        0 4px 12px rgba(11, 16, 32, 0.04);
}

.free-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.5) 0%,
        rgba(139, 92, 246, 0.5) 50%,
        rgba(236, 72, 153, 0.5) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.free-card-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 380px at 15% 10%, rgba(59, 130, 246, 0.14), transparent 60%),
        radial-gradient(ellipse 520px 360px at 90% 80%, rgba(139, 92, 246, 0.16), transparent 60%),
        radial-gradient(ellipse 700px 420px at 50% 120%, rgba(236, 72, 153, 0.1), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.free-card-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.free-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ec4899;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
    animation: pulse 1.8s ease-in-out infinite;
}

/* Huge FREE display */
.free-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    line-height: 1;
}

.free-display-row {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
}

.free-display-num {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.25rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-display-unit {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--text);
}

.free-display-word {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.free-display-word-accent {
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2em;
    filter: drop-shadow(0 8px 24px rgba(139, 92, 246, 0.35));
}

.cta-free-title {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.5;
    margin-bottom: 18px;
    color: var(--text);
}

.highlight-bright {
    font-size: 1.4em;
    font-weight: 900;
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 6px 16px rgba(139, 92, 246, 0.3));
}

.cta-free-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.9;
}

.free-benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 36px;
    max-width: 720px;
}

.free-benefit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1;
    box-shadow: var(--shadow-sm);
}

.free-benefit strong {
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-benefit-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

/* 縦並び・横長バリアント（Free Card 用） */
.cta-buttons--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons--stack .btn {
    width: 100%;
    justify-content: center;
}

/* スタック内の両ボタンを共通スケール（お問い合わせの比率）×2倍で統一 */
.cta-buttons--stack .btn-primary,
.cta-buttons--stack .cta-buttons-secondary {
    width: 100%;
    max-width: none;
    align-self: center;
    padding: 28px 40px;
    border-radius: 14px;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.38);
}

.cta-buttons--stack .btn-primary:hover,
.cta-buttons--stack .cta-buttons-secondary:hover {
    box-shadow: 0 22px 50px rgba(59, 130, 246, 0.48);
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.85;
}

.cta-note strong {
    color: var(--text);
    font-weight: 700;
}

/* =========================================================
   Upcoming plans (Coming Soon) — independent section after CTA
   ========================================================= */
.upcoming-plans-section {
    padding: 0 0 96px;
}

@media (max-width: 640px) {
    .upcoming-plans-section {
        padding: 0 0 64px;
    }
}

.upcoming-plans {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 32px;
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.upcoming-plans-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6d28d9;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.upcoming-plans-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.55);
    animation: pulse 1.8s ease-in-out infinite;
}

.upcoming-plans-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.upcoming-plans-lead {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 22px;
}

.upcoming-plans-tiers {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.upcoming-plan-tier {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.01em;
}

.upcoming-plan-name {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 640px) {
    .upcoming-plans {
        padding: 24px 20px;
    }
}

/* インライン版：free-card 内部に置かれる、+α的な控えめカード */
.upcoming-plans--inline {
    max-width: none;
    margin: 28px auto 32px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border: 1px dashed rgba(11, 16, 32, 0.18);
    box-shadow: none;
}

.upcoming-plans--inline .upcoming-plans-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.upcoming-plans--inline .upcoming-plans-lead {
    font-size: 0.88rem;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .upcoming-plans--inline {
        padding: 18px 18px;
        margin: 22px auto 26px;
    }
    .upcoming-plans--inline .upcoming-plans-title {
        font-size: 0.94rem;
    }
    .upcoming-plans--inline .upcoming-plans-lead {
        font-size: 0.85rem;
    }
}

/* Price eyebrow only セクションヘッダ：余白を抑える */
.cta-free-section > .container > .section-header {
    margin-bottom: 28px;
}

/* =========================================================
   Security section（硬派トーン版・専門家の顔）
   ========================================================= */
.security {
    padding: 96px 0 88px;
    position: relative;
}

.security .section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.security-header { margin-bottom: 8px; }

.security-title {
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text);
}

.security-title-em {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.security-lead {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 640px;
    margin: 12px auto 0;
}

/* ─────────────────────────────────────────
   Spec band：硬派な数値訴求（ダーク基調）
   ───────────────────────────────────────── */
.security-specs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1080px;
    margin: 56px auto 0;
    padding: 32px 8px;
    background: linear-gradient(180deg, #0b1020 0%, #11172e 100%);
    border-radius: 18px;
    box-shadow:
        0 24px 60px rgba(11, 16, 32, 0.18),
        0 4px 12px rgba(11, 16, 32, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    isolation: isolate;
}

.security-specs::before {
    /* subtle technical grid overlay */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.security-specs-glow {
    position: absolute;
    width: 60%;
    height: 120%;
    top: -20%;
    left: 20%;
    background: radial-gradient(closest-side, rgba(59, 130, 246, 0.18), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.security-spec {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.security-spec:last-child { border-right: none; }

.security-spec-value {
    font-family: 'Inter', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.005em;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .security-spec-value { font-size: 1.2rem; }
}

.security-spec-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    margin: 0 2px;
}

.security-spec-label {
    margin-top: 8px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .security-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
        padding: 28px 8px;
    }
    .security-spec {
        border-right: none;
        padding: 8px 12px;
    }
    .security-spec:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
    .security-spec-value { font-size: 1.25rem; }
}

/* ─────────────────────────────────────────
   Bubble: メイン丸 → 3つに分裂
   ───────────────────────────────────────── */
.security-bubble {
    max-width: 1080px;
    margin: 56px auto 0;
    text-align: center;
    overflow: visible;
}

/* メイン丸（基盤システム） */
.security-bubble-main {
    position: relative;
    width: clamp(300px, 38vw, 400px);
    height: clamp(300px, 38vw, 400px);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 44px);
    background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
    border-radius: 50%;
    box-shadow:
        0 24px 60px rgba(59, 130, 246, 0.18),
        0 4px 12px rgba(11, 16, 32, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: transform 380ms var(--ease-out),
                box-shadow 380ms var(--ease-out);
    isolation: isolate;
}

.security-bubble-main::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: var(--gradient);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.security-bubble-main::-webkit-details-marker { display: none; }
.security-bubble-main::marker { display: none; content: ''; }

.security-bubble-main:hover {
    transform: scale(1.02);
    box-shadow:
        0 30px 72px rgba(59, 130, 246, 0.25),
        0 6px 18px rgba(11, 16, 32, 0.08);
}

.security-bubble[open] .security-bubble-main {
    transform: scale(0.96);
}

.security-bubble-num {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    padding: 6px 14px;
    background: var(--gradient);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    margin-bottom: 14px;
}

.security-bubble-title {
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 14px;
    letter-spacing: -0.015em;
}

.security-bubble-text {
    font-size: clamp(0.78rem, 1.4vw, 0.86rem);
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 20px;
    max-width: 280px;
}

.security-bubble-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed #c7cde0;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}

.security-bubble-main:hover .security-bubble-cta,
.security-bubble[open] .security-bubble-cta {
    background: #fff;
    border-style: solid;
    border-color: var(--primary);
    color: var(--text);
}

.security-bubble-cta-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.security-bubble-cta-icon::before { content: "+"; }
.security-bubble[open] .security-bubble-cta-icon::before { content: "−"; }

/* 子の丸（SEC 01-03） */
.security-bubble-children {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
    max-width: 920px;
    margin: clamp(8px, 1.4vw, 18px) auto 0;
    padding: 0 clamp(0px, 1vw, 12px);
}

.security-bubble-child {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7ff 100%);
    border-radius: 50%;
    padding: clamp(18px, 3vw, 30px);
    box-shadow:
        0 16px 40px rgba(11, 16, 32, 0.10),
        0 2px 8px rgba(11, 16, 32, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    isolation: isolate;
}

.security-bubble-child::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: var(--gradient);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* 開く側：3つに分裂して降りてくる */
.security-bubble[open] .security-bubble-child {
    animation: bubble-split 800ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.security-bubble[open] .security-bubble-child:nth-child(1) {
    --start-x: 70%;
    animation-delay: 100ms;
}
.security-bubble[open] .security-bubble-child:nth-child(2) {
    --start-x: 0;
    animation-delay: 200ms;
}
.security-bubble[open] .security-bubble-child:nth-child(3) {
    --start-x: -70%;
    animation-delay: 300ms;
}

/* 閉じる側（.closing クラス時）：逆方向にメイン丸へ吸い込まれる */
.security-bubble.closing .security-bubble-child {
    animation: bubble-merge 520ms cubic-bezier(0.55, 0, 0.6, 0.2) forwards;
}

.security-bubble.closing .security-bubble-child:nth-child(3) {
    --start-x: -70%;
    animation-delay: 0ms;
}
.security-bubble.closing .security-bubble-child:nth-child(2) {
    --start-x: 0;
    animation-delay: 80ms;
}
.security-bubble.closing .security-bubble-child:nth-child(1) {
    --start-x: 70%;
    animation-delay: 160ms;
}

@keyframes bubble-split {
    0% {
        opacity: 0;
        transform: translate(var(--start-x), -240px) scale(0.18);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes bubble-merge {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--start-x), -240px) scale(0.18);
    }
}

.security-bubble-child-num {
    font-family: 'Inter', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-weight: 800;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    color: #fff;
    background: var(--gradient);
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

.security-bubble-child-title {
    font-size: clamp(0.86rem, 1.4vw, 0.98rem);
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.005em;
    line-height: 1.4;
}

.security-bubble-child-text {
    color: var(--text-muted);
    font-size: clamp(0.7rem, 1.1vw, 0.78rem);
    line-height: 1.7;
    margin: 0;
    max-width: 90%;
}

@media (max-width: 880px) {
    .security-bubble-children {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    .security-bubble-child {
        max-width: 320px;
        margin: 0 auto;
    }
    .security-bubble[open] .security-bubble-child:nth-child(1) { --start-x: 0; }
    .security-bubble[open] .security-bubble-child:nth-child(3) { --start-x: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .security-bubble[open] .security-bubble-child {
        animation: none;
    }
    .security-bubble-main,
    .security-bubble-cta {
        transition: none;
    }
}

/* Wikipedia リンク（控えめな点線アンダーライン） */
.security-bubble-text a,
.security-bubble-child-text a {
    color: inherit;
    text-decoration: underline dotted;
    text-decoration-color: rgba(59, 130, 246, 0.55);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 180ms var(--ease-out),
                text-decoration-color 180ms var(--ease-out);
}

.security-bubble-text a:hover,
.security-bubble-child-text a:hover {
    color: var(--primary, #2563eb);
    text-decoration-color: var(--primary, #2563eb);
}

/* ─────────────────────────────────────────
   Pillars：硬派バリアント（pro）
   ───────────────────────────────────────── */
.security-pillars--pro {
    margin-top: 32px;
    gap: 18px;
}

.security-pillars--pro .security-pillar {
    position: relative;
    text-align: left;
    padding: 28px 24px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(11, 16, 32, 0.04);
    transition: transform var(--duration) var(--ease-out),
                border-color var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out);
}

.security-pillars--pro .security-pillar:hover {
    transform: translateY(-2px);
    border-color: #c7cde0;
    box-shadow: 0 12px 28px rgba(11, 16, 32, 0.08);
}

/* tech-spec バッジ（カード右上） */
.security-pillar-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    background: #f4f6fb;
    color: #3a4156;
    font-family: 'Inter', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

/* 線画アイコン用に既存スタイルを上書き */
.security-pillars--pro .security-pillar-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b1020;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: none;
}

.security-pillars--pro .security-pillar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    letter-spacing: -0.005em;
}

.security-pillars--pro .security-pillar-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}

.security-pillars--pro .security-pillar-text strong {
    color: var(--text);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .security-pillars--pro.security-pillars--four {
        grid-template-columns: repeat(2, 1fr);
        max-width: 820px;
    }
}

@media (max-width: 640px) {
    .security-pillars--pro.security-pillars--four {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .security-pillar-tag { font-size: 0.62rem; }
}

/* ─────────────────────────────────────────
   不動産業務向けの安心メッセージ
   ───────────────────────────────────────── */
.security-realestate {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 980px;
    margin: 32px auto 0;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid #2563eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(11, 16, 32, 0.03);
}

.security-realestate-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef3ff;
    color: #2563eb;
    border-radius: 10px;
}

.security-realestate-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
    margin: 0;
}

.security-realestate-text strong {
    color: var(--text);
    font-weight: 700;
}

/* code 要素：詳細セクション内の技術キーワード用 */
.security-detail-body code {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 0.85em;
    background: #f4f6fb;
    color: #2563eb;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.security-detail-body a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .security-realestate {
        padding: 18px 18px;
        gap: 12px;
    }
    .security-br-pc { display: none; }
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 56px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.security-card {
    padding: 28px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out),
                border-color var(--duration) var(--ease-out);
}

.security-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11, 16, 32, 0.06);
    border-color: var(--border-strong);
}

.security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.security-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.security-card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.security-card-text strong {
    color: var(--text);
    font-weight: 700;
}

.security-note {
    margin-top: 36px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

/* ========================================
   Security: 主要 3 ピラー（Rule of Three）
   ======================================== */
.security-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 56px auto 0;
}

.security-pillars--four {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1180px;
    gap: 16px;
}

/* ========================================
   Trust bar：ヒーロー直後の独立セクション
   ======================================== */
.trust-bar {
    padding: 28px 0 8px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 24px;
    max-width: 980px;
    margin: 0 auto;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(231, 233, 242, 0.9);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(11, 16, 32, 0.04);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.trust-badge svg {
    color: #8b5cf6;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .trust-badges {
        border-radius: 16px;
        padding: 12px 16px;
        gap: 10px 16px;
    }
    .trust-badge {
        font-size: 0.78rem;
    }
}

@media (max-width: 1024px) {
    .security-pillars--four {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
}

.security-pillar {
    background: #fff;
    border: 1px solid rgba(231, 233, 242, 0.9);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(11, 16, 32, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.security-pillar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(11, 16, 32, 0.08);
}

.security-pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.security-pillar-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.security-pillar-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

/* ========================================
   Security: 数値訴求バー（権威バイアス）
   ======================================== */
.security-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 980px;
    margin: 48px auto 0;
    padding: 28px 0;
    border-top: 1px solid rgba(231, 233, 242, 0.9);
    border-bottom: 1px solid rgba(231, 233, 242, 0.9);
}

.security-stat {
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid rgba(231, 233, 242, 0.9);
}

.security-stat:last-child {
    border-right: none;
}

.security-stat-value {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.security-stat-label {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ========================================
   Security: 詳細アコーディオン（Progressive Disclosure）
   ======================================== */
.security-details {
    margin: 64px auto 0;
    max-width: 820px;
}

.security-details-title {
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 16px;
    letter-spacing: 0.04em;
}

.security-detail {
    background: #fff;
    border: 1px solid rgba(231, 233, 242, 0.9);
    border-radius: 14px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.security-detail[open] {
    box-shadow: 0 4px 16px rgba(11, 16, 32, 0.06);
}

.security-detail summary {
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text);
    font-size: 0.98rem;
    user-select: none;
}

.security-detail summary::-webkit-details-marker { display: none; }
.security-detail summary::marker { content: ""; }

.security-detail-text {
    flex: 1;
}

.security-detail-arrow {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    transition: transform 0.2s;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
}

.security-detail[open] .security-detail-arrow {
    transform: rotate(45deg);
}

.security-detail-body {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.8;
}

.security-detail-body p {
    margin: 0 0 10px;
}

.security-detail-body p:last-child {
    margin-bottom: 0;
}

.security-detail-body ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.security-detail-body li {
    margin-bottom: 6px;
}

.security-detail-body strong {
    color: var(--text);
    font-weight: 700;
}

@media (max-width: 768px) {
    .security-pillars {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .security-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }
    .security-stat {
        border-right: none;
    }
    .security-stat:nth-child(odd) {
        border-right: 1px solid rgba(231, 233, 242, 0.9);
    }
}

@media (max-width: 640px) {
    .security {
        padding: 72px 0 64px;
    }
    .security-grid {
        margin-top: 40px;
    }
    .security-card {
        padding: 24px 20px;
    }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    padding: 56px 0 32px;
    background: var(--dark-soft);
    color: rgba(255, 255, 255, 0.72);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 2px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover { color: #fff; }

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
    .hook-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 56px;
    }

    .feature-row--reverse .feature-text { order: 0; }
    .feature-row--reverse .feature-visual { order: 0; }

    .converge-arrows {
        gap: 80px;
    }

    .about-part-head {
        gap: 14px;
    }

    .accordion-head {
        gap: 14px;
        padding: 22px 20px;
    }

    .accordion-head-main {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .accordion-num {
        grid-row: auto;
        justify-self: start;
    }

    .accordion-body {
        padding: 8px 20px 28px;
    }

    .free-display {
        gap: 14px;
    }
}

@media (max-width: 720px) {
    .header { padding: 10px 0; }

    .header-inner {
        padding: 8px 8px 8px 12px;
        gap: 8px;
    }

    .nav { display: none; }

    .hero { padding: calc(var(--header-h) + 32px) 0 40px; }
    .video-section { padding: 40px 0 64px; }

    .about,
    .solution,
    .features {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .free-card {
        margin-top: 56px;
        padding: 48px 24px;
    }

    .about-header { margin-bottom: 48px; }

    .converge-pills { gap: 10px; }
    .converge-pill { padding: 10px 16px; font-size: 0.88rem; }

    .converge-arrows { gap: 40px; height: 40px; }

    .feature-visual {
        aspect-ratio: 4 / 3.2;
        padding: 20px;
    }

    .about-connector {
        gap: 12px;
        margin: 40px auto;
    }

    .about-connector-badge {
        padding: 12px 18px;
        font-size: 0.95rem;
        gap: 8px;
        white-space: normal;
        text-align: center;
    }

    .about-connector-badge .hook-closing-mark {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .free-benefits { gap: 8px; }

    .free-benefit {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 440px) {
    .converge-arrows { gap: 20px; }
    .converge-hub { padding: 24px 20px; min-width: 0; width: 100%; }

    .free-display {
        flex-direction: column;
        gap: 12px;
    }

    .free-display-row {
        padding: 10px 20px;
    }
}

/* =========================================================
   Security: Hub Diagram（不動産業者向け再設計版）
   - 中央のハブから3方向（上・左下・右下）に線が伸びる放射型
   - SVGで線、HTMLでカードを配置。アスペクト比固定で位置を揃える
   ========================================================= */
.sec-diagram {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 56px auto 40px;
    aspect-ratio: 900 / 600;
}

.sec-diagram-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 中央ハブ */
.sec-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22%;
    min-width: 184px;
    max-width: 220px;
    aspect-ratio: 200 / 130;
    z-index: 2;
    background: linear-gradient(160deg, #0b1020 0%, #1a2240 100%);
    color: #ffffff;
    border-radius: 18px;
    box-shadow:
        0 24px 60px rgba(11, 16, 32, 0.18),
        0 4px 12px rgba(11, 16, 32, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 14px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.sec-hub-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(closest-side, rgba(59, 130, 246, 0.35), transparent 70%);
    filter: blur(24px);
    z-index: -1;
}

.sec-hub-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.sec-hub-label-sub {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.sec-hub-label-main {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.35;
    margin-top: 2px;
}

/* ポイントカード共通 */
.sec-point {
    position: absolute;
    z-index: 2;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px 18px;
    box-shadow:
        0 1px 2px rgba(11, 16, 32, 0.04),
        0 8px 24px rgba(11, 16, 32, 0.05);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out),
                border-color var(--duration) var(--ease-out);
}

.sec-point:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(11, 16, 32, 0.04),
        0 14px 32px rgba(11, 16, 32, 0.10);
    border-color: #c7cde0;
}

.sec-point-num {
    position: absolute;
    top: -10px;
    left: 18px;
    background: #0b1020;
    color: #ffffff;
    font-family: 'Inter', ui-monospace, monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 999px;
}

.sec-point-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef3ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.sec-point-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.005em;
    line-height: 1.5;
}

.sec-point-text {
    font-size: 0.86rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0;
}

.sec-point-text strong {
    color: var(--text);
    font-weight: 700;
}

/* 上 */
.sec-point--top {
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    width: 42%;
    min-width: 320px;
    max-width: 380px;
}

/* 左下 */
.sec-point--bl {
    bottom: 2%;
    left: 0;
    width: 32%;
    min-width: 260px;
    max-width: 320px;
}

/* 右下 */
.sec-point--br {
    bottom: 2%;
    right: 0;
    width: 32%;
    min-width: 260px;
    max-width: 320px;
}

/* hover 時、対応する番号カラーを変える */
.sec-point:hover .sec-point-num {
    background: #2563eb;
}

/* ─────────────────────────────────────────
   モバイル：縦積みに切替
   ───────────────────────────────────────── */
@media (max-width: 860px) {
    .sec-diagram {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        max-width: 480px;
        padding: 0 8px;
    }

    .sec-diagram-svg { display: none; }

    .sec-hub,
    .sec-point {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
    }

    .sec-hub {
        aspect-ratio: auto;
        padding: 22px 16px;
        order: 0;
        min-width: 0;
    }

    .sec-point--top { order: 1; }
    .sec-point--bl  { order: 2; }
    .sec-point--br  { order: 3; }

    /* モバイル用の縦コネクタ */
    .sec-point::before {
        content: "";
        display: block;
        width: 2px;
        height: 18px;
        margin: -27px auto 12px;
        background: linear-gradient(180deg, rgba(11,16,32,0.3), rgba(11,16,32,0.1));
    }
}

/* ─────────────────────────────────────────
   詳細ドロップダウン（中身は実装詳細カード）
   ───────────────────────────────────────── */
.sec-deepdive {
    max-width: 920px;
    margin: 36px auto 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s var(--ease-out);
}

.sec-deepdive[open] {
    box-shadow: 0 12px 32px rgba(11, 16, 32, 0.06);
}

.sec-deepdive-summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    color: var(--text);
}

.sec-deepdive-summary::-webkit-details-marker { display: none; }

.sec-deepdive-summary-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.sec-deepdive-summary-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f4f6fb;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s var(--ease-out), background 0.2s;
}

.sec-deepdive[open] .sec-deepdive-summary-arrow {
    transform: rotate(180deg);
    background: #eef3ff;
}

.sec-deepdive-body {
    padding: 8px 22px 28px;
    border-top: 1px solid var(--border);
}

.sec-deepdive-lead {
    margin: 16px 0 22px;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
}

.sec-deepdive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

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

.sec-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 18px 16px;
    transition: border-color 0.2s var(--ease-out);
}

.sec-card:hover {
    border-color: #c7cde0;
}

.sec-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #f4f6fb;
    color: #0b1020;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.sec-card-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.005em;
    line-height: 1.5;
}

.sec-card-text {
    font-size: 0.84rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.sec-card-text strong {
    color: var(--text);
    font-weight: 700;
}

.sec-card-tech {
    margin: 0;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 0.7rem;
    color: #5b6478;
    letter-spacing: 0.01em;
    line-height: 1.55;
}

.sec-deepdive-foot {
    margin: 22px 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.7;
}

/* =========================================================
   Security: Triangle 3-circle layout（不動産業者向け最終版）
   ブランドカラー（blue → violet）と統一
   ========================================================= */

/* タイトル強調をブランドグラデに変更（既存の dark→blue を上書き） */
.security-title-em {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sec-tri {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 64px auto 48px;
    aspect-ratio: 900 / 600;
}

.sec-tri-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 円カード共通 */
.sec-circle {
    position: absolute;
    width: 28%;
    aspect-ratio: 1;
    z-index: 2;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow:
        0 24px 48px rgba(59, 130, 246, 0.18),
        0 6px 16px rgba(139, 92, 246, 0.12);
    transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out);
}

.sec-circle:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 32px 64px rgba(59, 130, 246, 0.22),
        0 10px 24px rgba(139, 92, 246, 0.14);
}

.sec-circle-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 円形の内側に内容が収まるよう、左右に余白を取る */
    padding: 16% 14%;
    overflow: hidden;
}

.sec-circle-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14) 0%, rgba(139, 92, 246, 0.14) 100%);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.sec-circle-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    white-space: nowrap;
}

.sec-circle-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 100%;
}

/* 番号バッジ：円の上端に重ねる */
.sec-circle-num {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #ffffff;
    font-family: 'Inter', ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 11px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

/* 配置：上 / 左下 / 右下 */
.sec-circle--top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sec-circle--top:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.02);
}

.sec-circle--bl {
    bottom: 0;
    left: 0;
}

.sec-circle--br {
    bottom: 0;
    right: 0;
}

/* 中・小サイズで文字が大きすぎないよう調整 */
@media (max-width: 1080px) {
    .sec-circle-title { font-size: 1.25rem; }
    .sec-circle-tag { font-size: 0.74rem; }
    .sec-circle-icon { width: 48px; height: 48px; }
}

@media (max-width: 860px) {
    .sec-circle-title { font-size: 1.1rem; }
    .sec-circle-tag { font-size: 0.7rem; }
    .sec-circle-icon { width: 42px; height: 42px; margin-bottom: 8px; }
}

/* ─────────────────────────────────────────
   モバイル：縦スタック
   ───────────────────────────────────────── */
@media (max-width: 720px) {
    .sec-tri {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        max-width: 360px;
        padding: 0;
        margin: 48px auto 32px;
    }

    .sec-tri-svg { display: none; }

    .sec-circle {
        position: static;
        transform: none;
        width: 80%;
        max-width: 280px;
    }

    .sec-circle--top:hover,
    .sec-circle:hover {
        transform: translateY(-3px) scale(1.02);
    }

    /* 円と円の間に縦のグラデーション線 */
    .sec-circle:not(:first-child)::before {
        content: "";
        position: absolute;
        top: -22px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 14px;
        background: linear-gradient(180deg, #3b82f6, #8b5cf6);
        border-radius: 1px;
    }

    .sec-circle-title { font-size: 1.4rem; }
    .sec-circle-tag { font-size: 0.82rem; }
    .sec-circle-icon { width: 50px; height: 50px; margin-bottom: 12px; }
}

/* ─────────────────────────────────────────
   詳細ドロップダウン：色をブランドに揃える
   ───────────────────────────────────────── */
.sec-deepdive-summary-arrow {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    color: #2563eb;
}

.sec-deepdive[open] .sec-deepdive-summary-arrow {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.20) 0%, rgba(139, 92, 246, 0.20) 100%);
}

.sec-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.10) 0%, rgba(139, 92, 246, 0.10) 100%);
    color: #2563eb;
}

.sec-card-tech {
    color: #6b7396;
}
