@charset "UTF-8";

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

:root {
    --primary-color: #002d6f;
    --accent-color: #0068b7;
    --bg-light-blue: #e1f0fa;
    --text-color: #2f3a40;
    --font-din: "Bebas Neue", "Oswald", sans-serif;
    --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

body {
    font-family: var(--font-jp);
    color: var(--text-color);
    background-color: #fff;
    background-image: 
        url('../images/ellipse.svg'),
        url('../images/ellipse.svg'),
        url('../images/ellipse.svg'),
        url('../images/ellipse.svg');
    background-repeat: no-repeat;
    background-position: 
        calc(50% - 450px) 1480px,
        calc(50% + 580px) 1400px,
        calc(50% + 400px) 1950px,
        calc(50% + 640px) 2450px;
    background-size: 
        730px auto, 
        200px auto, 
        180px auto,
        160px auto;
}

header {
    box-shadow: none !important;
}

/* Navigation Highlight */
header .main-nav li.current-item a {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

/* Common Components override if needed */
.container {
    max-width: 1080px; /* Figma width */
    margin: 0 auto;
    padding: 0 ;
    position: relative;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-recruit {
    padding: 0 0 80px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-recruit-inner {
    display: flex;
    justify-content: flex-end; /* 画像を基準に配置 */
    position: relative;
    height: 656px;
    width: 100%;
}

.hero-recruit-image {
    width: 1136px;
    height: 656px;
    border-radius: 32px;
    overflow: hidden;
    position: absolute;
    right: 100px;
    top: 0;
    z-index: 1;
    background-color: #eee; /* Placeholder bg */
}

.hero-recruit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-recruit-content {
    position: absolute;
    left: 100px;
    top: 153px;
    width: 971px; /* オーバーラップする幅 */
    z-index: 2;
    padding-left: 0;
    pointer-events: none; /* テキスト選択可能にするならautoに戻すが、レイアウト上被っているので */
}

.hero-recruit-content > * {
    pointer-events: auto;
}

.hero-recruit-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-recruit-line {
    width: 61px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-recruit-copy {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4; /* 66px / 48px */
    color: var(--primary-color);
    margin-bottom: 32px;
}

.hero-recruit-copy.en {
    font-size: 46px;
}

.hero-recruit-desc {
    font-size: 20px;
    line-height: 1.8; /* 36px / 20px */
    color: var(--primary-color);
    font-weight: 600;
    padding: 20px 0;
    max-width: 800px;
    /* 背景透過させて読みやすくする場合は以下を有効化 */
    /* background: rgba(255, 255, 255, 0.8); */
    /* backdrop-filter: blur(5px); */
}

.hero-recruit-desc.en {
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.section-stats {
    padding: 100px 0;
    position: relative;
}

.stats-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.stats-header h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.stats-header.en h2 {
    font-size: 38px;
}

.stats-header p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--primary-color);
    max-width: 508px;
}

/* 4カラム構成ではなく、Figma上はStatsのコンテナ構成が少し複雑
   左側にテキスト、右側にグリッド（あるいはWrap）
   Figmaの構造: Flex (gap 64px) -> [Left: Title+Desc], [Right: Flex-Wrap Cards]
*/

.section-stats .container {
    display: flex;
    gap: 64px;
    align-items: center;
    justify-content: center;
}

.stats-header {
    width: 508px;
    flex-shrink: 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 508px;
    flex-shrink: 0;
}

.stats-card {
    background-color: var(--bg-light-blue);
    border-radius: 12px;
    padding: 24px;
    height: 205px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Stats Card Sizes based on Figma */
.stats-card:nth-child(1) { width: 236px; } /* 創業 */
.stats-card:nth-child(2) { width: 252px; } /* 取引社数 */
.stats-card:nth-child(3) { width: 282px; } /* 件数 */
.stats-card:nth-child(4) { width: 206px; } /* 言語 */


.stats-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    /* opacity removed to show image clearly, or adjust as needed */
    pointer-events: none;
    /* Images will be set below */
}

.stats-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 18px;
    white-space: nowrap;
}

.stats-sub {
    font-size: 14px;
}

.stats-value {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: -20px; /* Push down to bottom padding */
    max-width: 100%;
    overflow: visible;
    padding-top: 8px;
}

.stats-value .number {
    font-family: var(--font-din);
    font-size: 88px; /* 5.5rem = 88px (16px基準) をpxで固定 */
    letter-spacing: -4px;
    line-height: 1;
    max-width: 100%;
    overflow: visible;
}

.unit-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 8px;
    padding-bottom: 0;
    margin-bottom: 18px; /* Adjust based on baseline */
}

.stats-value .plus {
    font-family: var(--font-jp);
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.stats-value .unit {
    font-size: 32px;
    font-weight: 700;
    margin-left: 0;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Fields Section
   -------------------------------------------------------------------------- */
.section-fields {
    padding: 100px 0;
    position: relative;
}

.fields-layout {
    display: flex;
    gap: 64px;
    align-items: center;
    justify-content: center; 
}

.fields-content {
    width: 587px;
    order: 2; /* テキストが右側 */
}

.fields-grid {
    width: 431px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    order: 1; /* グリッドが左側 */
}

.fields-content h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 24px;
}

.fields-content.en h2 {
    font-size: 38px;
}

.fields-content p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--primary-color);
}

.field-card {
    background-color: var(--bg-light-blue);
    border-radius: 12px;
    height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px;
}

.field-icon {
    width: 50px;
    height: 50px;
    background-color: transparent; /* Placeholder bg removed */
    /* Images will be set below */
}

.field-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    /* white-space: nowrap; */ /*Comment Out by Sunity 202603*/
}

