/**
 * モバイルランディングページ専用スタイルシート
 * サービス紹介ページのデザイン定義
 */

/* =========================== */
/* 基本設定 */
/* =========================== */

.mobile-landing-container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Noto Sans JP', 'Segoe UI', sans-serif;
    color: #2c3e50;
    overflow-x: hidden;
}

/* アプリコンテンツの非表示 */
.mobile-landing .container {
    display: none !important;
}

/* 不要なモーダルとバナーを非表示 */
.mobile-landing #cookieBanner,
.mobile-landing .cookie-banner,
.mobile-landing #securityOnboardingOverlay,
.mobile-landing #welcomeOverlay,
.mobile-landing #feedbackModal,
.mobile-landing #settingsModal,
.mobile-landing #supporterModal,
.mobile-landing .modal,
.mobile-landing .announcement-banner,
.mobile-landing .demo-banner,
.mobile-landing #affiliateRecommendations {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

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

.landing-header {
    padding: 30px 20px;
    text-align: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.landing-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.landing-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.landing-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    letter-spacing: 0.5px;
}

.landing-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* =========================== */
/* ヒーローセクション */
/* =========================== */

.landing-hero {
    padding: 40px 20px;
    background: white;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.landing-hero-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 15px 0;
}

.landing-hero-description {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* =========================== */
/* 機能紹介 */
/* =========================== */

.landing-features {
    padding: 0 20px 30px;
}

.features-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    text-align: center;
    margin: 0 0 20px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.feature-card {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:active {
    transform: scale(0.98);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 8px 0;
}

.feature-card p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* =========================== */
/* PC利用推奨セクション */
/* =========================== */

.landing-pc-recommendation {
    padding: 0 20px 30px;
}

.pc-rec-card {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
}

.pc-rec-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 15px 0;
}

.pc-rec-reason {
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.pc-rec-reason strong {
    color: #92400e;
    font-weight: 600;
}

.pc-rec-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.benefit-item {
    font-size: 13px;
    color: #92400e;
    padding-left: 5px;
}

/* =========================== */
/* アクションボタン */
/* =========================== */

.landing-actions {
    padding: 0 20px 40px;
    text-align: center;
}

.btn-primary-landing {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-landing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn-primary-landing:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.action-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 15px;
    line-height: 1.5;
}

/* =========================== */
/* 情報セクション */
/* =========================== */

.landing-info {
    padding: 30px 20px;
    background: white;
    margin: 0 20px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 8px 0;
}

.info-item p {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

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

.landing-footer {
    background: #1e3a8a;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-link {
    color: #93c5fd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    font-size: 12px;
    color: #93c5fd;
    opacity: 0.8;
}

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

@media (min-width: 768px) {
    .landing-hero {
        padding: 50px 30px;
        margin: 30px;
    }

    .landing-hero-title {
        font-size: 26px;
    }

    .landing-hero-description {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        font-size: 40px;
    }

    .feature-card h4 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .pc-rec-card {
        padding: 30px 25px;
    }

    .info-grid {
        flex-direction: row;
        justify-content: space-around;
    }

    .info-item {
        flex: 1;
        text-align: center;
    }
}

@media (min-width: 1024px) {

    /* デスクトップではランディングページを非表示 */
    .mobile-landing-container {
        max-width: 600px;
        margin: 0 auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================== */
/* アニメーション */
/* =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-landing-container {
    animation: fadeIn 0.5s ease-out;
}

.feature-card {
    animation: fadeIn 0.6s ease-out backwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* =========================== */
/* アクセシビリティ */
/* =========================== */

.btn-primary-landing:focus {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

.footer-link:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* タップターゲットの最小サイズ確保 */
.btn-primary-landing,
.feature-card,
.footer-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
