@charset "utf-8";

/*
採用情報ページ専用スタイル
-------------------------------------------
既存 style.css のベーススタイルを前提として、
リクルートページ固有のスタイルのみを記述
-------------------------------------------*/


/*
サブトップ（ヒーロー）
-------------------------------------------*/
#sub_top.recruit {
    background-image: url(../img/recruit/img_hero_recruit.jpg);
    background-position: 0% 81%;
}


/*
採用メッセージセクション
-------------------------------------------*/
.recruit_message {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}

.recruit_message_img {
    float: right;
    max-width: 320px;
    width: 40%;
    margin-left: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recruit_message .recruit_message_text {
    font-size: 20px;
    line-height: 2.0;
    text-indent: 1em;
    margin-bottom: 20px;
}

.recruit_message_name {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-top: 30px;
    padding-right: 10px;
    clear: both;
}


/*
数字で見るMFフィードセクション
-------------------------------------------*/
.recruit_numbers_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.recruit_numbers_item {
    background-color: #FFF;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    padding: 30px 15px 35px;
    flex: 0 1 220px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recruit_numbers_item:hover {
    transform: translateY(-3px);
}

.recruit_numbers_icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.recruit_numbers_value {
    font-size: 42px;
    font-weight: bold;
    color: #00AA00;
    font-family: 'Raleway', sans-serif;
    line-height: 1.2;
    display: block;
}

.recruit_numbers_value span {
    font-size: 18px;
    color: #555;
    font-weight: normal;
    font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
}

.recruit_numbers_label {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
    display: block;
    line-height: 1.5;
}

.recruit_numbers_note {
    position: absolute;
    bottom: 8px;
    left: 15px;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05em;
    font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
}


/*
会社の魅力セクション（カード）
-------------------------------------------*/
.recruit_appeal_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.recruit_appeal_card {
    background-color: #FFF;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    padding: 40px 20px 30px;
    flex: 0 1 310px;
    max-width: 340px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruit_appeal_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.recruit_appeal_icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.recruit_appeal_card h4 {
    font-size: 22px;
    font-weight: bold;
    color: #00AA00;
    margin-bottom: 12px;
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, serif;
    letter-spacing: 0.05em;
}

.recruit_appeal_wrap .recruit_appeal_card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    padding: 0;
    text-align: left;
}


/*
募集要項セクション
-------------------------------------------*/
.recruit_requirements {
    max-width: 900px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.recruit_job_title {
    font-size: 22px;
    font-weight: bold;
    color: #00AA00;
    background-color: #f0faf0;
    border-left: 5px solid #00AA00;
    padding: 12px 20px;
    margin-top: 30px;
    margin-bottom: 0;
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recruit_job_toggle {
    font-size: 20px;
    color: #00AA00;
    font-weight: bold;
}

.recruit_job_details {
    display: none;
    margin-top: 15px;
    overflow: hidden;
}


/*
選考フローセクション
-------------------------------------------*/
.recruit_flow_wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.recruit_flow_step {
    text-align: center;
    width: 160px;
    position: relative;
}

.recruit_flow_number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #00AA00;
    color: #FFF;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    font-family: 'Raleway', sans-serif;
}

.recruit_flow_label {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
}

.recruit_flow_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    padding-top: 15px;
    color: #00CC00;
    font-size: 28px;
    font-weight: bold;
}


/*
先輩社員の声セクション
-------------------------------------------*/
.recruit_voice_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.recruit_voice_card {
    background-color: #FFF;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    flex: 0 1 300px;
    max-width: 340px;
    text-align: center;
    transition: transform 0.3s ease;
}

.recruit_voice_card:hover {
    transform: translateY(-3px);
}

.recruit_voice_photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00CC00;
    margin-bottom: 15px;
}

.recruit_voice_name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.recruit_voice_dept {
    font-size: 13px;
    color: #00AA00;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.recruit_voice_comment {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    text-align: left;
    background-color: #f8fdf8;
    border-radius: 8px;
    padding: 15px;
    position: relative;
}

.recruit_voice_comment::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f8fdf8;
}

/* --- インタビューボタン --- */
.recruit_voice_btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
    background-color: #00AA00;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.recruit_voice_btn:hover {
    color: #FFF;
    transform: scale(1.05);
}

/*
インタビューページ
-------------------------------------------*/
.interview_header {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 40px;
    background: #f0faf0;
    border-radius: 16px;
    padding: 25px 30px;
    box-sizing: border-box;
}

.interview_photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00CC00;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 170, 0, 0.2);
}

.interview_profile {
    flex: 1;
    min-width: 0;
}

