/* 招聘页面专用样式 */

/* 职业信息页头部样式 */
.page-header {
    padding-top:60px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0) 25%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 75%);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 招聘信息部分 */
.career-message {
    position: relative;
    overflow: hidden;  
    background-color: #fdf6e3; /* 柔和的米黄色，类似米色纸 */
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.career-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a69bd' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.message-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.message-content h2 {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
    display: inline-block;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.message-content h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: -10px;
    left: 0;
    background: linear-gradient(to right, #4a69bd, #2c3e50);
    border-radius: 2px;
}

.message-content .lead {
    font-size: 1.5rem;
    color: #4a69bd;
    font-weight: 600;
    margin-bottom: 20px;
}

.message-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.7s forwards;
}

.message-image {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.message-image img {
    transition: all 0.5s ease;
}

.message-image:hover img {
    transform: scale(1.05);
}

/* 职位列表样式 */
.job-listings {
    /* background: linear-gradient(135deg, #e0e7ff, #ffffff); */
    padding: 40px 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.job-listings .table {
    animation: slideIn 0.8s ease-out 0.3s forwards;
}

.job-listings .table td {
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.job-listings .table td:hover {
    transform: perspective(1000px) rotateY(10deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background-color: #f8fbff;
    z-index: 10;
    position: relative;
}

.job-listings .table h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.job-listings .table p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.job-listings .badge {
    margin-right: 10px;
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 30px;
}

.job-listings .btn-outline-primary {
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.job-listings .btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.2);
}

/* 福利厚生部分 */
.benefits {
    background-color: white;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a69bd, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 30px;
    color: white;
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(180deg);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.benefit-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.benefit-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 25px;
    color: #555;
    font-size: 0.95rem;
}

.benefit-card ul li:last-child {
    border-bottom: none;
}

.benefit-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #4a69bd;
    position: absolute;
    left: 0;
    top: 8px;
}

/* 採用プロセス部分 */
.recruitment-process {
    position: relative;
    overflow: hidden;
}

.recruitment-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234a69bd' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 85%;
    background: linear-gradient(to bottom, rgba(74, 105, 189, 0.2), rgba(44, 62, 80, 0.3));
}

.process-step {
    position: relative;
    width: 50%;
    padding: 30px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    animation: fadeInUp 0.8s ease-out forwards;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.process-step:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.process-step::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    right: -12.5px;
    top: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a69bd, #2c3e50);
    box-shadow: 0 0 10px rgba(74, 105, 189, 0.5);
}

.process-step:nth-child(even)::after {
    left: -12.5px;
}

.step-number {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a69bd, #2c3e50);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    right: 10px;
    left: 2px;
    top: 2px;
    z-index: 1;
}

.process-step:nth-child(even) .step-number {
    left: 10px;
}

.process-step h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    white-space: nowrap;
}

.process-step p {
    margin-bottom: 0;
    color: #666;
}

/* エントリーCTA部分 */
.entry-cta {
    background: linear-gradient(135deg, #eaf3fc 0%, #dbe8f7 100%);
    color: #1a3b6d;
    /* position: relative; */
    overflow: hidden;
}

/* .entry-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.entry-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1));
} */

.entry-cta .container {
    position: relative;
    z-index: 1;
}

.entry-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.entry-cta .lead {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.entry-cta .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: white;
    color: #1a3b6d;
    border: 2px solid white;
    /* transform: translateY(30px); */
    /* opacity: 0; */
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.entry-cta.active .btn {
    opacity: 1;
    transform: translateY(0);
}

/* ボタンホバーエフェクト */
.entry-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a3b6d;
    transition: all 0.4s ease;
    z-index: -1;
}

.entry-cta .btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.entry-cta .btn:hover::before {
    left: 0;
}

/* Floating Elements */
.entry-cta .floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.entry-cta .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.entry-cta .floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.entry-cta .floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .message-content {
        margin-bottom: 30px;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        width: 100%;
        padding-left: 70px;
        padding-right: 30px;
        text-align: left;
        left: 0;
    }
    
    .process-step::after {
        left: 18px;
        right: auto;
    }
    
    .process-step:nth-child(odd) {
        text-align: left;
        padding-right: 30px;
    }
    
    .process-step:nth-child(even) {
        left: 0;
    }
    
    .process-step .step-number {
        left: 10px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .message-content h2 {
        font-size: 2rem;
    }
    
    .message-content .lead {
        font-size: 1.2rem;
    }
    
    .entry-cta h2 {
        font-size: 1.8rem;
    }
    
    .entry-cta p.lead {
        font-size: 1.1rem;
    }
    
    .job-listings .table td {
        display: block;
        width: 100%;
    }
    
    .benefit-card {
        margin-bottom: 30px;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
} 