/* 
 * デスクトップ版採用情報ページスタイル
 */

/* 採用メッセージセクション */
.recruitment-message {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;
}

.recruitment-message-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.recruitment-message-content {
    width: 100%;
    text-align: center;
}

.recruitment-message-wrapper {
    text-align: center;
}

.recruitment-message-text {
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: bold;
    color: rgb(164, 11, 94);
    animation: riseUp 1s ease-out forwards;
    text-align: center;
}

/* リード部分 */
.recruitment-lead {
    margin-bottom: 40px; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto;
}

.recruitment-lead__title {
    color: rgb(164, 11, 94); 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
    text-align: center;
}

.recruitment-lead__text {
    font-size: 1.1rem; 
    line-height: 1.8; 
    margin-bottom: 15px; 
    text-align: left;
}

/* 求める人材像タイトル */
.recruitment-message-title {
    text-align: center;
    color: rgb(164, 11, 94);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* カードグリッド */
.recruitment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* カード共通スタイル */
.quality-card {
    width: 100%;
    height: 240px;
    border: 2px solid rgb(164, 11, 94);
    border-radius: 5px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 背景大文字 */
.quality-card__bg-letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 220px; /* 大きさをさらに調整 */
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold; /* 太字（ボールド）に設定 */
    color: rgb(164, 11, 94);
    opacity: 0.1; /* 透明度は変更せず維持 */
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.quality-card__english {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.quality-card__letter {
    font-size: 1.3rem;
    font-weight: bold;
    color: rgb(164, 11, 94);
}

.quality-card__english-text {
    font-size: 1.1rem;
    color: rgb(164, 11, 94);
}

.quality-card__japanese {
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.quality-card__japanese-text {
    font-size: 1.3rem;
    font-weight: bold;
}

.quality-card__description {
    position: relative;
    z-index: 2;
}

.quality-card__description-text {
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: justify;
}

/* タイトル内のREGAZE部分 */
.title-regaze {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: bold;
}

/* タグライン（最後のメッセージ） */
.recruitment-tagline {
    margin-top: 40px;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
}

.recruitment-tagline__title {
    color: rgb(164, 11, 94);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.recruitment-tagline__container {
    background-color: rgb(164, 11, 94);
    color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    margin: 0;
    width: 100%;
    opacity: 1;
}

.recruitment-tagline__text {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* 採用情報ページ全体の設定 */
.recruitment-container {
    position: relative !important;
    overflow: hidden !important;
    /* 横幅指定なし */
    box-sizing: border-box !important;
    min-height: 100% !important; /* ページ縦幅100%を確保 */
    height: 100% !important; /* ページ縦幅100%を確保 */
}

.background-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.content-wrapper {
    min-height: 100vh !important; /* 最低でもビューポートの高さ */
    height: 100% !important; /* コンテンツに合わせて拡大 */
    position: relative !important;
    /* 横幅指定なし */
    margin: 0 !important;
    padding: 0 !important;
}

/* 収穫セクション - タイトルと説明 */
.recruitment-body-top {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    min-height: 50vh;
    height: 50vh;
}

.recruitment-top-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.recruitment-top-content {
    width: 100%;
    margin: 0;
    text-align: center;
}

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

/* タイトルと説明文 */
.recruitment-title {
    animation: riseUp 1s ease-out forwards;
    color: rgb(164, 11, 94);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.6);
    font-size: 28px;
    text-align: center;
    font-family: YuMincho, '游明朝体', 'YuMincho', '游明朝', 'Yu Mincho', 'Hiragino Mincho ProN', 'ヒラギノ明朝 Pro W3';
}

.recruitment-description {
    animation: riseUp 1s ease-out 0.3s forwards;
    opacity: 0;
    color: black;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.6);
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    font-size: 18pt;
    margin-top: 20px;
}

/* 採用情報本文セクション */
.recruitment-body {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.recruitment-body-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 10px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.recruitment-body-content {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* 職種セクションのタイトル */
.recruitment-body .section-title {
    font-size: 24pt;
    margin-bottom: 30px;
    color: rgb(164, 11, 94);
}

/* 職種セクションの説明 */
.jobs-section-description {
    animation: riseUp 1s ease-out 0.2s forwards;
    opacity: 0;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14pt;
    line-height: 1.8;
    font-weight: normal;
}

/* 職種リストのアニメーション */
@keyframes jobItemRiseUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 職種一覧アイテム */
.job-listing-container {
    width: 100%;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.job-listing-link {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: center;
}

.job-listing-item {
    background-color: white;
    color: black;
    padding: 0;
    border-radius: 5px;
    border: 2px solid rgb(164, 11, 94);
    display: grid;
    grid-template-columns: 30% 70%;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: jobItemRiseUp 0.8s ease-out forwards;
    box-sizing: border-box;
    overflow: hidden;
}

.job-listing-item:hover {
    border-color: rgb(134, 9, 77);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.job-title-section {
    font-weight: bold;
    font-size: 13pt;
    padding: 20px;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    background-color: rgba(164, 11, 94, 0.05);
    box-sizing: border-box;
}

.job-title-section * {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.job-description-section {
    padding: 20px;
    text-align: left;
    font-size: 16pt;
    line-height: 1.6;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* 働き方の特徴 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}

.feature-card {
    background-color: white;
    border-radius: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(164, 11, 94, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.feature-header {
    background-color: white;
    color: rgb(164, 11, 94);
    padding: 15px;
    text-align: center;
}

.feature-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    padding: 2px 10px;
    background-color: rgba(164, 11, 94, 0.1);
    border-radius: 15px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.feature-body {
    padding: 15px;
}

.feature-body p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 応募方法セクション */
.recruitment-entry {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.recruitment-entry-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 10px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.recruitment-entry-content {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.application-box {
    background-color: white;
    padding: 25px;
    border-radius: 6px;
    width: 100%;
    margin: 20px 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.application-description {
    font-size: 13pt;
    line-height: 1.8;
    text-align: left;
    margin: 0 0 20px 0;
    padding: 0;
}

.application-email-container {
    margin: 20px 0 0 0;
    padding: 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mail-icon {
    margin-right: 12px;
}

.application-email {
    color: rgb(164, 11, 94);
    font-size: 13pt;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.application-email:hover {
    opacity: 0.7;
}