/* Google Fonts: Zen Maru Gothic */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700&display=swap');

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
}

/* 求人情報ページ専用スタイル */
.recruit-h1{
    background-color: #e6ceda;


}
.recruit-section {
    max-width: 1200px !important;
    margin: 2rem auto !important;
    border-radius: 20px !important;
    padding: 3rem 2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.recruit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #e6ceda, #ff69b4);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.recruit-section h1 {
    text-align: center !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important; /* フォントウェイトを太く */
    color: #ffffff !important;
    margin: 0 auto 1.5rem auto !important; /* 左右のマージンをautoに設定 */
    line-height: 1.4 !important;
    background: transparent !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3) !important; /* 白色テキスト用の影を追加 */
    letter-spacing: 0.05em !important; /* 文字間隔を調整 */
    position: relative !important; /* 装飾要素の基準位置 */
    padding: 1rem 2rem !important; /* パディングを追加 */
    border-radius: 15px !important; /* 角丸を追加 */
    background: transparent !important; /* バックグラウンドを透明に */
    backdrop-filter: blur(5px) !important; /* 背景をぼかす効果 */
    max-width: 900px !important; /* 最大幅を設定して中央配置を確実にする */
    display: block !important; /* inline-blockを上書きしてblockに */
}

/* h1の装飾的な下線 */
.recruit-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #020a13, #011327, #020a13); /* グラデーション下線 */
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4); /* 下線に影を追加 */
}

.recruit-section h2 {
    text-align: center;
    font-size: 1.44rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    background: transparent !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

/* メイン説明文のh2要素（訪問看護のお仕事です...）のスタイル */
.recruit-section > h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem auto 2.5rem auto;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(230, 206, 218, 0.1), rgba(255, 255, 255, 0.8));
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(230, 206, 218, 0.3);
}

/* 求人情報詳細部分のh2要素のスタイル */
.job-posting h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

/* h2の装飾は削除してシンプルに */

.recruit-section h1 i {
    color: #da49ae; /* 濃い赤色に変更 */
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
    font-size: 1.2em; /* アイコンサイズを少し大きく */
    text-shadow: 2px 2px 4px rgba(209, 31, 114, 0.3); /* 影を追加 */
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        color: #8B0000; /* 濃い赤色 */
    }
    50% { 
        transform: scale(1.1); 
        color: #DC143C; /* 少し明るい赤色（アニメーション時） */
    }
}

.recruit-section h2 .highlight {
    background: linear-gradient(90deg, #8A2BE2, #4B0082); /* むらさき色のグラデーションに変更 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(36, 10, 61, 0.3), 0 0 10px rgba(187, 177, 240, 0.8); /* むらさき色の影と白い影を追加 */
}

.recruit-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.job-posting {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.job-posting::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.job-posting:nth-child(2)::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

/* ホバー効果を無効化 */
.job-posting:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.job-posting h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.job-posting h2 i {
    margin-right: 0.5rem;
    color: #3498db;
    animation: none; /* バウンスアニメーションを無効化 */
}

.job-posting:nth-child(2) h2 i {
    color: #e74c3c;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.job-posting h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 1px;
}

.job-posting:nth-child(2) h2::after {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    border-left: 4px solid #3498db;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1), transparent);
    padding: 0.5rem 1rem;
    border-radius: 0 5px 5px 0;
    display: flex;
    align-items: center;
}

.job-details h3 i {
    margin-right: 0.5rem;
    color: #3498db;
    font-size: 1.1rem;
}

.job-posting:nth-child(2) .job-details h3 {
    border-left-color: #e74c3c;
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1), transparent);
}

.job-posting:nth-child(2) .job-details h3 i {
    color: #e74c3c;
}

.job-details ul {
    list-style: none;
    padding-left: 1.5rem;
}

.job-details ul li {
    position: relative;
    padding: 0.5rem 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.job-details ul li::before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.job-details ul li:first-child {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.3rem;
}

.job-details ul li:first-child::before {
    content: '';
    font-size: 1.4rem;
}

/* アニメーション効果を無効化 */
.job-posting {
    animation: none;
}

.job-posting:nth-child(2) {
    animation: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .recruit-section {
        padding: 2rem 1rem !important;
        margin: 1rem auto !important;
        max-width: 95% !important;
    }
    
    .recruit-section h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .recruit-section h2 {
        text-align: center !important; /* フレキシブル対応時も中央配置 */
    }
    
    .recruit-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .job-posting {
        padding: 2rem 1.5rem;
    }
    
    .job-posting h2 {
        font-size: 1.6rem;
        text-align: center !important; /* フレキシブル対応時も中央配置 */
    }
    
    .job-details h3 {
        font-size: 1.2rem;
    }
    
    .job-details ul li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .recruit-section h1 {
        font-size: 1.5rem;
    }
    
    .recruit-section h2 {
        text-align: center !important; /* フレキシブル対応時も中央配置 */
    }
    
    .job-posting {
        padding: 1.5rem 1rem;
    }
    
    .job-posting h2 {
        font-size: 1.4rem;
        text-align: center !important; /* フレキシブル対応時も中央配置 */
    }
    
    .job-details h3 {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .job-details ul li {
        font-size: 0.95rem;
    }
} 

