@charset "utf-8";

/* ============================================================
  採用情報詳細ページ
============================================================ */
.single_job_bg {
    background-color: #F3F8FB;
    background-image: 
        linear-gradient(to right, var(--grid_40_line_blue) 0.1rem, transparent 1px), 
        linear-gradient(to bottom, var(--grid_40_line_blue) 0.1rem, transparent 1px);
    background-size: var(--grid_40_size) var(--grid_40_size);
    background-position: 0 0;
    padding-top: 16rem; 
}

.single_job_white_box {
    background-color: #FFF;
    border-radius: 40px;
    max-width: 1440px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(74, 74, 74, 0.1); 
    padding: 8rem 12rem 12rem;
}

/* ============================================================
  Responsive: Background & Container
============================================================ */
@media (max-width: 1279px) {
    .single_job_white_box {
        padding: 6rem 6rem 8rem;
    }
}

@media (max-width: 1024px) {
    .single_job_bg {
        padding-top: 10rem;
    }
    .single_job_white_box {
        border-radius: 32px;
        padding: 4rem 4rem 6rem;
    }
}

@media (max-width: 767px) {
    .single_job_bg {
        padding-top: 8rem;
    }
    .single_job_white_box {
        padding: 4rem 2rem 5rem;
        border-radius: 20px;
    }
}

/* ============================================================
  ヘッダー部分
============================================================ */
.single_job_head {
    margin-bottom: 12rem;
    padding-bottom: 4rem;
    border-bottom: 1px dashed #D6E4F5;
}

.single_job_title {
    font-size: 3.2rem;
    font-weight: bold;
    color: #4A4A4A;
    line-height: 1.45;
    margin-bottom: 1rem;
}
/* ============================================================
  Responsive: Header & Badges
============================================================ */
@media (max-width: 1024px) {
    .single_job_head {
        margin-bottom: 4rem;
        padding-bottom: 3.2rem;
    }
    .single_job_title {
        font-size: 2.6rem;
    }
}
@media (max-width: 767px) {
    .single_job_head {
        margin-bottom: 4rem;
        padding-bottom: 3.2rem;
    }
    .single_job_title {
        font-size: 2.2rem;
    }
    a.jobs_badge {
        font-size: 1.2rem;
        padding: 0.4rem 1.2rem;
    }
}
/* バッジ（リンク対応） */
.jobs_card_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