.interview_profile_tag {
    display: inline-block;
    background-color: #00AA00;
    color: #FFF;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.interview_dept {
    font-size: 14px;
    color: #00AA00;
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

.content .interview_name {
    font-size: 28px;
    line-height: 1.4;
    color: #333;
    font-weight: bold;
    margin: 0 0 4px;
    padding: 0;
    border-bottom: none;
    text-align: left;
    letter-spacing: normal;
    font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
}

.interview_name_sub {
    font-size: 14px;
    color: #888;
}

/* --- 本文コンテナ --- */
.interview_body {
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    box-sizing: border-box;
}



.interview_body p {
    margin: 10px 0 15px;
    padding: 0;
}

/* --- 画像 --- */
.interview_image_row {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.interview_image_row img {
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    width: 100%;
    height: auto;
}

.interview_image_row.col2 img {
    flex: 1;
    max-width: calc(50% - 10px);
}

.interview_image_row.col1 {
    justify-content: center;
}

.interview_image_row.col1 img {
    max-width: 75%;
}

.interview_image_caption {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* --- Q&Aカード --- */
.interview_qa_item {
    background: #FFF;
    border: 1px solid #e0f0e0;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interview_qa_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.interview_qa_q {
    font-weight: bold;
    font-size: 18px;
    color: #00AA00;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dotted #e0f0e0;
}

.interview_qa_a {
    font-size: 17px;
    line-height: 2.0;
    color: #555;
}

/* --- キャリアパス（時系列） --- */
.interview_timeline {
    max-width: 800px;
    margin: 50px auto 40px;
    position: relative;
    padding: 0;
}

.interview_timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100px;
    width: 3px;
    background: #e0f0e0;
    border-radius: 3px;
    z-index: 1;
}

.interview_timeline_item {
    position: relative;
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.interview_timeline_item:last-child {
    margin-bottom: 0;
}

.interview_timeline_item::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 91px; 
    width: 15px;
    height: 15px;
    background: #00AA00;
    border-radius: 50%;
    border: 3px solid #FFF;
    box-shadow: 0 0 0 3px #e0f0e0;
    z-index: 2;
    transition: background 0.3s, transform 0.3s;
}

.interview_timeline_item:hover::after {
    background: #00CC00;
    transform: scale(1.2);
}

.timeline_time_box {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 18px 0;
}

.timeline_time_box .time_label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #00AA00;
    line-height: 1;
}

.timeline_time_box .time_desc {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    font-weight: bold;
    font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
}

.timeline_content {
    flex-grow: 1;
    margin-left: 40px;
    background: #FFF;
    border: 1px solid #e0f0e0;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline_content::before {
    content: "";
    position: absolute;
    top: 25px;
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #e0f0e0;
}
.timeline_content::after {
    content: "";
    position: absolute;
    top: 25px;
    left: -9px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #FFF;
}

.interview_timeline_item:hover .timeline_content {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content .timeline_title {
    font-size: 18px;
    font-weight: bold;
    color: #00AA00;
    margin: 0 0 15px 0;
    border-bottom: 2px dashed #e0f0e0;
    padding: 0 0 12px 0;
}

.timeline_tasks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline_tasks li {
    font-weight: bold;
    color: #444;
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.timeline_tasks li:last-child {
    margin-bottom: 0;
}

.timeline_tasks li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    margin-right: 8px;
    margin-top: 4px;
    color: #aaa;
}

.interview_back {
    text-align: center;
    padding: 30px 0 50px;
}





/*
エントリーフォームエリア
-------------------------------------------*/
.recruit_entry_area {
    text-align: center;
    padding: 50px 20px 60px;
    background-color: #f0faf0;
    border-top: 3px solid #00CC00;
    border-bottom: 3px solid #00CC00;
}

.recruit_entry_area h2 {
    font-size: 28px;
    color: #029e02;
    margin-bottom: 15px;
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, serif;
    border-bottom: none;
}

.recruit_entry_area .recruit_entry_text {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.recruit_entry_area .recruit_entry_note {
    font-size: 13px;
    color: #888;
    margin-bottom: 30px;
    display: block;
}

/* --- フォーム --- */
#entry_form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    background: #FFF;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

#entry_form dl {
    width: 100%;
}

#entry_form dt {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    padding: 18px 0 5px;
    clear: both;
}

#entry_form dt:first-of-type {
    padding-top: 0;
}

#entry_form dd {
    padding: 0 0 5px;
    margin: 0;
}

#entry_form .label_required {
    display: inline-block;
    background-color: #DD3C3C;
    color: #FFF;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

#entry_form input[type="text"],
#entry_form input[type="email"],
#entry_form select,
#entry_form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #CCC;
    border-radius: 5px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

#entry_form input[type="text"]:focus,
#entry_form input[type="email"]:focus,
#entry_form select:focus,
#entry_form textarea:focus {
    border-color: #00AA00;
    box-shadow: 0 0 5px rgba(0, 170, 0, 0.2);
    background: #FFF;
    outline: none;
}

#entry_form textarea {
    height: 120px;
    resize: vertical;
}

#entry_form input[type="file"] {
    font-size: 14px;
    color: #555;
    padding: 5px 0;
    width: 100%;
    box-sizing: border-box;
}

#entry_form .entry_file_note {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

/* style.css の max-width:300px !important を打ち消し */
#entry_form input,
#entry_form textarea {
    max-width: none !important;
}

