/* Patula 専用スタイル（VoiceToPC のスタイルを元に配色を変えたもの） */

/* アクセントカラー（ブルー・グリーン・クリーム） */
:root {
    --ptl-pink: #ffe2a8;
    --ptl-pink-light: #fff4dc;
    --ptl-blue: #cfe6ff;
    --ptl-blue-light: #e3f1ff;
    --ptl-purple: #8fb3dc;
    --ptl-purple-deep: #1f3f6e;
    --ptl-green: #d6f2df;
}

/* ヒーローセクション */
.ptl-hero {
    position: relative;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--ptl-blue) 0%, #eef6ee 50%, var(--ptl-pink-light) 100%);
    border-radius: 16px;
    margin-bottom: 12px;
    text-align: center;
    overflow: hidden;
}

.ptl-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: ptl-shimmer 8s ease-in-out infinite;
}

@keyframes ptl-shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.ptl-hero-graphic {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 8px 24px rgba(74, 74, 138, 0.2));
}

.ptl-hero h2 {
    font-size: 2.2rem;
    color: var(--ptl-purple-deep);
    margin-bottom: 0.5rem;
    position: relative;
}

.ptl-hero .ptl-hero-lead {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.ptl-hero .ptl-hero-lead strong {
    color: var(--ptl-purple-deep);
}

/* Google Play ボタン */
.ptl-google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.ptl-google-play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #333;
}

.ptl-google-play-btn svg {
    width: 24px;
    height: 24px;
}

/* ステップセクション */
.ptl-steps {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.ptl-step {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(74, 74, 138, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(184, 169, 212, 0.2);
}

.ptl-step:hover {
    transform: translateY(-4px);
}

.ptl-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ptl-blue) 0%, var(--ptl-purple) 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.ptl-step h4 {
    color: var(--ptl-purple-deep);
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

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

/* 特徴カード */
.ptl-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.ptl-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-left: 4px solid var(--ptl-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ptl-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.ptl-feature-card h4 {
    color: var(--ptl-purple-deep);
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.ptl-feature-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* セキュリティ・暗号化バッジ */
.ptl-security-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    justify-content: center;
}

.ptl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #f0f4ff, #fff);
    border: 1px solid rgba(184, 169, 212, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--ptl-purple-deep);
    font-weight: 500;
}

.ptl-badge-icon {
    font-size: 1.2rem;
}

/* 動画2本横並び */
.ptl-video-pair {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0 0;
    justify-content: center;
}

.ptl-video-item {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.ptl-video-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--ptl-purple-deep);
    margin-bottom: 0.6rem;
}

.ptl-video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(74, 74, 138, 0.15);
    height: 340px;
}

.ptl-video-wrapper .video-container {
    border-radius: 0;
}

.ptl-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 640px) {
    .ptl-video-pair {
        flex-direction: column;
        align-items: center;
    }

    .ptl-video-item {
        max-width: 260px;
        width: 100%;
    }

    .ptl-video-wrapper {
        height: 300px;
    }
}

/* 比較テーブル */
.ptl-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ptl-comparison-table th {
    background: var(--ptl-purple-deep);
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: 500;
}

.ptl-comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.ptl-comparison-table tr:last-child td {
    border-bottom: none;
}

.ptl-comparison-table tbody tr:nth-child(odd) {
    background: #fafbff;
}

.ptl-comparison-table tbody tr:nth-child(even) {
    background: #fff;
}

