/* ============================================
   美容・健康求人サイト カスタムスタイル
   ============================================ */

/* フォント */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: #333;
    background: #fafafa;
}

/* ブランド */
.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d6a4f;
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #f8c8d4 100%);
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.text-white-75 { color: rgba(255,255,255,0.85) !important; }

/* 検索ボックス */
.search-box {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   統計バー
   ============================================ */
.stats-bar { background: linear-gradient(90deg, #2d6a4f, #52b788); }
.stat-item { padding: 8px 0; }

/* ============================================
   カテゴリカード
   ============================================ */
.category-card {
    border: 2px solid #e8f5e9;
    border-radius: 12px;
    transition: all 0.2s ease;
    color: #333;
}

.category-card:hover {
    border-color: #52b788;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(82,183,136,0.2);
    color: #2d6a4f;
}

/* ============================================
   求人カード
   ============================================ */
.job-card {
    border: none;
    border-radius: 12px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: -28px;
    background: linear-gradient(45deg, #ffd700, #ffb300);
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 32px 4px 12px;
    transform: rotate(0deg);
    z-index: 1;
}

.company-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 4px;
}

.company-logo-lg {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 6px;
}

.company-logo-xl {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 12px;
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 8px;
}

.badge-category {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #2d6a4f;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 20px;
    padding: 4px 10px;
}

.employment-badge {
    background: #e8f5e9;
    color: #2d6a4f;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
}

.job-title { font-size: 0.95rem; line-height: 1.4; }
.job-title a:hover { color: #2d6a4f !important; }

.salary-info { font-size: 0.9rem; }

.job-expired-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
}

/* ============================================
   セクション見出し
   ============================================ */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d2d2d;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #52b788, #a8edea);
    margin-top: 8px;
    border-radius: 2px;
}

.section-title.text-center::after { margin: 8px auto 0; }

.section-heading {
    font-size: 1.2rem;
    font-weight: 700;
}

/* ============================================
   特徴セクション
   ============================================ */
.feature-card {
    border-radius: 16px;
    background: white;
    transition: transform 0.2s;
}

.feature-card:hover { transform: translateY(-4px); }

/* ============================================
   CTA セクション
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #52b788 0%, #2d6a4f 100%);
}

.btn-white {
    background: white;
    color: #2d6a4f;
    border: 2px solid white;
}

.btn-white:hover {
    background: #f0fff4;
    color: #1a5c3a;
}

.btn-outline-white {
    color: white;
    border: 2px solid white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: #2d6a4f;
}

/* ============================================
   バッジ
   ============================================ */
.badge-warning  { background: #ffc107; color: #000; }
.badge-info     { background: #0dcaf0; color: #000; }
.badge-success  { background: #198754; color: #fff; }
.badge-danger   { background: #dc3545; color: #fff; }
.badge-secondary{ background: #6c757d; color: #fff; }

/* ============================================
   フォーム
   ============================================ */
.form-control:focus, .form-select:focus {
    border-color: #52b788;
    box-shadow: 0 0 0 0.2rem rgba(82,183,136,0.25);
}

/* ============================================
   ボタン カスタム
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #52b788, #2d6a4f);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d6a4f, #1b4332);
}

.btn-outline-primary {
    color: #2d6a4f;
    border-color: #2d6a4f;
}

.btn-outline-primary:hover {
    background: #2d6a4f;
    border-color: #2d6a4f;
}

.btn-xs {
    padding: 2px 8px;
    font-size: 0.7rem;
}

/* ============================================
   ナビゲーション
   ============================================ */
.navbar {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #444;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover { color: #2d6a4f; }

/* ============================================
   フッター
   ============================================ */
.footer { font-size: 0.9rem; }
.social-links a:hover { opacity: 0.7; }

/* ============================================
   統計カード（企業ダッシュボード）
   ============================================ */
.stat-card { border-radius: 12px; }
.stat-number { font-size: 2rem; }

/* ============================================
   求人詳細
   ============================================ */
.salary-box { border-left: 4px solid #52b788; }

/* ============================================
   ページネーション
   ============================================ */
.pagination .page-link {
    color: #2d6a4f;
    border-radius: 8px;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: #2d6a4f;
    border-color: #2d6a4f;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 768px) {
    .hero-section { min-height: 360px; }
    .hero-title { font-size: 1.6rem; }
    .search-box .row { flex-direction: column; }
    .search-box .col-md-1 { width: 100%; }
    .category-card .card-body { padding: 12px 8px; }
}

@media (max-width: 480px) {
    .cta-section .d-flex { flex-direction: column; align-items: stretch; }
    .featured-badge { display: none; }
}

/* ============================================
   スクロールアニメーション
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
