/* style_lp.css - 公式サイト用スタイル */

:root {
    --primary: #2563eb;
    --primary-dark: #1e3a8a;
    --text-main: #1e293b;
    --text-sub: #64748b;
    --bg-gray: #f8fafc;
    --white: #ffffff;
    --accent: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.lp-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ周りのスタイル修正 */
.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    
    /* ★以下を追加：画像と文字を横並びにして中央揃え */
    display: flex;
    align-items: center;
    gap: 10px; /* 画像と文字の間隔 */
}

/* ★追加：ロゴ画像のサイズ調整 */
.logo img {
    height: 40px; /* ヘッダーに収まるサイズ */
    width: auto;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-sub);
    margin-left: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.nav-menu .btn-login {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}
.nav-menu .btn-login:hover { background: var(--primary-dark); }

/* ヒーロー */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.1s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-lg { font-size: 1.1rem; padding: 15px 40px; }

.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3); }
.btn-outline { background: white; color: var(--primary); border: 2px solid var(--primary); }
.btn-dark { background: var(--text-main); color: white; }

.small-note { font-size: 0.8rem; color: #94a3b8; }

/* セクション共通 */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
}
.bg-gray { background: var(--bg-gray); }

/* 機能グリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.feature-card .icon { font-size: 3rem; margin-bottom: 15px; }
.feature-card h3 { margin-bottom: 10px; color: var(--primary-dark); }

/* チーム機能（左右レイアウト） */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}
.text-side { flex: 1; }
.image-side { flex: 1; }

.badge {
    background: #e0e7ff; color: var(--primary);
    padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold;
}
.check-list { list-style: none; padding: 0; margin-top: 20px; }
.check-list li { margin-bottom: 10px; font-weight: bold; color: var(--text-main); }

.mockup-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.graph-mock { font-size: 4rem; margin-top: 10px; }

/* 料金表 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: flex-start;
}
.price-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
}
.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
    z-index: 10;
}
.ribbon {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: white; padding: 5px 15px;
    border-radius: 20px; font-size: 0.8rem; font-weight: bold;
}
.price { font-size: 2.5rem; font-weight: bold; color: var(--text-main); margin: 15px 0; }
.period { font-size: 1rem; color: var(--text-sub); font-weight: normal; }
.features-list { list-style: none; padding: 0; margin: 20px 0 30px; text-align: left; }
.features-list li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 0.9rem; }
.features-list li.disabled { color: #cbd5e1; text-decoration: line-through; }
.enterprise-link { text-align: center; margin-top: 30px; font-size: 0.9rem; color: var(--text-sub); }
.badge-business { background: #334155; color: white; padding: 3px 8px; border-radius: 4px; font-size: 0.8em; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { background: white; padding: 20px; margin-bottom: 15px; border-radius: 8px; }
.faq-item h4 { margin: 0 0 10px; color: var(--primary-dark); }
.faq-item p { margin: 0; font-size: 0.9rem; }

/* フッター */
.lp-footer {
    background: var(--text-main); color: white; padding: 40px 0;
    text-align: center;
}
.footer-logo { font-size: 1.5rem; font-weight: bold; margin-bottom: 15px; }
.footer-links a {
    color: #cbd5e1; text-decoration: none; margin: 0 10px; font-size: 0.9rem;
}
.copyright { margin-top: 20px; color: #64748b; font-size: 0.8rem; }

/* モバイル対応 */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .split-layout { flex-direction: column; }
    .nav-menu { display: none; } /* 簡易的に非表示（必要ならハンバーガーメニュー追加） */
    .price-card.popular { transform: scale(1); }
}

/* インストールガイド */
.center-text {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-sub);
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.install-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.install-card h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--primary-dark);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-num {
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.step p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* --- 画像付きインストールガイド用の追加スタイル --- */

/* 背景色を交互に変えて見やすく */
.install-guide.bg-gray {
    background-color: #f1f5f9; /* 薄いグレー */
}
/* カード自体は白に戻す */
.install-guide .install-card {
    background: white;
}

/* 画像表示用の新しいスタイル */
.step-visual-list {
    display: flex;
    flex-direction: column;
    gap: 40px; /* ステップ間の余白を広めに */
    align-items: center;
}

.step-visual {
    text-align: center;
    width: 100%;
    max-width: 280px; /* スマホ画面のスクショに適した幅 */
}

.step-num-large {
    display: inline-block;
    background: var(--primary);
    color: white;
    width: 32px; height: 32px; line-height: 32px;
    border-radius: 50%; font-weight: bold; font-size: 1rem;
    margin-bottom: 10px;
}

.step-img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* 角丸 */
    border: 4px solid #e2e8f0; /* スマホ枠っぽい縁取り */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1); /* 影をつけて浮かせる */
    margin-bottom: 15px;
}

.step-caption {
    font-weight: bold;
    color: var(--text-main);
    line-height: 1.4;
}

/* PCで見るときは横並びにして見やすくする */
@media (min-width: 769px) {
    .step-visual-list {
        flex-direction: row; /* 横並び */
        align-items: flex-start;
        justify-content: space-around;
    }
    .install-card {
        max-width: none; /* カード幅の制限を解除 */
    }
}