/*
Theme Name: Manualive Feel
Description: Manualive Feel専用ランディングページテーマ - ManualiveプラットフォームユーザーのためのAIアシスタントサービス（OEM版）
Version: 1.0.0
Author: Feel Flow Inc.
Author URI: https://feel-flow.com/
Text Domain: manualive-feel
Tags: business, landing-page, manualive, ai, responsive, modern, oem
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* WordPress管理バーがある場合の調整 */
.admin-bar header {
    top: 32px;
}

/* モバイルでの管理バー調整 */
@media screen and (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
}

.logo a::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo a:hover::before {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #667eea;
}

.demo-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.demo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* WordPress管理バーがある場合のヒーローセクション調整 */
.admin-bar .hero {
    padding-top: 112px; /* 80px + 32px */
}

/* モバイルでの管理バー調整 */
@media screen and (max-width: 782px) {
    .admin-bar .hero {
        padding-top: 126px; /* 80px + 46px */
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-logo {
    display: flex;
    justify-content: flex-start;
    margin: 20px 0 30px 0;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-img {
    height: 160px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-logo-img:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-size: 42px;
    margin: 30px 0 25px 0;
    color: #333;
    line-height: 1.4;
    text-align: left;
    font-weight: 700;
}

.hero-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 48px;
    font-weight: 800;
    display: inline-block;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 18px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #666;
    text-align: left;
    line-height: 1.8;
}

.value-props {
    display: flex;
    gap: 40px;
    margin-bottom: 45px;
    justify-content: flex-start;
}

.value-prop {
    text-align: center;
    flex: 0 0 auto;
}

.value-number {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    display: block;
}

.value-text {
    font-size: 14px;
    color: #666;
}

.cta-group {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757 0%, #e84118 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}

.cta-secondary {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cta-secondary:hover {
    text-decoration: underline;
}

.hero-visual {
    position: relative;
}

.demo-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 40px;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.demo-chat {
    height: 450px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    background: #f9f9f9;
    overflow-y: auto;
}

/* 社会的証明セクション */
.social-proof {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.social-proof-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.social-proof h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 60px;
    color: #667eea;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: bold;
    color: #333;
}

.author-company {
    font-size: 14px;
    color: #666;
}

.metrics {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-top: 60px;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    display: block;
}

.metric-label {
    font-size: 16px;
    color: #666;
}

/* 課題解決セクション */
.problem-solution {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.pain-points {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.pain-point {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: #fff3f3;
    border-radius: 15px;
    border-left: 5px solid #ff4757;
}

.pain-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.pain-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.pain-content p {
    color: #666;
}

/* 創業者メッセージセクション */
.founder-message {
    background: linear-gradient(135deg, #f3e7ff 0%, #e7f0ff 100%);
    padding: 80px 0;
}

.founder-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.founder-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.founder-box {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-quote {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    font-style: italic;
}

.founder-vision {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.founder-vision h3 {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 20px;
}

.founder-points {
    text-align: left;
    margin: 30px 0;
}

.founder-point {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.founder-point::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
}

.founder-point strong {
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.solution-box {
    background: linear-gradient(135deg, #f3e7ff 0%, #e7f0ff 100%);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.solution-box p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* ROIセクション */
.roi-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.roi-calculator {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.roi-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.roi-result {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.roi-result h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.roi-amount {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.roi-period {
    font-size: 16px;
    opacity: 0.9;
}

/* 機能セクション */
.features {
    background: #fff;
    padding: 80px 0;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

.feature-highlight {
    color: #667eea;
    font-weight: bold;
}

/* 料金プラン */
.pricing {
    background: #f8f9fa;
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #ff4757;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.plan-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.plan-price {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: bold;
}

.price-unit {
    font-size: 16px;
    color: #666;
}

.price-detail {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    flex-shrink: 0;
}

.plan-button {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s;
    width: 100%;
    font-weight: bold;
}

.plan-button:hover {
    background: #5a67d8;
}

.featured .plan-button {
    background: linear-gradient(135deg, #ff4757 0%, #e84118 100%);
}

.featured .plan-button:hover {
    background: linear-gradient(135deg, #e84118 0%, #c23616 100%);
}

/* FAQ セクション */
.faq {
    padding: 80px 0;
    background: white;
}

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

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #333;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #667eea;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-button-white {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* フッター */
footer {
    background: #333;
    color: white;
    padding: 60px 0 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p,
.footer-section ul {
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #555;
    color: #999;
}

.footer-bottom p + p {
    margin-top: 10px;
    font-size: 0.9em;
    color: #aaa;
    font-style: italic;
}

/* 保証バッジ */
.guarantee-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.guarantee-badge-text {
    font-weight: bold;
    color: #667eea;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
}

.guarantee-badge-days {
    font-size: 28px;
    color: #333;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text h1,
    .hero-subtext,
    .hero-text p {
        text-align: center;
    }
    
    .hero-logo {
        justify-content: center;
    }
    
    .value-props {
        justify-content: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .demo-container {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .logo img {
        height: 42px;
    }
    
    header {
        padding: 10px 0;
    }
    
    .hero {
        padding: 60px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0 20px;
        gap: 40px;
    }
    
    .hero-logo {
        margin-bottom: 20px;
    }
    
    .hero-logo-img {
        height: 120px;
        padding: 16px 24px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
        font-size: 18px;
    }
    
    .cta-secondary {
        margin-top: 10px;
    }
    
    .demo-container {
        padding: 20px;
    }
    
    .demo-chat {
        height: 350px;
        padding: 15px;
    }
    
    .hero-text h1 {
        font-size: 32px;
        margin: 20px 0;
    }
    
    .hero-highlight {
        font-size: 36px;
    }
    
    .value-props {
        flex-direction: row;
        gap: 20px;
        overflow-x: auto;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .value-prop {
        min-width: 120px;
    }
    
    .value-number {
        font-size: 36px;
    }
    
    .pain-point {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .metrics {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .guarantee-badge {
        width: 100px;
        height: 100px;
    }
    
    .guarantee-badge-text {
        font-size: 12px;
    }
    
    .guarantee-badge-days {
        font-size: 24px;
    }
}

/* その他のCSS */
.comparison-section {
    padding: 80px 0; 
    background: white;
}

.signup-section {
    padding: 80px 0; 
    background: #f8f9fa;
}

/* ManuaLive リンクスタイリング */
.manualive-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.manualive-link:hover {
    color: #5a67d8;
    border-bottom: 1px solid #5a67d8;
    text-decoration: none;
}

/* 特定の場所でのManuaLiveリンクスタイリング */
.feature-highlight .manualive-link {
    color: inherit;
    font-weight: 700;
}

.feature-highlight .manualive-link:hover {
    color: #5a67d8;
}

/* テーブル内のManuaLiveリンク */
.comparison-table .manualive-link {
    color: #333;
    font-weight: bold;
}

.comparison-table .manualive-link:hover {
    color: #667eea;
}

/* お客様の声内のManuaLiveリンク */
.testimonial-text .manualive-link {
    color: #667eea;
    font-weight: 600;
}

.testimonial-text .manualive-link:hover {
    color: #5a67d8;
}