.ptl-comparison-table .ptl-highlight-row {
    background: linear-gradient(90deg, #f0f4ff 0%, #fef0f4 100%) !important;
    font-weight: 500;
}

.ptl-win {
    color: #2e7d32;
    font-weight: bold;
}

.ptl-lose {
    color: #999;
}

/* 4ステップ使い方 */
.ptl-howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.ptl-howto-step {
    background: linear-gradient(135deg, #fafbff 0%, #fff 100%);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid rgba(184, 169, 212, 0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ptl-howto-step .step-num {
    display: inline-block;
    background: linear-gradient(135deg, var(--ptl-pink) 0%, var(--ptl-purple) 100%);
    color: #fff;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 0.6rem;
}

.ptl-howto-step h4 {
    color: var(--ptl-purple-deep);
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.ptl-howto-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 言語カード */
.ptl-lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.ptl-lang-card {
    text-align: center;
    padding: 1.2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid rgba(184, 169, 212, 0.2);
    transition: transform 0.3s ease;
}

.ptl-lang-card:hover {
    transform: translateY(-2px);
}

.ptl-lang-flag {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.ptl-lang-name {
    font-weight: bold;
    color: var(--ptl-purple-deep);
    font-size: 1rem;
}

.ptl-lang-native {
    color: #888;
    font-size: 0.85rem;
}

/* 料金セクション */
.ptl-pricing {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--ptl-blue-light) 0%, var(--ptl-pink-light) 100%);
    border-radius: 16px;
    margin: 1.5rem 0;
}

.ptl-pricing .ptl-price-free {
    font-size: 2rem;
    font-weight: bold;
    color: var(--ptl-purple-deep);
    margin-bottom: 0.3rem;
}

.ptl-pricing .ptl-price-sub {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 1rem;
}

.ptl-pricing .ptl-price-detail {
    color: #777;
    font-size: 0.95rem;
}

/* スクリーンショット表示 */
.ptl-screenshot-container {
    text-align: center;
    margin: 2rem 0;
}

.ptl-screenshot-container img {
    max-height: 500px;
    width: auto;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(74, 74, 138, 0.2);
}

/* セクション装飾 */
.ptl-section-accent {
    position: relative;
}

.ptl-section-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ptl-blue), var(--ptl-purple), var(--ptl-pink));
    border-radius: 12px 12px 0 0;
}

/* product-top-section のVoiceToPC用カスタマイズ */
.ptl-top .product-price {
    background: linear-gradient(135deg, #f0f4ff 0%, #fef0f4 100%);
    border: 1px solid rgba(184, 169, 212, 0.2);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .ptl-hero h2 {
        font-size: 1.6rem;
    }

    .ptl-hero .ptl-hero-lead {
        font-size: 1rem;
    }

    .ptl-steps {
        flex-direction: column;
        align-items: center;
    }

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

    .ptl-features-grid {
        grid-template-columns: 1fr;
    }

    .ptl-comparison-table {
        font-size: 0.85rem;
    }

    .ptl-comparison-table th,
    .ptl-comparison-table td {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .ptl-hero {
        padding: 2rem 1rem;
    }

    .ptl-hero h2 {
        font-size: 1.3rem;
    }

    .ptl-google-play-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .ptl-security-badges {
        flex-direction: column;
        align-items: center;
    }

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

    .ptl-howto-steps {
        grid-template-columns: 1fr;
    }
}

/* ===== Patula で追加 ===== */
.ptl-catch {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--ptl-purple-deep);
    font-weight: 700;
    position: relative;
}
.ptl-lose-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem auto;
    max-width: 760px;
    text-align: left;
}
.ptl-lose-list li {
    background: #fff;
    border-left: 6px solid #d9534f;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin: 0.6rem 0;
    box-shadow: 0 2px 8px rgba(31, 63, 110, 0.08);
}
.ptl-lose-list li strong { color: #b03a37; }
.ptl-source {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.8rem;
}
.ptl-source a { color: #2f5e9e; }
.ptl-shot {
    text-align: center;
    margin: 1.5rem 0;
}
.ptl-shot img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ccd6e4;
    box-shadow: 0 6px 20px rgba(31, 63, 110, 0.15);
}
.ptl-shot figcaption {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.5rem;
}
.ptl-download {
    text-align: center;
    margin: 1.5rem 0;
}
.ptl-download-btn {
    display: inline-block;
    background: #2e9b57;
    color: #fff !important;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(46, 155, 87, 0.35);
}
.ptl-download-btn:hover { background: #268349; }
.ptl-buy-btn {
    display: inline-block;
    background: #2f5e9e;
    color: #fff !important;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.8rem;
    box-shadow: 0 4px 14px rgba(47, 94, 158, 0.35);
}
.ptl-buy-btn:hover { background: #254b80; }
.ptl-spec { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.ptl-spec th, .ptl-spec td { border: 1px solid #d6dfeb; padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.ptl-spec th { background: #f0f5fb; width: 30%; color: #1f3f6e; }
@media (max-width: 640px) {
    .ptl-catch { font-size: 1.25rem; }
    .ptl-buy-btn { margin: 0.8rem 0 0; }
}
