/* カスタムスタイル - 40-60代向けの読みやすさと使いやすさを重視 */

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* フォントの調整 - 読みやすさを重視 */
body {
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* ヘッダーの調整 */
header {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* ボタンのホバーエフェクト強化 */
.btn-primary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* カードのホバーエフェクト */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* グラデーション背景の調整 */
.gradient-bg {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* アイコンのアニメーション */
.icon-bounce {
    transition: transform 0.3s ease;
}

.icon-bounce:hover {
    transform: scale(1.1) rotate(5deg);
}

/* フォームスタイルの強化 */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* モバイル対応の強化 */
@media (max-width: 768px) {
    /* モバイルでのテキストサイズを大きく */
    .mobile-text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    /* モバイルでのボタンサイズを大きく */
    .mobile-btn-lg {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

/* 高齢者向けのアクセシビリティ強化 */
.high-contrast {
    color: #1f2937;
}

.high-contrast-bg {
    background-color: #f9fafb;
}

/* 電話番号の強調 */
.phone-highlight {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ステップ表示の改良 */
.step-circle {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

/* 星評価のアニメーション */
.star-rating {
    animation: starGlow 2s ease-in-out infinite alternate;
}

@keyframes starGlow {
    from {
        text-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
    }
    to {
        text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
    }
}

/* 信頼感を高めるバッジスタイル */
.trust-badge {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* セクション間の区切りライン */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #3b82f6, #f59e0b);
    margin: 3rem 0;
}

/* 価格表示の強調 */
.price-highlight {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* スクロール位置に応じたヘッダーの変化 */
.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

/* ローディングアニメーション */
.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 成功メッセージのスタイル */
.success-message {
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

/* エラーメッセージのスタイル */
.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

/* パララックス効果 */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 年配の方向けの大きなクリック領域 */
.large-click-area {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* フォーカス表示の強化 */
.enhanced-focus:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* 印刷対応 */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .print-break {
        page-break-after: always;
    }
}