/* /shared/themes/freelancer.css - フリーランス向けテーマ */

/* ==========================================
   カラーパレット & ベース設定
========================================== */

:root {
    /* メインカラー: 既存デザインのブルー系 */
    --fl-primary: #2563eb;
    --fl-primary-dark: #1d4ed8;
    --fl-primary-light: #3b82f6;
    
    /* セカンダリカラー: 暖かみのあるオレンジ */
    --fl-secondary: #f59e0b;
    --fl-secondary-dark: #d97706;
    --fl-secondary-light: #fbbf24;
    
    /* ニュートラル */
    --fl-text-primary: #1f2937;
    --fl-text-secondary: #64748b;
    --fl-text-light: #94a3b8;
    
    /* 背景 */
    --fl-bg-primary: #ffffff;
    --fl-bg-secondary: #f8fafc;
    --fl-bg-accent: #f1f5f9;
    
    /* 成功・収入アップを表現する色 */
    --fl-success: #10b981;
    --fl-warning: #f59e0b;
    --fl-info: #2563eb;
    
    /* グラデーション */
    --fl-gradient-primary: linear-gradient(135deg, #2563eb, #1d4ed8);
    --fl-gradient-secondary: linear-gradient(135deg, #f59e0b, #d97706);
    --fl-gradient-hero: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  }
  
  body {
    color: var(--fl-text-primary);
    background: var(--fl-bg-primary);
  }
  
  /* ==========================================
     タイポグラフィー - フリーランス向け
  ========================================== */
  
  .section-title {
    font-size: 2.5em;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: #1f2937;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }
  
  .section-subtitle {
    font-size: 1.2em;
    color: var(--fl-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
  }

  
  /* ==========================================
     ボタン - フリーランス向け
  ========================================== */
  
  .btn-primary {
    background: var(--fl-gradient-primary);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .btn-primary::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.6s ease;
  }
  
  .btn-primary:hover::before {
    left: 100%;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  }
  
  .btn-secondary {
    background: transparent;
    color: var(--fl-primary);
    padding: 18px 36px;
    border: 2px solid var(--fl-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
  }
  
  .btn-secondary:hover {
    background: var(--fl-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
  }
  
  .btn-large {
    padding: 22px 44px;
    font-size: 1.2em;
  }
  
  .btn-xl {
    padding: 24px 48px;
    font-size: 1.3em;
  }
  

  /* ==========================================
     カード - フリーランス向け
  ========================================== */
  
  .card-freelancer {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .card-freelancer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--fl-gradient-primary);
  }
  
  .card-freelancer:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
  }
  
  .card-benefit {
    text-align: center;
    padding: 40px 24px;
  }
  
  .card-benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--fl-gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
  }
  
  .card-benefit-icon svg {
    width: 36px;
    height: 36px;
  }
  
  .card-benefit-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--fl-text-primary);
  }
  
  .card-benefit-desc {
    color: var(--fl-text-secondary);
    line-height: 1.6;
  }
  
  /* ==========================================
     案件カード - フリーランス向け
  ========================================== */
  
  .job-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--fl-primary-light);
  }
  
  .job-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--fl-text-primary);
  }
  
  .job-company {
    color: var(--fl-text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
  }
  
  .job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .job-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--fl-primary-dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
  }
  
  .job-price {
    font-size: 1.4em;
    font-weight: 800;
    color: var(--fl-primary);
    margin-bottom: 8px;
  }
  
  .job-conditions {
    color: var(--fl-text-secondary);
    font-size: 0.9em;
  }
  
  /* ==========================================
     セクション背景 - フリーランス向け
  ========================================== */
  
  .section-primary {
    background: var(--fl-bg-primary);
  }
  
  .section-secondary {
    background: var(--fl-bg-secondary);
  }
  
  .section-accent {
    background: var(--fl-bg-accent);
    position: relative;
  }
  
  .section-dark {
    background: linear-gradient(135deg, #065f46, #047857);
    color: white;
  }
  
  .section-dark .section-title {
    background: linear-gradient(135deg, #ffffff, #d1fae5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* ==========================================
     特徴・メリットセクション
  ========================================== */
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
  }
  
  .price-highlight {
    background: var(--fl-gradient-secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 16px;
  }
  
  .testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--fl-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  
  .testimonial-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--fl-text-secondary);
  }
  
  .testimonial-author {
    font-weight: 600;
    color: var(--fl-text-primary);
  }
  
  .testimonial-role {
    color: var(--fl-text-light);
    font-size: 0.9em;
  }
  
  /* ==========================================
     フッター - フリーランス向け
  ========================================== */
  
  /* --- フッター関連スタイルはcommon.cssに統一 --- */
  
  /* ==========================================
     フォーム - フリーランス向け
  ========================================== */
  
  .form-input:focus,
  .form-select:focus,
  .form-textarea:focus {
    border-color: var(--fl-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }
  
  .form-checkbox a {
    color: var(--fl-primary);
  }
  
  .form-checkbox a:hover {
    color: var(--fl-primary-dark);
    text-decoration: underline;
  }
  
  /* ==========================================
     CTA セクション
  ========================================== */
  
  .cta-section {
    background: var(--fl-gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20v20h20z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  }
  
  .cta-content {
    position: relative;
    z-index: 2;
  }
  
  .cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
  }
  
  .cta-subtitle {
    font-size: 1.2em;
    margin-bottom: 32px;
    opacity: 0.9;
  }
  
  .cta-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    animation: pulse 2.5s infinite;
    position: relative;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
  }
  
  .cta-button::after {
    content: '';
    margin-left: 0;
    transition: transform 0.3s ease;
  }
  
  .cta-button:hover::after {
    transform: translateX(4px);
  }
  
  .cta-button:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
  }
  
  /* ==========================================
     レスポンシブ調整 - フリーランス向け
  ========================================== */
  
  @media (max-width: 1024px) {
  
  }
  
  @media (max-width: 768px) {
 
    .cta-button {
      padding: 16px 28px;
      font-size: 1em;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 40px;
      line-height: 1.3;
      letter-spacing: -0.02em;
    }
  }
  
  @media (max-width: 480px) {

    
    .card-freelancer {
      padding: 24px;
    }
    
    .job-card {
      padding: 20px;
    }
  }
  
  /* ==========================================
     アニメーション強化
  ========================================== */
  
  .bounce-in {
    animation: bounceIn 0.8s ease forwards;
  }
  
  @keyframes bounceIn {
    0% {
      opacity: 0;
      transform: scale(0.3);
    }
    50% {
      opacity: 1;
      transform: scale(1.05);
    }
    70% {
      transform: scale(0.9);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  .slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .slide-in-right {
    animation: slideInRight 0.6s ease forwards;
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }