/* ==========================================
   ジビシル (JIBISHIRU) - 共通スタイル
   ========================================== */

/* ベースカラー */
body {
    color: #1A237E;
    background-color: #F0F4F8;
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

/* スクロールバー非表示 */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* タップハイライト消去 */
* { -webkit-tap-highlight-color: transparent; }

/* PC(768px以上)でスマホ用検索パネルを非表示 */
@media (min-width: 768px) {
    #mobile-search { display: none !important; }
}

/* 求人CTAボタン */
.job-cta-micro {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    color: #E91E63;
    font-size: 13px;
    font-weight: 900;
    padding: 6px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(244, 143, 177, 0.2);
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.5px;
    border: 2px solid #F8BBD0;
}

.job-cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #FFCDD2 0%, #F48FB1 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    padding: 18px 16px;
    border-radius: 50px;
    box-shadow: 0 8px 16px rgba(244, 143, 177, 0.4);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 1px;
    border-bottom: 5px solid #D81B60;
    text-shadow: 0 1px 2px rgba(216, 27, 96, 0.2);
}

.job-cta-btn:active {
    transform: translateY(5px);
    border-bottom: 0px solid #D81B60;
    box-shadow: 0 2px 5px rgba(244, 143, 177, 0.3);
    margin-bottom: 5px;
}

.job-cta-btn .icon { margin-right: 8px; font-size: 18px; }
.job-cta-btn .arrow {
    font-size: 14px;
    font-weight: 900;
    background: rgba(255,255,255,0.4);
    padding: 4px 8px;
    border-radius: 50%;
    margin-left: auto;
    color: #D81B60;
}

/* 掲載希望ボタン */
.clinic-cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #BBDEFB 0%, #64B5F6 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    padding: 18px 16px;
    border-radius: 50px;
    box-shadow: 0 8px 16px rgba(100, 181, 246, 0.4);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 1px;
    border-bottom: 5px solid #1565C0;
    text-shadow: 0 1px 2px rgba(21, 101, 192, 0.2);
}

.clinic-cta-btn:active {
    transform: translateY(5px);
    border-bottom: 0px solid #1565C0;
    box-shadow: 0 2px 5px rgba(100, 181, 246, 0.3);
    margin-bottom: 5px;
}

.clinic-cta-btn .icon { margin-right: 8px; font-size: 18px; }
.clinic-cta-btn .arrow {
    font-size: 14px;
    font-weight: 900;
    background: rgba(255,255,255,0.4);
    padding: 4px 8px;
    border-radius: 50%;
    margin-left: auto;
    color: #1565C0;
}

/* 固定ボトムナビ（スマホ用） */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    border-top: 1px solid #E0E0E0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

/* スマホ時のフッターパディング（ボトムナビがあるページ用） */
@media (max-width: 767px) {
    body.has-bottom-nav { padding-bottom: 130px; }
}

/* 記事カード hover */
.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #29B6F6;
}

/* line-clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
