@charset "UTF-8";

/* =======================================
   CSS Variables (カラー・基本設定)
   ======================================= */
:root {
    --c-bg-dark: #0b0f19;
    --c-pink: #ff2a85;
    --c-cyan: #00e5ff;
    --c-yellow: #ffb700;
    --c-white: #ffffff;
    --c-text-main: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

/* =======================================
   Reset & Base
   ======================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--c-bg-dark);
    color: var(--c-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
img { max-width: 100%; height: auto; }

/* 共通タイトル */
.section-title {
    text-align: center;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 900;
    margin-bottom: 50px;
    line-height: 1.4;
    color: var(--c-white);
}
.section-title span { color: var(--c-pink); }

/* =======================================
   背景ネオンオーラ
   ======================================= */
.bg-aura {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.aura-1 {
    top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, var(--c-pink), transparent);
    animation: drift 20s infinite alternate;
}
.aura-2 {
    bottom: -10%; right: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--c-cyan), transparent);
    animation: drift 25s infinite alternate-reverse;
}
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.2); }
}

/* =======================================
   Buttons
   ======================================= */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 18px; width: 100%; max-width: 400px; }
.btn-neon {
    background: transparent;
    color: var(--c-white);
    border: 1px solid var(--c-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.btn-neon:hover { background: var(--c-cyan); color: var(--c-bg-dark); }
.btn-primary {
    background: linear-gradient(135deg, #00c853, #00e676);
    color: var(--c-white);
    border: none;
}
.shadow-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.5);
}

/* =======================================
   Glassmorphism (すりガラス風カード)
   ======================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* =======================================
   Header
   ======================================= */
.header {
    position: fixed; top: 0; width: 100%;
    z-index: 1000; transition: 0.3s;
    padding: 15px 0;
}
.header.is-scrolled {
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}

/* =======================================
   Hero Section
   ======================================= */
.hero { padding: 120px 0 80px; min-height: 100vh; display: flex; align-items: center; }
.hero-container {
    display: flex; align-items: center; gap: 40px;
}
.hero-content { flex: 1; }
.hero-image { flex: 1; }
.badge {
    display: inline-block;
    padding: 6px 16px; border-radius: 30px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    font-size: 14px; margin-bottom: 20px; color: var(--c-cyan);
}
.hero-title {
    font-size: clamp(32px, 5vw, 56px); font-weight: 900;
    line-height: 1.3; margin-bottom: 20px; color: var(--c-white);
}
.text-gradient {
    background: linear-gradient(135deg, var(--c-pink), var(--c-cyan), var(--c-yellow));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 16px; margin-bottom: 40px; color: #94a3b8; }

/* =======================================
   Sections (共通レイアウト)
   ======================================= */
section { padding: 100px 0; }
.card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}

/* Pain & Features */
.pain-card, .feature-card { text-align: center; }
.pain-card p { font-weight: bold; color: var(--c-white); }
.feature-num {
    font-family: var(--font-en); font-size: 48px; font-weight: 900;
    color: rgba(255,255,255,0.05); position: absolute; top: 10px; left: 20px;
}
.feature-card h3 { color: var(--c-white); font-size: 20px; margin-bottom: 15px; }
.feature-card p { font-size: 14px; color: #94a3b8; text-align: left; }

/* Comparison Table */
.table-wrapper { overflow-x: auto; }
.glass-table {
    width: 100%; min-width: 600px; border-collapse: collapse;
    background: var(--glass-bg); backdrop-filter: blur(10px);
    border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border);
}
.glass-table th, .glass-table td { padding: 20px; text-align: center; border-bottom: 1px solid var(--glass-border); }
.glass-table th { font-weight: bold; font-size: 18px; color: var(--c-white); }
.col-hiyoko { background: rgba(0, 229, 255, 0.1); color: var(--c-cyan) !important; }
.row-title { font-weight: bold; text-align: left !important; color: var(--c-white); }
.glass-table td.highlight {
    background: rgba(0, 229, 255, 0.05); color: var(--c-cyan); font-weight: bold; font-size: 18px;
}
.glass-table td span { font-size: 12px; font-weight: normal; color: #94a3b8; }

/* Steps */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-item {
    display: flex; align-items: center; gap: 40px; margin-bottom: 40px;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-img, .timeline-content { flex: 1; }
.step-badge { color: var(--c-pink); font-family: var(--font-en); font-weight: bold; margin-bottom: 10px; display: block;}
.timeline-content h3 { color: var(--c-white); margin-bottom: 10px; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; padding: 0; cursor: pointer; }
.faq-q { padding: 20px; font-weight: bold; color: var(--c-white); display: flex; justify-content: space-between; align-items: center; }
.icon-plus { color: var(--c-pink); font-size: 24px; transition: transform 0.3s; }
.faq-a { height: 0; overflow: hidden; transition: height 0.3s ease; }
.faq-a-inner { padding: 0 20px 20px; color: #94a3b8; font-size: 14px; }
.faq-item.is-open .icon-plus { transform: rotate(45deg); }

/* Footer CTA */
.footer-cta { text-align: center; padding: 120px 0; background: radial-gradient(circle at center, rgba(255,42,133,0.1), transparent 70%); }
.cta-title { font-size: clamp(28px, 6vw, 40px); font-weight: 900; color: var(--c-white); margin-bottom: 20px; }
.footer-cta p { margin-bottom: 40px; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 200, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}
.pulse { animation: pulse 2s infinite; }

/* 追従ボタンへ誘導する矢印 */
.scroll-down-arrow {
    display: none; /* PCでは表示しない */
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Footer */
.footer { text-align: center; padding: 30px; font-size: 12px; color: #64748b; border-top: 1px solid var(--glass-border); }

/* スマホ用 追従ボタン */
.floating-cta {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px; z-index: 1000;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.floating-cta.is-visible { opacity: 1; pointer-events: auto; }
.btn-floating {
    display: block; background: linear-gradient(135deg, #00c853, #00e676);
    color: #fff; padding: 16px; border-radius: 50px; font-weight: bold;
    text-align: center; text-decoration: none; box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* =======================================
   JS Animations (スクロール時の初期状態)
   ======================================= */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-up.is-active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.fade-in-delay { opacity: 0; transition: opacity 1s ease 0.5s; }
.fade-in-delay.is-active { opacity: 1; }

/* PC表示（デフォルト） */
.sp-only-text {
    display: none; /* PCではスマホ用テキストを隠す */
}

/* =======================================
   Responsive (スマホ向け調整 / LPO標準適用)
   ======================================= */
@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-image { width: 100%; margin-top: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; text-align: center; gap: 20px; }
    .glass-table th, .glass-table td { padding: 12px 8px; font-size: 14px; }
    .glass-table td.highlight { font-size: 16px; }

    /* 最下部セクション内の静的ボタンを隠し、追従ボタンとの重複・不格好さを解消 */
    .pc-only-btn { display: none !important; }
    
    /* スマホ用の案内テキストを表示 */
    .sp-only-text {
        display: block;
        color: var(--c-cyan);
        font-weight: bold;
        margin-top: 20px;
        font-size: 14px;
    }
    
    /* ★追加：スマホの時だけ「追従ボタンへ誘導する矢印」を表示する */
    .scroll-down-arrow {
        display: block;
        margin-top: 30px;
        font-size: 24px;
        color: var(--c-cyan);
        animation: bounce 2s infinite;
    }

   /* 最下部セクションの下余白を確保し、追従ボタンと文字が被らないようにする */
    .footer-cta { padding-bottom: 120px; }
}

/* PC画面ではスマホ用追従ボタンを完全に消す */
@media (min-width: 769px) {
    .floating-cta {
        display: none !important;
    }
}