/* Global styles */
body {
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8F9FA;
}
/* Scroll behavior */
html {
    scroll-behavior: smooth;
}
/* Text styles */
.section-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}
.section-title:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: #0D6EFD;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.section-title.text-start:after {
    left: 0;
    transform: none;
}
.text-primary {
    color: #0D6EFD !important;
}
.display-5 {
    font-weight: 700;
    line-height: 1.3;
}
.lead {
    font-weight: 400;
    line-height: 1.7;
}
/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.navbar-brand {
    font-weight: bold;
}
.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: #0D6EFD;
    transform: translateY(-2px);
}
/* Hero section */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}
/* Cards */
.card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: #0D6EFD;
    border-color: #0D6EFD;
    padding: 0.5rem 2rem;
}
.btn-primary:hover {
    background-color: #0B5ED7;
    border-color: #0B5ED7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13,110,253,0.3);
}
/* Forms */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}
/* Footer */
footer {
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
/* Service icons */
.service-icon {
    font-size: 2rem;
    color: #0D6EFD;
    margin-bottom: 1rem;
}
/* Testimonial cards */
.testimonials .card {
    height: 100%;
}
.testimonials .rounded-circle {
    object-fit: cover;
}
/* Timeline */
.timeline-item {
    position: relative;
    padding-bottom: 20px;
}
/* Alert customization */
.alert {
    border-radius: 8px;
}
/* List styling */
ul.list-unstyled li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
ul.list-unstyled li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}
/* Table customization */
.table th {
    background-color: #f8f9fa;
}
/* Custom text colors */
.text-primary-dark {
    color: #0056b3;
}
/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }
    .card {
        margin-bottom: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
}
/* Accessibility improvements */
.btn, .form-control {
    transition: all 0.2s;
}
:focus {
    outline: 3px solid rgba(0,123,255,0.5);
    outline-offset: 2px;
}
/* Print styles */
@media print {
    .navbar, .footer {
        display: none;
    }
    .container {
        width: 100%;
        max-width: none;
    }
    .card {
        break-inside: avoid;
    }
}
/* Hero images for each section */
.hero-section,
.services-header,
.about-header,
.contact-header,
.career-header {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}
/* Background overlay for hero sections */
.hero-image,
.services-header .position-absolute,
.about-header .position-absolute,
.contact-header .position-absolute,
.career-header .position-absolute {
    z-index: 1;
    opacity: 0.2;
}
/* Card images optimization */
.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}
.card:hover .card-img-top {
    transform: scale(1.05);
}
/* Feature cards with icons */
.feature-icon {
    margin-top: -30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* Timeline styling for processes */
.timeline-line {
    position: absolute;
    width: 2px;
    background-color: #dee2e6;
    top: 0;
    bottom: 0;
    left: 24px;
}
.timeline-icon {
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 
戸田訪問介護ステーション 採用サイト スタイルシート
作成日: 2025年5月
*/

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --recruit-color: #FF6B6B;
}

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-recruit {
    background-color: var(--recruit-color);
    border-color: var(--recruit-color);
    color: white;
}

.btn-recruit:hover {
    background-color: #ff5252;
    border-color: #ff5252;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-outline-recruit {
    border-color: var(--recruit-color);
    color: var(--recruit-color);
}

.btn-outline-recruit:hover {
    background-color: var(--recruit-color);
    color: #fff;
}

/* ヒーローセクション */
.hero-recruit {
    min-height: 80vh;
    background: linear-gradient(rgba(255, 107, 107, 0.8), rgba(255, 107, 107, 0.8)), url('../images/recruit_hero.jpg') center center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* セクション共通 */
section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--recruit-color);
}

/* 求人カード */
.job-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.job-card .card-body {
    padding: 2rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--recruit-color);
}

.job-tag {
    display: inline-block;
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--recruit-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.job-info-item {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.job-info-item i {
    margin-right: 0.5rem;
    color: var(--recruit-color);
}

/* 会社の特徴 */
.feature-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--recruit-color);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background-color: var(--recruit-color);
    color: white;
}

.feature-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 募集職種 */
.position-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    height: 250px;
}

.position-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.position-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.3s ease;
}

.position-card:hover .position-img {
    transform: scale(1.1);
}

.position-card:hover .position-overlay {
    background: linear-gradient(to bottom, rgba(255, 107, 107, 0.6), rgba(255, 107, 107, 0.9));
}

.position-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.position-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 採用フロー */
.flow-step {
    position: relative;
    padding-left: 70px;
    margin-bottom: 3rem;
}

.flow-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--recruit-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.flow-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #333;
}

/* スタッフの声 */
.staff-voice-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    margin-bottom: 30px;
    position: relative;
}

.staff-voice-card:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 30px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: white transparent;
}

.staff-info {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.staff-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.staff-position {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ */
.faq-item {
    margin-bottom: 1.5rem;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
    padding-right: 30px;
}

.faq-question:after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.faq-question.active:after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1rem;
    background-color: rgba(255, 107, 107, 0.05);
    border-radius: 5px;
    margin-top: 0.5rem;
    display: none;
}

/* エントリーフォームセクション */
.entry-form-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 3rem;
}

.form-control {
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 1rem;
}

textarea.form-control {
    border-radius: 20px;
}

/* メディアクエリ */
@media (max-width: 992px) {
    .job-card, .feature-card {
        margin-bottom: 30px;
    }
    
    .entry-form-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-recruit {
        min-height: 60vh;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .flow-step {
        padding-left: 60px;
    }
    
    .flow-step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .job-info {
        flex-direction: column;
    }
    
    .job-info-item {
        margin-right: 0;
    }
    
    .entry-form-section {
        padding: 1.5rem;
    }
}