/* ===========================================
   スタッフ募集セクション
   左から伸びる装飾要素のみ（カード削除版）
=========================================== */

/* PC用レイアウト */
.recruit-section-pc {
    width: 100%;
    position: relative;
    margin: clamp(48px, 8vw, 64px) auto clamp(64px, 12vw, 192px); /* レスポンシブ対応 */
    padding: 64px 160px;
}

.recruit-section-pc__content-area {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右側に配置 */
    gap: 2rem;
}

/* 左側：画像 */
.recruit-section-pc__left-area {
    position: absolute;
    left: -160px;
    top: 80px; /* 画像を少し下にずらす */
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 3;
}

/* 装飾要素（左から伸びる） */
.recruit-section-pc__decoration {
    width: calc(100% + 160px);
    padding: 2rem calc(160px + 2rem) 2rem 2rem;
    background: linear-gradient(135deg, 
        rgba(124, 93, 148, 0.12) 0%, 
        rgba(155, 123, 180, 0.09) 50%, 
        rgba(124, 93, 148, 0.06) 100%
    );
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 200px;
    position: relative;
}

.recruit-section-pc__image-container {
    width: 100%;
}

.recruit-section-pc__image-wrapper {
    width: 100%;
}

.recruit-section-pc__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: clamp(6px, 1.5vw, 8px); /* 画面サイズに応じて可変 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* 右側：テキストグループ（右から伸びる） */
.recruit-section-pc__text-group {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    display: flex;
    padding: 48px 120px 48px 40px;
    background: linear-gradient(135deg, 
        rgba(74, 85, 104, 0.85) 0%, 
        rgba(113, 128, 150, 0.85) 50%, 
        rgba(160, 174, 192, 0.85) 100%
    );
    border-radius: 12px 0 0 12px;
    /* 画面右端から始まるように */
    margin-right: -160px;
    /* レスポンシブ対応 */
    max-width: calc(60% + 160px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

/* text-group内のsection-headerを白色に */
.recruit-section-pc__text-group .section-header__ja-title,
.recruit-section-pc__text-group .section-header__en-title {
    color: var(--color-white);
}

.recruit-section-pc__title {
    color: #ffffff;
    font-size: 48px;
    font-family: var(--font-ja);
    font-weight: 400;
    line-height: 1.4;
}

.recruit-section-pc__subtitle {
    color: #ffffff;
    font-size: 24px;
    font-family: var(--font-ja);
    font-weight: 400;
    line-height: 1.6;
}

.recruit-section-pc__text {
    color: #ffffff;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-family: var(--font-ja);
    font-weight: 400;
    line-height: var(--body-line-height-pc);
}

.recruit-section-pc__button-area {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.recruit-section-pc__button-area .c-btn__primary--text {
    color: var(--color-white);
}

/* SP用レイアウト */
.recruit-section-sp {
    width: 100%;
    margin: 48px 0 0;
    overflow: hidden;
    background: url('../images/recruit-image.jpg');
    background-size: cover;
    background-position: center;
}

.recruit-section-sp__inner {
    padding: var(--section-padding-sp);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.recruit-section-sp__content {
    width: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.recruit-section-sp__text-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.recruit-section-sp__title {
    width: max-content;
    color: #333333;
    font-size: 28px;
    font-family: var(--font-ja);
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
    position: relative;
}

/* タイトル装飾: センター配置グラデーション */
.recruit-section-sp__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #9B7BB4 20%, 
        #9B7BB4 80%,
        transparent 100%
    );
}

.recruit-section-sp__subtitle {
    color: #4B2355;
    font-size: 18px;
    font-family: var(--font-ja);
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
}

.recruit-section-sp__text {
    color: #333333;
    font-size: 1rem;
    font-family: var(--font-ja);
    font-weight: 400;
    line-height: 1.8;
}

.recruit-section-sp__button-area {
    display: flex;
    justify-content: flex-end;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .recruit-section-pc {
        display: none;
    }
}

@media (min-width: 768px) {
    .recruit-section-sp {
        display: none;
    }
}

/* 中間サイズの画面対応 */
@media (max-width: 1200px) {
    .recruit-section-pc {
        padding: 64px 80px;
    }
    
    .recruit-section-pc__left-area {
        top: 160px;
        left: -80px;
    }
    
    .recruit-section-pc__decoration {
        width: calc(100% + 80px);
        padding: 2.5rem calc(80px + 1.5rem) 2.5rem 1.5rem;
    }
    
    .recruit-section-pc__text-group {
        margin-right: -80px;
        padding: 40px calc(80px + 32px) 40px 32px;
        max-width: calc(70% + 80px);
    }
}

/* 960px未満：画像を下に移動、左から伸びる感じに */
@media (max-width: 960px) {
    .recruit-section-pc {
        margin: 0;
        padding: 48px 40px;
    }
    
    .recruit-section-pc__content-area {
        align-items: flex-end; /* テキストは右寄せのまま */
    }
    
    /* テキストグループは変更なし（右から伸びたまま） */
    .recruit-section-pc__text-group {
        margin-right: -40px;
        padding: 32px calc(40px + 24px) 32px 32px;
        max-width: calc(80% + 40px);
        order: 1;
    }
    
    /* 画像エリア：下に移動して左から伸びる */
    .recruit-section-pc__left-area {
        position: static; /* 絶対配置解除 */
        width: 70%; /* 幅を大きく（60% → 70%） */
        left: 0;
        order: 2; /* 下に配置 */
        align-self: flex-start; /* 左寄せ */
    }
    
    .recruit-section-pc__decoration {
        width: calc(100% + 40px); /* 左にはみ出す */
        margin-left: -40px; /* 左から伸びる */
        padding: 2rem 2rem 2rem calc(40px + 2rem);
        border-radius: 0 12px 12px 0; /* 右側に丸み */
    }
    
    /* 画像自体も少し大きく */
    .recruit-section-pc__image {
        transform: scale(1.05); /* 10%拡大 */
    }
    
    .recruit-section-pc__title {
        font-size: clamp(28px, 5vw, 36px);
    }
    
    .recruit-section-pc__subtitle {
        font-size: clamp(16px, 3vw, 20px);
    }
    
    .recruit-section-pc__text {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
    }
}