a.jobs_badge {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

@media (hover: hover) {
    a.jobs_badge:hover {
        opacity: 0.7;
    }
}

.jobs_badge.status {
    background-color: #3583C6;
    color: #FFF;
}
.jobs_badge.type,
.jobs_badge.loc {
    background-color: #FFF;
    color: #3583C6;
    border: 1px solid #3583C6;
}

@media (max-width: 767px) {
    a.jobs_badge {
        font-size: 1.2rem;
        padding: 0.4rem 1.2rem;
    }
}

/* ============================================================
  詳細ブロック共通
============================================================ */
.job_detail_block {
    margin-bottom: 8rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6rem;
    &:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .job_detail_block {
        flex-direction: column;
        gap: 2.4rem;
        margin-bottom: 6rem;
    }
}

/* c_ttl-5 の色を黒に上書きし、幅を固定 */
.job_detail_ttl {
    width: 20rem;
    flex-shrink: 0;
    color: #4A4A4A !important;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 1024px) {
    .job_detail_ttl {
        width: 100%;
    }
}

.job_detail_txt {
    flex: 1;
    font-size: 1.6rem;
    line-height: 2;
    color: #4A4A4A;
    max-width: 90rem;
}
.wysiwyg_area p {
    font-size: 1.6rem;
    line-height: 2;
    /* font-size(1.6rem) × line-height(2) = 3.2rem (正確に空行1行分の高さを確保) */
    margin-bottom: 3.2rem; 
}
.wysiwyg_area a {
    color: #3583C6;
    text-decoration: underline;
}

/* WYSIWYGエリア内の最後の要素は要素の種類に関わらず下マージンをリセットし、親コンテナのpadding等との干渉を防ぐ */
.wysiwyg_area > *:last-child {
    margin-bottom: 0;
}
/* ============================================================
  Responsive: Detail Blocks
============================================================ */
@media (max-width: 1024px) {
    .job_detail_block {
        flex-direction: column;
        gap: 2.4rem;
        margin-bottom: 6rem;
    }
    .job_detail_ttl {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .job_detail_txt,
    .wysiwyg_area p {
        font-size: 1.4rem;
    }
}

/* ============================================================
  概要テーブル (点線区切り)
============================================================ */
.job_summary_list {
    flex: 1;
    border-top: 1px dashed #D6E4F5;
    width: 100%;
    a {
        color: #3583C6;
        text-decoration: underline;
    }
}

.job_summary_row {
    display: flex;
    border-bottom: 1px dashed #D6E4F5;
}

.job_summary_row dt {
    width: 25rem;
    flex-shrink: 0;
    padding: 3.2rem 0 3.2rem 0;
    font-size: 1.6rem;
    font-weight: bold;
    color: #4A4A4A;
}

.job_summary_row dd {
    flex: 1;
    padding: 2.4rem 0;
    font-size: 1.5rem;
    line-height: 2;
    color: #4A4A4A;
}

/* ============================================================
  Responsive: Summary Table
============================================================ */
@media (max-width: 767px) {
    .job_summary_row {
        flex-direction: column;
    }
    .job_summary_row dt {
        width: 100%;
        padding: 2rem 1.6rem 1.2rem 0;
        border-bottom: none;
    }
    .job_summary_row dd {
        padding: 0 0 2.4rem 0;
        font-size: 1.4rem;
    }
}
/* ============================================================
  応募方法（選考の流れ 吹き出しデザイン）
============================================================ */
.job_apply_wrap {
    flex: 1;
    display: flex;
    gap: 0;
    width: 100%;
}

@media (max-width: 1024px) {
    .job_apply_wrap {
        flex-direction: column;
        gap: 4rem;
    }
}

.job_apply_flow {
    width: 25rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .job_apply_flow {
        width: 100%;
        max-width: 40rem;
    }
}

.job_apply_flow_ttl {
    font-size: 1.6rem;
    color: #4A4A4A;
    line-height: 2;
    margin-bottom: 1.3rem;
    font-weight: 500;
}

.job_flow_list {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.job_flow_list li {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* 吹き出しの四角 */
.step_num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #DCE7F3; /* 薄い水色 */
    color: #3583C6;
    border-radius: 8px;
    font-family: "Saira", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    letter-spacing: 0.1em;
}

/* 吹き出しのしっぽ（下向きの三角） */
.step_num::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #DCE7F3;
}

.step_txt {
    font-size: 1.6rem;
    font-weight: 500;
    color: #4A4A4A;
    line-height: 1.5;
}

/* 最後（04）のみ青背景・白文字 */
.job_flow_list li:last-child .step_num {
    background-color: #3583C6;
    color: #FFF;
}

.job_flow_list li:last-child .step_num::after {
    content: none;
}

.job_flow_list li:last-child .step_txt {
    color: #3583C6;
}

.job_apply_desc {
    flex: 1;
    font-size: 1.5rem;
    line-height: 2;
    color: #4A4A4A;
}

/* ============================================================
  Responsive: Apply Flow
============================================================ */
@media (max-width: 1024px) {
    .job_apply_wrap {
        flex-direction: column;
        gap: 4rem;
    }
    .job_apply_flow {
        width: 100%;
        max-width: 40rem;
    }
}

@media (max-width: 767px) {
    
    .job_apply_desc {
        font-size: 1.4rem;
    }
}
/* ============================================================
  エントリーボタンエリア（lower_head風）
============================================================ */
.job_entry_area {
    margin-top: 16rem;
    background-color: #3583C6;
    /* 格子背景 */
    background-image: 
        linear-gradient(to right, var(--grid_40_line) 0.1rem, transparent 1px), 
        linear-gradient(to bottom, var(--grid_40_line) 0.1rem, transparent 1px);
    background-size: var(--grid_40_size) var(--grid_40_size);
    background-position: 0 0;
    border-radius: 24px;
    padding: 10rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #707070;
}

@media (max-width: 1024px) {
    .job_entry_area {
        margin-top: 8rem;
        padding: 8rem 3rem;
    }
}

@media (max-width: 767px) {
    .job_entry_area {
        padding: 6rem 2rem;
        margin-top: 6rem;
    }
}

/* 背景の巨大な透かし文字 */
.job_entry_bg_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5.6rem, 15vw, 20rem);
    font-family: "Saira", sans-serif;
    font-weight: bold;
    color: #FFF;
    opacity: 0.1;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
    z-index: 1;
}

