
.blockElement {
    position: absolute;
    top: 40%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    opacity: 0.8;
}
.simple-block {
    filter: blur(1.5px);
    pointer-events: none;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #d23b22;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

/* 日本語フォント最適化 */
body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
}

/* 日本語テキストの可読性向上 */
.text-japanese {
    letter-spacing: 0.02em;
    word-break: break-word;
}

/* CTAボタンの改善 */
.btn-primary-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary-enhanced {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary-enhanced:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* 視認性の向上 */
.text-gray-improved {
    color: #e2e8f0 !important;
}

.text-gray-200-improved {
    color: #f1f5f9 !important;
}

/* 日本語に適したカードデザイン */
.card-japanese {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 統計情報の強調 */
.stats-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* フィーチャーリストの改善 */
.feature-list-enhanced {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.feature-list-enhanced .check-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* ナビゲーションの改善 */
.nav-enhanced {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.8);
}

/* 日本向けアイコンスタイル */
.icon-japanese {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* 信頼性バッジ */
.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.875rem;
    color: white;
    display: inline-flex;
    align-items: center;
    margin: 4px;
}

.trust-badge::before {
    content: "✓";
    margin-right: 8px;
    color: #10b981;
    font-weight: bold;
}

/* モバイル対応の大幅改善 */
@media (max-width: 768px) {
    .text-japanese {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .btn-primary-enhanced,
    .btn-secondary-enhanced {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* ヘッダーセクションのモバイル最適化 */
    .header-enhanced {
        min-height: 500px;
        padding: 2rem 1rem;
    }
    
    .heading-enhanced {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .subheading-enhanced {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* 機能グリッドのモバイル対応 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .feature-card-enhanced {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    /* 統計セクションのモバイル対応 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* テスティモニアルのモバイル対応 */
    .testimonial-enhanced {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-enhanced::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* CTAセクションのモバイル対応 */
    .cta-enhanced {
        padding: 3rem 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* セクションスペーシングの調整 */
    .section-spacing {
        padding: 3rem 0;
    }
    
    .content-max-width {
        padding: 0 1rem;
    }
    
    /* ナビゲーションの改善 */
    .nav-enhanced {
        padding: 0.5rem 1rem;
    }
    
    /* フォームの改善 */
    input[type="email"],
    input[type="text"],
    input[type="password"],
    textarea {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        border: 2px solid #e2e8f0;
        font-size: 16px; /* iOSズーム防止 */
        transition: border-color 0.3s ease;
    }
    
    input:focus,
    textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    /* モバイル専用のタッチ改善 */
    button,
    .btn-primary-enhanced,
    .btn-secondary-enhanced,
    a[role="button"] {
        min-height: 44px; /* タッチ推奨サイズ */
        touch-action: manipulation;
    }
    
    /* スクロール改善 */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .heading-enhanced {
        font-size: 2.2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

/* 改善されたレイアウト用のスタイル */

/* ヘッダーセクションの改善 */
.header-enhanced {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* 機能グリッドの改善 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card-enhanced {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.15);
}

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

/* セクション区切りの改善 */
.section-divider {
    height: 80px;
    background: linear-gradient(to right, transparent 0%, rgba(102, 126, 234, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 統計セクションの改善 */
.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23667eea" opacity="0.05"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="80" cy="20" r="1"/><circle cx="20" cy="80" r="1"/></svg>');
    background-size: 50px 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* テスティモニアルセクションの改善 */
.testimonial-enhanced {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.testimonial-enhanced::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #667eea;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

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

.cta-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ffffff" opacity="0.1"><circle cx="50" cy="50" r="40"/></svg>');
    background-size: 100px 100px;
    animation: float 20s infinite linear;
}

@keyframes float {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* 改善されたスペーシング */
.section-spacing {
    padding: 5rem 0;
}

.content-max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 改善されたタイポグラフィ */
.heading-enhanced {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a202c;
    line-height: 1.2;
}

.subheading-enhanced {
    font-size: 1.1rem;
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}