@charset "UTF-8";

/* ==========================================================================
   Recruit Job Type Page Styles (PC)
   ========================================================================== */

/* Header styles handled in common.css */

/* Common */
main {
    background-color: #FFF;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-flow {
    position: relative;
    width: 100%;
    height: 445px;
    background: linear-gradient(179.66deg, #004981 0.58%, #0068B7 59.44%, #004981 98.68%);
    color: #FFF;
    display: flex;
    align-items: center;
    padding-top: 80px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-flow-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
}

.hero-flow-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 2.7;
    color: #FFF;
}

.hero-line {
    width: 61px;
    height: 1px;
    background-color: #FFF;
    margin: 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.375;
    color: #FFF;
}

.hero-desc {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
    color: #FFF;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Section Common
   -------------------------------------------------------------------------- */
.section-flow-overview {
    padding: 64px 0 0 0;
    position: relative;
}

.section-job-descriptions,
.section-requirements,
.section-other-jobs {
    padding: 64px 0;
    position: relative;
}

.section-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-label {
    display: none; /* PC版では非表示 */
}

.header-line {
    width: 24px;
    height: 8px;
    background-color: #0068B7;
    border-radius: 4px;
    display: block;
}

.section-title {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.section-intro {
    font-size: 16px;
    line-height: 1.75;
    color: #303030;
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Flow Overview (Image Visualization)
   -------------------------------------------------------------------------- */
.flow-chart-image-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.flow-chart-image {
    width: 100%;
    height: auto;
    display: block;
}

/* SP用フロー図と拡大モーダルを非表示 */
.flow-chart-image-wrapper-sp {
    display: none;
}

.zoom-modal {
    display: none;
}

/* --------------------------------------------------------------------------
   Job Descriptions (Table Style)
   -------------------------------------------------------------------------- */
.job-description-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #CDD8DE;
    background-color: #CDD8DE;
    gap: 2px;
}

.job-card {
    display: flex;
    flex-direction: row; /* Force row layout */
    background-color: #FFF;
    border: none;
    border-radius: 0;
    margin: 0;
    gap: 0;
}

.job-card-header {
    width: 179px;
    flex-shrink: 0;
    background-color: #E1F0FA;
    padding: 24px;
    display: flex;
    align-items: flex-start; /* Changed from center to top align based on multi-row requirement, but some cards need stretch */
    justify-content: flex-start;
}

.job-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #002D6F;
    line-height: 1.5;
    font-feature-settings: "palt";
}

.job-card-title-group {
    display: flex;
    flex-direction: column;
}

/* Content (Right Side) */
.job-card-content {
    flex-grow: 1;
    background-color: #FFF;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

/* Multi-row layout for Engineer/Proofreader - mimic table rows */
.job-card-multi-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background-color: #CDD8DE;
}

.job-row {
    display: flex;
    flex-direction: row;
    background-color: #FFF;
}

/* For multi-row headers that span multiple content blocks, 
   we might need a different HTML structure or use flex alignment.
   Based on screenshot: "校正者" spans 2 rows. 
   We will achieve this by making the header height auto and using flex-stretch on the container 
   if we wrap them in a single card container.
*/

/* Reset previous card styles to fit table look */
.job-card {
    border: none;
    background-color: transparent; /* Container is transparent to show gap color */
}

/* Specific adjustments for shared header cards (like Engineer) */
.job-card-shared {
    display: flex;
    flex-direction: row;
    background-color: #FFF;
}

.job-card-shared .job-card-header {
    align-self: stretch; /* Stretch to fill height of multiple content blocks */
    background-color: #E1F0FA;
}

.job-card-shared .job-card-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: transparent;
}

.job-content-block {
    background-color: #FFF;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: none;
}

.job-content-block:not(:first-child) {
    padding-top: 0;
    margin-top: -8px;
}

/* Override flex direction for card to be row */
.job-card {
    flex-direction: row;
    align-items: stretch;
}

.job-card-header {
    /* Height matches content */
}

/* Step Badge */
.step-badge {
    background-color: #0068B7;
    border-radius: 8px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    width: fit-content;
}

.step-label {
    font-size: 16px;
    font-weight: 700;
    color: #FFF;
    line-height: 1.5;
}

.step-num {
    font-family: 'SF Pro', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #3D9DE4;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    line-height: 1;
}

.step-num span {
    font-size: 16px; /* Larger number */

}

.job-card-text {
    font-size: 16px;
    line-height: 1.75;
    color: #303030;
}

.job-card-note {
    font-size: 16px;
    line-height: 1.75;
    color: #303030;
}

.mt-16 {
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Requirements Section
   -------------------------------------------------------------------------- */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #CDD8DE;
    background-color: #CDD8DE;
    gap: 2px;
}

.requirements-items {
    list-style-type: disc;
    padding-left: 24px;
}

.requirements-items li {
    font-size: 16px;
    line-height: 1.75;
    color: #303030;
    margin-bottom: 0;
}

.job-card-lead {
    font-size: 16px;
    line-height: 1.75;
    color: #303030;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Other Jobs Section
   -------------------------------------------------------------------------- */
.other-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #CDD8DE;
    background-color: #CDD8DE;
    gap: 2px;
    margin-bottom: 48px;
}

.requirements-block {
    margin-top: 16px;
}

.requirements-title {
    font-size: 16px;
    font-weight: 700;
    color: #303030;
    margin-bottom: 8px;
}

/* Job Tags */
.job-tags-container {
    margin-top: 48px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.job-tag {
    background-color: #E1F0FA;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 20px;
    font-weight: 600;
    color: #002D6F;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Bottom Nav & Contact (Copied from Flow)
   -------------------------------------------------------------------------- */
/* .bottom-nav related styles moved to common.css */

/* Contact Section (Bottom) */
.section-contact {
    background-color: #002D6F;
    padding: 64px 40px 80px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.contact-container {
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact-text {
    text-align: center;
    color: #FFF;
    font-size: 16px;
    font-weight: 400; /* Hiragino Sans W4 */
    line-height: 1.7;
    opacity: 0.9;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 480px;
    height: 80px;
    background-color: #FFF;
    border-radius: 70px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: #002D6F;
    transition: opacity 0.3s;
}

.btn-contact:hover {
    opacity: 0.9;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* Footer (Simple white bg) */
footer {
    background-color: #FFF;
    padding: 40px;
    display: flex;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.footer-inner {
    width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo-area img {
    width: 376px;
    height: 64px;
    margin-bottom: 20px; /* Adjust spacing */
}

.company-info p {
    font-size: 14px;
    line-height: 1.5;
    color: #0C0C0C;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right; /* Or left based on design? Figma shows left aligned text but placed on right side */
    align-items: flex-start;
}

.footer-links a {
    font-size: 14px;
    color: #0C0C0C;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: #0C0C0C;
}
