/* ランディングページ専用スタイル 2026-02-11 space */

/* body リセット (common.css の padding: 20px を上書き) */
body.landing-page {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* fade-up アニメーション (init.css を読み込まないため再定義) */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fade-up 0.5s ease-out both;
}

@keyframes lp-fade-in-menu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   共通レイアウト
   ======================================== */
.lp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.lp-section {
    padding: 80px 20px;
}

.lp-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #444;
    text-align: center;
    margin: 0 0 50px;
}

/* テーマカラー下線 */
.lp-section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--color-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ========================================
   ボタン拡張 (common.css .btn の上乗せ)
   ======================================== */
.btn-large {
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ========================================
   固定ヘッダー
   ======================================== */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: block;
}

.lp-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.lp-nav .title img {
    height: 40px;
}

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

.lp-nav-link {
    color: var(--color-text-main);
    font-size: 1.05rem;
    padding: 10px 18px;
    border-radius: 5px;
    transition: background-color var(--transition-speed);
}

.lp-nav-link:hover {
    opacity: 1;
    text-decoration: none;
    background-color: var(--color-bg-hover);
}

.lp-nav-btn {
    font-size: 1.05rem;
}

/* ハンバーガー (デスクトップでは非表示) */
.lp-hamburger-btn {
    display: none;
}

.lp-hamburger-dropdown {
    display: none;
}

/* ========================================
   ヒーロー
   ======================================== */
.lp-hero {
    position: relative;
    padding: 80px 20px 60px;
    background: url('../img/TaskChart+_main.jpg') center / cover no-repeat;
    box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 暗転オーバーレイ (文字の可読性確保) */
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.lp-hero-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.lp-hero-catch {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 20px;
}

/* テーマカラーアクセント */
.accent {
    color: var(--color-primary);
    font-weight: 700;
}

.lp-hero-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
}

.lp-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transform: perspective(800px) rotateY(-2deg);
}

/* ========================================
   特徴 (4カード)
   ======================================== */
.lp-features {
    background-color: var(--color-bg-white);
}

.lp-features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.lp-feature-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.lp-feature-icon {
    margin-bottom: 16px;
}

.lp-feature-icon svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
}

.lp-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 10px;
    padding: 0;
    border: none;
}

.lp-feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   使い方 (3ステップ)
   ======================================== */
.lp-howto {
    background-color: #f4f7f6;
}

.lp-howto-steps {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.lp-step {
    flex: 1;
    text-align: center;
    max-width: 300px;
}

.lp-step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.lp-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 8px;
    padding: 0;
    border: none;
}

.lp-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ステップ間の矢印 */
.lp-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 12px;
    color: #bbb;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ========================================
   CTA
   ======================================== */
.lp-cta {
    background-color: #f4f7f6;
    text-align: center;
}

.lp-cta h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 24px;
}

.lp-cta p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 30px;
}

/* ========================================
   料金テーブル
   ======================================== */
.lp-pricing-table {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 1rem;
}

.lp-pricing-table th,
.lp-pricing-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    text-align: center;
}

.lp-pricing-table thead th {
    font-weight: 700;
    color: var(--color-text-main);
    border-bottom: 2px solid var(--color-primary);
}

.lp-pricing-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--color-text-main);
}

.lp-pricing-table tbody td {
    color: #555;
}

.lp-pricing-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #888;
}

/* ========================================
   フッター
   ======================================== */
.lp-footer {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border-light);
    padding: 40px 20px;
    text-align: center;
}

.lp-footer-content {
    margin: 0 0 20px;
    font-size: 0.85rem;
    color: #888;
}

.lp-footer-links {
    display: inline-flex;
    gap: 16px;
}

.lp-footer-link {
    color: #888;
    font-size: 0.9rem;
}

/* ========================================
   レスポンシブ (モバイル)
   ======================================== */
@media (max-width: 768px) {
    .lp-section {
        padding: 50px 16px;
    }

    .lp-section-title {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }

    /* ナビゲーション */
    .lp-nav-inner {
        padding: 0;
        height: 52px;
    }

    .lp-nav-actions {
        display: none;
    }

    /* ハンバーガー表示 */
    .lp-hamburger-btn#hamburgerBtn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--color-text-main);
        cursor: pointer;
        padding: 8px 12px;
    }

    .lp-hamburger-dropdown {
        position: absolute;
        right: 16px;
        top: 100%;
        background-color: var(--color-bg-white);
        border: 1px solid var(--color-border-light);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 160px;
        z-index: 1001;
        animation: lp-fade-in-menu 0.15s ease-out;
    }

    .lp-hamburger-dropdown.show {
        display: block;
    }

    .lp-hamburger-item {
        display: block;
        padding: 12px 20px;
        color: var(--color-text-main);
        font-size: 0.95rem;
        border-bottom: 1px solid var(--color-border-light);
        transition: background-color var(--transition-speed);
    }

    .lp-hamburger-item:last-child {
        border-bottom: none;
    }

    .lp-hamburger-item:hover {
        background-color: var(--color-bg-hover);
        text-decoration: none;
        opacity: 1;
    }

    /* ヒーロー */
    .lp-hero {
        padding: 50px 16px 40px;
    }

    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lp-hero-image {
        order: -1;
    }

    .lp-hero-catch {
        font-size: 1.15rem;
    }

    .lp-hero-text p {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 12px 28px;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* 特徴 */
    .lp-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    /* 使い方 */
    .lp-howto-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .lp-step {
        max-width: 100%;
    }

    .lp-step-arrow {
        display: none;
    }

    /* CTA */
    .lp-cta h2 {
        font-size: 1.3rem;
    }

    /* 料金テーブル */
    .lp-pricing-table-wrapper {
        overflow-x: auto;
    }

    .lp-pricing-table {
        min-width: 500px;
    }

    /* フッターリンク折り返し */
    .lp-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

}