.job_entry_lead {
    position: relative;
    z-index: 2;
    line-height: 2;
    color: #FFF;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .job_entry_lead {
        font-size: 1.4rem;
        margin-bottom: 3.2rem;
        font-weight: 500;
    }
}

.job_entry_btn {
    --btn-bg: #FFF;
    --btn-fg: #3583C6;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================================
  Responsive: Entry Area
============================================================ */
@media (max-width: 767px) {
    .job_entry_area {
        padding: 6rem 2rem;
        margin-top: 6rem;
    }
    .job_entry_bg_txt {
        font-size: clamp(4rem, 15vw, 10rem);
    }
    .job_entry_lead {
        font-size: 1.4rem;
        margin-bottom: 3.2rem;
        font-weight: 500;
    }
    .job_entry_btn {
        width: 100%;
        padding: 2rem 2.4rem;
        font-size: 1.6rem;
        justify-content: center;
    }
}
/* ============================================================
  一覧に戻るリンク（お知らせ詳細と同じデザイン）
============================================================ */

.job_back_btn_wrap {
    display: flex;
    justify-content: center;
    margin-top: 12rem;
}

.job_back_btn {
    position: relative; 
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: left;
    min-width: 28rem;
    height: 6rem;
    border-radius: 8px;
    background-color: transparent; 
    color: #3583C6;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 2.4rem;
    padding: 1.6rem 2.4rem;
}

/* --- 広がる青枠線の描写 (c_btn_arrow準拠) --- */
.job_back_btn::before {
    content: "";
    position: absolute;
    inset: -0.4rem; 
    border: 1px solid #3583C6; 
    border-radius: 12px; /* ボタンの角丸8px + 外への広がり4px */
    transform: scale(0.97);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.job_back_btn .c_btn_arrow_sep {
    margin-right: 1.6rem;
    background-color: currentColor;
    width: 1px;
    height: 2.2rem;
}

.job_back_btn_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.news_bottom_area {
    padding-bottom: 12rem;
}

/* --- ホバーアクション --- */
@media (hover: hover) {
    /* 背景色は変えず、外側の青線を表示しながら広げる */
    .job_back_btn:hover::before {
        transform: scale(1);
        opacity: 1;
    }

    /* 左向き矢印を少し左へスライド */
    .job_back_btn:hover .job_back_btn_arrow {
        transform: translateX(-4px);
    }
}

/* --- レスポンシブ --- */
@media (max-width: 767px) {
    .job_back_btn_wrap {
        margin-top: 4rem;
    }
    .job_back_btn {
        width: 100%;
        min-width: 0;
        max-width: 30rem;
    }
}

@media (max-width: 1024px) {
    .max_container_1800 {
        padding: 0 4rem;
    }
    .news_bottom_area  {
        padding-bottom: 6rem;
    }
}
@media (max-width: 767px) {
  .max_container_1800 {
        padding: 0 1.5rem;
    }
    .news_bottom_area  {
        padding-bottom: 6rem;
    }
}


/* ============================================================
  キャッチコピー（詳細ページ上部）
============================================================ */
.job_detail_catchphrase {
    width: 100%;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 8rem;
    padding-left: 2rem;
    position: relative;
        &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 0.4rem;
        height: 100%;
        background-color: #3583C6;
        border-radius: 2px;
    }
}

/* --- レスポンシブ調整 --- */
@media (max-width: 1024px) {
    .job_detail_catchphrase {
        font-size: 1.8rem;
        margin-bottom: 6rem;
    }
}

@media (max-width: 767px) {
    .job_detail_catchphrase {
        font-size: 1.6rem;
        margin-bottom: 4rem;
        padding-left: 1.2rem;
        &::before {
            width: 0.3rem;
        }
    }
}

