/* ======================================
   求職者向けメッセージセクション
   20代男性求職者に刺さるデザイン
====================================== */

.recruit-message-section {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.recruit-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #04AAC7 0%, #161955 50%, #04AAC7 100%);
}

.recruit-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.recruit-image-area {
    flex: 0 0 45%;
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.recruit-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.recruit-text-area {
    flex: 1;
    padding-left: 20px;
}

.recruit-main-title {
    font-size: 3rem;
    font-weight: 900;
    color: #001f3f !important;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: none;
    position: relative;
}

.recruit-main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #04AAC7, #161955);
    border-radius: 2px;
}

.recruit-sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #006b7d !important;
    margin-bottom: 24px;
    font-style: italic;
}

.recruit-description {
    color: #2d2d2d !important;
    line-height: 1.8;
    font-size: 0.9rem;
}

.recruit-description p {
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
    color: #2d2d2d !important;
}

.recruit-description p::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #006b7d !important;
    font-weight: bold;
}

.recruit-description p:last-child {
    margin-bottom: 0;
}

/* 強調テキストのスタイル */
.recruit-description strong,
.recruit-description b {
    color: #1a1a1a !important;
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(4, 170, 199, 0.3) 60%);
}

/* モバイル対応 (768px以下) */
@media screen and (max-width: 768px) {
    .recruit-message-section {
        padding: 40px 0;
        margin: 20px 0;
        border-radius: 8px;
    }

    .recruit-content-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .recruit-image-area {
        flex: none;
        width: 100%;
    }

    .recruit-text-area {
        flex: none;
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .recruit-main-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .recruit-main-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }

    .recruit-sub-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .recruit-description {
        text-align: left;
        font-size: 0.95rem;
    }

    .recruit-description p {
        padding-left: 16px;
    }
}

/* タブレット対応 (769px〜1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .recruit-content-wrapper {
        gap: 30px;
        padding: 0 15px;
    }

    .recruit-main-title {
        font-size: 2.6rem;
    }

    .recruit-sub-title {
        font-size: 1.6rem;
    }

    .recruit-description {
        font-size: 0.95rem;
    }
}

/* 小さなスマートフォン対応 (480px以下) */
@media screen and (max-width: 480px) {
    .recruit-message-section {
        padding: 30px 0;
        margin: 15px 0;
    }

    .recruit-content-wrapper {
        gap: 20px;
        padding: 0 10px;
    }

    .recruit-main-title {
        font-size: 1.8rem;
    }

    .recruit-sub-title {
        font-size: 1.2rem;
    }

    .recruit-description {
        font-size: 0.9rem;
    }

    .recruit-description p {
        padding-left: 12px;
        margin-bottom: 12px;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .recruit-message-section {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        color: #e2e8f0;
    }

    .recruit-main-title {
        color: #e2e8f0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .recruit-description {
        color: #cbd5e0;
    }

    .recruit-description strong,
    .recruit-description b {
        color: #e2e8f0;
        background: linear-gradient(transparent 60%, rgba(4, 170, 199, 0.4) 60%);
    }
}

/* アニメーション効果 */
.recruit-message-section {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recruit-main-title {
    animation: slideInLeft 0.6s ease-out 0.2s both;
}

.recruit-sub-title {
    animation: slideInLeft 0.6s ease-out 0.4s both;
}

.recruit-description {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ホバー効果 */
.recruit-content-wrapper:hover .recruit-main-title {
    color: #04AAC7;
    transition: color 0.3s ease;
}

.recruit-content-wrapper:hover .recruit-main-title::after {
    width: 120px;
    transition: width 0.3s ease;
}