#entry_form .g-recaptcha {
    margin: 10px 0;
    max-width: 100%;
    overflow: hidden;
}

#entry_submit {
    display: inline-block;
    padding: 12px 50px;
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
    background-color: #00CC00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

#entry_submit:hover {
    transform: scale(1.05);
}


/*
セクション区切り（背景色切り替え）
-------------------------------------------*/
/*
===========================================
レスポンシブ対応：800px 以下（スマホ・タブレット）
===========================================*/
@media screen and (max-width: 800px) {

    /* --- 採用メッセージ --- */
    .recruit_message {
        padding: 0 15px;
    }

    .recruit_message_img {
        float: none;
        display: block;
        width: 70%;
        max-width: 280px;
        margin: 0 auto 20px;
    }

    .recruit_message .recruit_message_text {
        font-size: 16px;
    }

    /* --- 数字で見る --- */
    .recruit_numbers_wrap {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .recruit_numbers_item {
        flex: none;
        width: 100%;
        box-sizing: border-box;
        padding: 22px 20px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
    }

    .recruit_numbers_icon {
        margin-bottom: 0;
        margin-right: 15px;
        order: 1;
    }

    .recruit_numbers_label {
        margin-top: 0;
        font-size: 18px;
        order: 2;
        flex: 1;
    }

    .recruit_numbers_note {
        left: 71px;
        bottom: 5px;
    }

    .recruit_numbers_value {
        font-size: 28px;
        order: 3;
    }

    .recruit_numbers_icon svg {
        width: 32px;
        height: 32px;
    }

    /* --- 魅力カード --- */
    .recruit_appeal_wrap {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }

    .recruit_appeal_card {
        width: 100%;
        max-width: none;
        flex: none;
        box-sizing: border-box;
    }

    /* --- 選考フロー（横一列コンパクト） --- */
    .recruit_flow_wrap {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        padding: 0 10px;
    }

    .recruit_flow_step {
        width: auto;
        flex: 1;
        max-width: 120px;
    }

    .recruit_flow_number {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .recruit_flow_label {
        font-size: 15px;
    }

    .recruit_flow_label br {
        display: none;
    }

    .recruit_flow_arrow {
        width: 40px;
        padding-top: 10px;
        font-size: 28px;
        transform: none;
    }

    /* --- 先輩社員の声（横スクロール） --- */
    .recruit_voice_wrap {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 15px 15px;
        margin-top: 10px;
    }

    .recruit_voice_card {
        flex: 0 0 280px;
        max-width: 280px;
        scroll-snap-align: center;
    }

    /* --- 募集要項 --- */
    .recruit_requirements {
        padding: 0 10px;
    }

    .recruit_job_title {
        font-size: 18px;
        padding: 10px 15px;
    }

    /* --- エントリーフォーム --- */
    .recruit_entry_area {
        padding: 30px 15px 40px;
    }

    .recruit_entry_area h2 {
        font-size: 22px;
    }

    #entry_form {
        padding: 20px;
    }

    #entry_form dt {
        font-size: 14px;
        padding-top: 14px;
    }

    #entry_form input[type="text"],
    #entry_form input[type="email"],
    #entry_form select,
    #entry_form textarea {
        font-size: 14px;
        padding: 8px 10px;
    }

    #entry_submit {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    /* --- インタビューページ --- */
    .interview_header {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        margin: 0 15px 30px;
        gap: 15px;
    }

    .interview_photo {
        width: 100px;
        height: 100px;
    }

    .content .interview_name {
        font-size: 22px;
        text-align: center;
    }

    .interview_body h3 {
        font-size: 18px !important;
        padding: 12px 10px 6px 38px !important;
    }

    .interview_image_row.col2 {
        flex-direction: column;
    }

    .interview_image_row.col2 img {
        max-width: 100%;
    }

    .interview_image_row.col1 img {
        max-width: 100%;
    }

    .interview_qa_item {
        padding: 20px;
    }

    /* --- タイムライン（モバイル） --- */
    .interview_timeline::before {
        left: 20px;
    }
    
    .interview_timeline_item {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .interview_timeline_item::after {
        top: 6px;
        left: 11px;
    }
    
    .timeline_time_box {
        width: auto;
        padding: 0 0 0 40px;
        background: transparent;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .timeline_time_box .time_label {
        font-size: 22px;
    }
    
    .timeline_time_box .time_desc {
        margin-top: 0;
        font-size: 14px;
    }
    
    .timeline_content {
        margin-left: 40px;
        margin-top: 15px;
        padding: 20px;
        width: calc(100% - 40px);
        box-sizing: border-box;
    }
    
    .timeline_content::before,
    .timeline_content::after {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    .recruit_flow_step {
        max-width: 80px;
    }

    .recruit_flow_number {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 14px;
    }

    .recruit_flow_label {
        font-size: 12px;
    }

    .recruit_flow_arrow {
        font-size: 14px;
        width: 16px;
    }

    .recruit_voice_card {
        flex: 0 0 250px;
        max-width: 250px;
    }
}
