/* ================================================
   AI漫画Studio — モバイル特化スタイルシート
   PC版に一切影響を与えず、スマホ環境でのUXをゼロベースで最適化
   ================================================ */

/* 基本のリセットとフォント調整（スマホ向けスケール） */
html {
    font-size: 14px; /* 16pxから縮小し、全体をスリムに */
}
body {
    -webkit-text-size-adjust: 100%;
}
.container {
    padding: 0 20px; /* スマホ向け余白 */
}
.section {
    padding: 64px 0; /* PC版の100pxから縮小 */
}

/* ナビゲーション */
.nav-content {
    padding: 0 16px;
}
.nav-btn-outline {
    padding: 8px 12px;
    font-size: 0.8rem;
}

/* ヒーローセクション */
.hero {
    padding: 160px 20px 48px;
    min-height: auto;
    text-align: center;
}
.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.hero-text {
    align-items: center;
    text-align: center;
}
.hero-title {
    font-size: 1.75rem !important;
    line-height: 1.35;
}
.hero p {
    font-size: 1rem;
    line-height: 1.6;
}
.hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}
.hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
}
.hero-stats {
    width: 100%;
    justify-content: center;
    gap: 24px;
    border-top: none;
    margin-top: 16px;
}

/* スクリーンショットとHUDラベル */
.hero-visual {
    width: 100%;
}
.hero-screenshot {
    width: 100%;
    border-radius: 12px;
}
.ss-label {
    transform: scale(0.7);
    transform-origin: left center;
}

/* セクションタイトル周り */
.section-title, .section-title-dark {
    font-size: 1.8rem !important;
    line-height: 1.35;
    margin-bottom: 16px;
}
.section-sub, .section-sub-dark {
    font-size: 1rem;
    margin-bottom: 32px;
    text-align: left; /* スマホでは左寄せの方が読みやすい場合もあるが、中央寄せのままでOKなクラスもある */
}

/* グリッドレイアウトの強制1カラム化 */
.pillars-grid, .truth-grid, .monetize-grid, .edit-features, .persona-features, .community-grid, .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Pillarカード */
.pillar-card {
    padding: 24px;
    border-radius: 12px;
}
.pillar-card::after {
    font-size: 5rem;
    top: -8px;
    right: 4px;
}
.pillar-card h3 {
    font-size: 1.15rem;
}
.pillar-card p {
    font-size: 0.95rem;
}

/* Showcase（画像とテキスト） */
.showcase-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 32px 0;
}
.showcase-item.reverse {
    flex-direction: column !important;
}
.showcase-text {
    text-align: left;
}
.showcase-img {
    width: 100%;
    border-radius: 12px;
}

/* Dual 画像・メディア */
.dual-images, .dual-media {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.media-caption {
    font-size: 0.95rem;
    text-align: left;
}

/* ワークフロー（3ステップ） */
.workflow-card {
    padding: 32px 20px;
    border-radius: 16px;
}
.workflow-timeline {
    flex-direction: column;
    gap: 24px;
}
.step-line {
    width: 2px !important;
    height: 32px !important;
    margin: 0 auto !important;
}
.step-node {
    width: 48px;
    height: 48px;
}
.step-number {
    font-size: 1.25rem;
}

/* 各種機能カード */
.persona-feature-card, .edit-card, .community-card, .monetize-card {
    padding: 24px 20px;
    border-radius: 12px;
}
.edit-card-img {
    aspect-ratio: 16/9;
}
.monetize-card img {
    max-height: 200px;
}

/* 料金表 */
.pricing-card {
    padding: 32px 24px;
}
.pricing-price, .pricing-highlight {
    font-size: 2.4rem;
}
.pricing-addon {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
}
.addon-price-col {
    text-align: left;
}

/* お知らせバナー */
.news-banner {
    max-width: 100%;
    margin-top: 16px;
    padding: 1rem;
}

/* フッター */
.footer {
    padding: 32px 0;
}
.footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* PC専用セクションまたぎ画像を非表示 */
.crossover-wrap {
    display: none !important;
}

/* --- スペース確保のための微調整 --- */
.nav-logo-container { width: 44px !important; } /* 左端のアイコン幅を削る */
.nav-content { padding: 0 8px !important; } /* 左右の余白を削る */
.nav-actions { gap: 6px !important; } /* 言語選択とログインボタンの間隔を詰める */
.nav-btn-outline { padding: 6px 10px !important; } /* ログインボタンを少しスリムに */

/* --- ナビと背景の調整 --- */
.nav-brand { font-size: 0.75rem !important; }
.nav-links { margin: 0 auto 0 8px !important; } /* 左側の空きスペースを活用 */
.nav-links a[href*='x.com'] { 
    display: inline-flex !important; 
    padding: 8px 4px !important; /* 横の余白を削って潰れを防ぐ */
}
.nav-links a[href*='x.com'] span { display: none !important; }
.nav-links a[href*='x.com'] img { min-width: 14px !important; } /* 絶対に線のように潰れないようにする */
.hero-bg { 
    transform: translateY(50px) scale(1.1) !important; 
}
.hero-bg::after {
    background-position: center top !important;
    background-size: 140% auto !important;
}