.fields-grid.en .field-card.text-sm span {
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Roles Section
   -------------------------------------------------------------------------- */
.section-roles {
    padding: 100px 0;
    position: relative;
}

.roles-layout {
    display: flex;
    gap: 64px;
    align-items: center;
    justify-content: center;
}

.roles-content {
    width: 100%; 
    width: 555px;
}

.roles-content h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 24px;
}

.roles-content.en h2 {
    font-size: 38px;
}

.roles-content p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--primary-color);
}

.roles-tags {
    width: 461px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: flex-start;
}

.role-tag {
    background-color: var(--bg-light-blue);
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    box-sizing: border-box;
}

.role-tag.highlight {
    font-weight: 700;
}

/* Bottom Sitemap Section moved to common.css */

/* --------------------------------------------------------------------------
   Common Contact Section (Recruit CTA) - Moved to common.css
   -------------------------------------------------------------------------- */

/* Placeholder styles */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #999;
    font-size: 24px;
    font-weight: bold;
}

.icon-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

.icon-placeholder-sm {
    font-size: 16px;
    font-weight: bold;
}

/* ==========================================================================
   Image Assignments
   ========================================================================== */

/* Stats Icons */
.stats-card:nth-child(1) .stats-icon {
    background: url('../images/stats1.png') no-repeat right bottom;
    background-size: contain;
}
.stats-card:nth-child(2) .stats-icon {
    background: url('../images/stats2.png') no-repeat right bottom;
    background-size: contain;
}
.stats-card:nth-child(3) .stats-icon {
    background: url('../images/stats3.png') no-repeat right bottom;
    background-size: contain;
}
.stats-card:nth-child(4) .stats-icon {
    background: url('../images/stats4.png') no-repeat right bottom;
    background-size: contain;
}

/* Fields Icons */
.field-card:nth-child(1) .field-icon {
    background: url('../images/fields1.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(2) .field-icon {
    background: url('../images/fields2.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(3) .field-icon {
    background: url('../images/fields3.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(4) .field-icon {
    background: url('../images/fields4.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(5) .field-icon {
    background: url('../images/fields5.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(6) .field-icon {
    background: url('../images/fields6.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(7) .field-icon {
    background: url('../images/fields7.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(8) .field-icon {
    background: url('../images/fields8.png') no-repeat center center;
    background-size: contain;
}
.field-card:nth-child(9) .field-icon {
    background: url('../images/fields9.png') no-repeat center center;
    background-size: contain;
}
