/* ===== 採用情報ページ専用スタイル ===== */

/* メッセージセクション */
.message-section {
    padding: 80px 0;
    background: #fff;
    width: 70%;
    margin: 0 auto;
}

.message-content {
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.message-intro h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.lead-text {
    font-size: 1.2rem;
    color: #ff6b6b;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: center;
}

.message-body {
    line-height: 1.8;
    color: #555;
}

.message-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* 可能性を表現する空の要素 */
.sky-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.flying-bird {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bird-1 {
    top: 20%;
    left: 10%;
    animation: flyAcross1 25s ease-in-out infinite;
}

.bird-2 {
    top: 15%;
    right: 15%;
    animation: flyAcross2 30s ease-in-out infinite;
}

.bird-3 {
    top: 60%;
    left: 5%;
    animation: flyAcross3 20s ease-in-out infinite;
}

.star {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.star-1 {
    top: 25%;
    left: 20%;
    animation: twinkle1 4s ease-in-out infinite;
}

.star-2 {
    top: 35%;
    right: 25%;
    animation: twinkle2 3s ease-in-out infinite;
}

.star-3 {
    top: 70%;
    left: 70%;
    animation: twinkle3 5s ease-in-out infinite;
}

.star-4 {
    top: 10%;
    left: 60%;
    animation: twinkle4 3.5s ease-in-out infinite;
}

/* フライングアニメーション */
@keyframes flyAcross1 {
    0% {
        transform: translateX(-50px) translateY(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.8;
    }
    50% {
        transform: translateX(calc(100vw - 100px)) translateY(-30px);
    }
    100% {
        transform: translateX(calc(100vw + 50px)) translateY(-10px);
        opacity: 0;
    }
}

@keyframes flyAcross2 {
    0% {
        transform: translateX(50px) translateY(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.6;
    }
    50% {
        transform: translateX(calc(-100vw + 100px)) translateY(20px);
    }
    100% {
        transform: translateX(calc(-100vw - 50px)) translateY(10px);
        opacity: 0;
    }
}

@keyframes flyAcross3 {
    0% {
        transform: translateX(-30px) translateY(0) scale(0.8);
        opacity: 0;
    }
    15%, 85% {
        opacity: 0.9;
    }
    50% {
        transform: translateX(calc(100vw - 50px)) translateY(-20px) scale(1);
    }
    100% {
        transform: translateX(calc(100vw + 30px)) translateY(-5px) scale(0.8);
        opacity: 0;
    }
}

/* キラキラアニメーション */
@keyframes twinkle1 {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes twinkle2 {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes twinkle3 {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.3);
    }
}

@keyframes twinkle4 {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.8;
        transform: scale(1.2) rotate(120deg);
    }
    66% {
        opacity: 0.3;
        transform: scale(0.9) rotate(240deg);
    }
}

.message-visual {
    text-align: center;
}

.ceo-photo {
    position: relative;
    display: inline-block;
}

.ceo-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ceo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 募集職種セクション */
.job-openings {
    padding: 80px 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.job-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.job-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.job-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.job-title-area {
    flex: 1;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.job-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-content {
    margin-top: 20px;
}

.job-section {
    margin-bottom: 25px;
}

.job-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 8px;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

.job-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.detail-label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    min-width: 80px;
}

.detail-value {
    color: #555;
    text-align: right;
    flex: 1;
}

/* 給与項目の強調スタイル */
.salary-value {
    font-weight: bold;
    font-size: 1.1em;
}

/* 働く環境セクション */
.work-environment {
    padding: 80px 0;
    background: #f8f9fa;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.env-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.env-card:hover {
    transform: translateY(-5px);
}

.env-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.env-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.env-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.env-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.env-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

.env-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* 応募方法セクション */
.application-process {
    padding: 80px 0;
}

.process-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #48dbfb, #ff9ff3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #555;
}

.contact-item a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.apply-button {
    text-align: center;
}

.apply-button .btn {
    width: 100%;
    padding: 15px 25px;
    font-size: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .message-section {
        width: 100%;
    }
    
    .message-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-description {
        width: 90%;
    }
    
    .message-intro h3 {
        font-size: 1.3rem;
    }
    
    .lead-text {
        font-size: 1.0rem;
    }
    
    .flying-bird {
        font-size: 1.5rem;
    }
    
    .star {
        font-size: 1.2rem;
    }
    
    .message-content,
    .process-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .job-icon {
        align-self: center;
    }
    
    .job-title-area {
        width: 100%;
        text-align: center;
    }
    
    .job-title {
        text-align: center;
    }
    
    .job-tags {
        justify-content: center;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-value {
        text-align: left;
    }
    
    .environment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-item {
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 20px;
    }
}

/* 募集がない場合のメッセージスタイル */
.no-jobs-container {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.no-jobs-message {
    max-width: 700px;
    margin: 0 auto;
}

.no-jobs-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-jobs-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.no-jobs-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.no-jobs-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.no-jobs-contact-text {
    font-size: 1rem;
    color: #888;
    margin-bottom: 30px;
}

.no-jobs-contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.no-jobs-contact-buttons .btn {
    min-width: 160px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.no-jobs-contact-buttons .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    color: white;
    border: none;
}

.no-jobs-contact-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #ff5252, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.no-jobs-contact-buttons .btn-outline {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.no-jobs-contact-buttons .btn-outline:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

@media (max-width: 480px) {
    .job-card,
    .env-card,
    .contact-info {
        padding: 20px;
    }
    
    .ceo-image {
        width: 150px;
        height: 150px;
    }
    
    .env-icon {
        width: 60px;
        height: 60px;
    }
    
    .env-icon svg {
        width: 30px;
        height: 30px;
    }

    .no-jobs-container {
        padding: 40px 15px;
        margin: 20px 0;
    }

    .no-jobs-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .no-jobs-icon svg {
        width: 30px;
        height: 30px;
    }

    .no-jobs-title {
        font-size: 1.5rem;
    }

    .no-jobs-contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .no-jobs-contact-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
