/* ========================================
   求人案内ページ専用スタイル
   ======================================== */

/* ページタイトルセクション */
.page-title-section {
    background: linear-gradient(135deg, rgba(197, 212, 218, 0.8), rgba(139, 218, 194, 0.8)), url('../koya.img/tree2.jpg!d');
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../koya.img/sirorenga.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-title-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.33rem;
    line-height: 1.8;
    color: #666666; /* より濃いグレーに変更 */
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); /* 白い影を追加 */
}

/* セクション共通スタイル */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #50C878;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #50C878, #3CB371);
    border-radius: 2px;
}

/* 求人概要セクション */
.recruit-overview-section {
    padding: 80px 0;
    background: transparent;
}

.recruit-overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.recruit-overview-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    font-weight: 600;
}

/* 募集職種セクション */
.job-positions-section {
    padding: 80px 0;
    background: transparent;
}

.job-positions-grid {
    display: grid;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    background: transparent;
    padding: 40px;
    border-radius: 20px;
}

.job-position-tile {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.job-position-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.job-position-header {
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.job-position-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: #e8eeea;
}

.job-position-content {
    padding: 30px;
}

.job-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.job-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #20B2AA;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
}

.detail-value {
    color: #555;
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

.job-description {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #20B2AA;
}

.job-description p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

/* 福利厚生セクション */
.benefits-section {
    padding: 80px 0;
    background: transparent;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-tile {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.benefit-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.benefit-header {
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 応募方法セクション */
.application-section {
    padding: 80px 0;
    background: transparent;
}

.application-content {
    max-width: 900px;
    margin: 0 auto;
}

.application-steps {
    display: grid;
    gap: 30px;
}

.application-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #20B2AA;
}

.step-number {
    background: linear-gradient(135deg, #20B2AA 0%, #40E0D0 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* お問い合わせセクション */
.contact-section {
    padding: 80px 0;
    background: transparent;
    color: #333;
}

.contact-section .section-title {
    color: #20B2AA;
}

.contact-section .section-title::after {
    background: linear-gradient(90deg, #20B2AA, #40E0D0);
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #666;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 250px;
    justify-content: center;
}

.contact-btn svg {
    width: 24px;
    height: 24px;
}

.contact-btn.primary {
    background: linear-gradient(135deg, #40E0D0, #20B2AA);
    color: #ffffff;
}

.contact-btn.primary:hover {
    background: linear-gradient(135deg, #48D1CC, #00CED1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
}

.contact-btn.secondary {
    background: transparent;
    color: #20B2AA;
    border: 2px solid #7FDBDA;
}

.contact-btn.secondary:hover {
    background: rgba(32, 178, 170, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.2);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .job-details {
        grid-template-columns: 1fr;
    }
    
    .job-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .detail-value {
        text-align: left;
        margin-left: 0;
    }
    
    .application-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        min-width: 280px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title-section {
        padding: 60px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .job-position-content {
        padding: 20px;
    }
    
    .job-detail-item {
        padding: 12px 15px;
    }
    
    .contact-btn {
        min-width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* スマートフォン対応 */
@media screen and (max-width: 480px) {
    .contact-section {
        padding: clamp(2rem, 6vw, 3rem) 0;
    }
    
    .contact-content {
        padding: 0 1rem;
    }
    
    .contact-description {
        font-size: clamp(0.9rem, 2vw, 1rem);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .contact-buttons {
        gap: 0.8rem;
    }
    
    .contact-btn {
        padding: clamp(0.7rem, 1.8vw, 1rem) clamp(1.2rem, 2.5vw, 1.8rem);
        font-size: clamp(0.8rem, 1.8vw, 1rem);
        min-width: 100%;
    }
}

/* 超小画面対応 */
@media screen and (max-width: 360px) {
    .contact-section {
        padding: clamp(1.5rem, 5vw, 2.5rem) 0;
    }
    
    .contact-content {
        padding: 0 0.5rem;
    }
    
    .contact-description {
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .contact-btn {
        padding: clamp(0.6rem, 1.6vw, 0.9rem) clamp(1rem, 2.2vw, 1.6rem);
        font-size: clamp(0.7rem, 1.6vw, 0.9rem);
    }
}

/* 大画面対応 */
@media screen and (min-width: 1200px) {
    .contact-section {
        padding: clamp(5rem, 8vw, 7rem) 0;
    }
    
    .contact-content {
        max-width: 900px;
    }
    
    .contact-description {
        font-size: clamp(1.1rem, 2.2vw, 1.3rem);
        line-height: 1.8;
        margin-bottom: 2.5rem;
    }
    
    .contact-buttons {
        gap: 1.5rem;
    }
    
    .contact-btn {
        padding: clamp(1.2rem, 2.5vw, 1.5rem) clamp(2.5rem, 4vw, 3rem);
        font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-position-tile,
.benefit-tile,
.application-step {
    animation: fadeInUp 0.6s ease-out;
}

.job-position-tile:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-tile:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-tile:nth-child(3) {
    animation-delay: 0.2s;
}

.benefit-tile:nth-child(4) {
    animation-delay: 0.3s;
}

.application-step:nth-child(2) {
    animation-delay: 0.1s;
}

.application-step:nth-child(3) {
    animation-delay: 0.2s;
}

.application-step:nth-child(4) {
    animation-delay: 0.3s;
}
