/* ====================================================================
   基本スタイル（style.css）
   
   【対象ページ】
   - 全ページ共通: CSS変数、リセットCSS、基本タイポグラフィ、共通レイアウト
   - index.html: Strengths Section, Message Section, Advantage Section, Data Preview Section, Entry Section
   
   【レスポンシブ対応】
   - PCサイズ（1024px以上）: このファイルで基本スタイル定義
   - タブレット・モバイル: responsive.cssで対応
   
   【重要】
   - このファイルの変更は禁止（既存の動作を保持するため）
   - 新規追加は他のファイルで対応
   ==================================================================== */

/* ====================================================================
   1. CSS変数定義（カラー、フォント、サイズ）
   ==================================================================== */
:root {
    --primary-color: #4f9cd4; /* プライマリーブルー */
    --secondary-color: #ffffff; /* 白 */
    --dark-color: #333333; /* チャコール */
    --text-color: #595757; /* テキストグレー */
    --heading-color: #111827; /* 見出し黒 */
    --blue-light-bg: #f8f9fa; /* 薄いグレー背景 */
    --blue-dark-bg: #3a7bc8; /* 濃いブルー */
    --gray-bg: #F9FAFB; /* 薄いグレー背景 */
    --gray-border: #E5E7EB; /* グレーボーダー */
    --gray-text: #6B7280; /* グレーテキスト */

    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Poppins', sans-serif;

    --content-max-width: 760px;
    --header-height: 70px;
    --section-padding-y: 100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-en);
    color: var(--heading-color);
    line-height: 1.4;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--blue-dark-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 0px;
}

main {
    padding-top: var(--header-height);
}

section {
    padding: var(--section-padding-y) 0;
}

.section-title {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--heading-color);
    line-height: 1.5;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 48px;
}

.light-text {
    color: var(--secondary-color) !important;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* ====================================================================
   2. リセットCSS・基本タイポグラフィ・共通レイアウト
   ==================================================================== */
/* 上記のCSS Reset, Typography, Common Layout styles */

/* ====================================================================
   3. トップページ - Strengths Section（企業の強みセクション）
   ==================================================================== */
.strengths-section {
    padding: 100px 0 0 0;
}

.strength-item {
    padding: 0;
    min-height: 344px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.strength-item:first-child {
    /* background-image: url('../images/strengths/challenge_61years_latest.jpg'); */
    background-image: url('../images/strengths/team photo.png');
    background-size: 50%;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: 100px;
}

.strength-item:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 6.7%, 
        rgba(255, 255, 255, 1) 46.6%);
    pointer-events: none;
}

.strength-item.alt-bg {
    background-color: #D8E6F1;
    min-height: 544px;
    position: relative;
    justify-content: flex-start;
    align-items: center;
    display: flex; /* 追加 */
}

.strength-item.alt-bg::before {
    content: '';
    position: absolute;
    top: 100px;
    bottom: 100px;
    right: 0;
    width: 50%;
    background-image: url('../images/strengths/excitement_beyond_selling_latest.jpg');
    background-size: 120%;
    background-position: center right;
    background-repeat: no-repeat;
}

.strength-item.alt-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(216, 231, 240, 1) 58.7%, 
        rgba(216, 231, 240, 0) 96.6%);
    pointer-events: none;
}

.strengths-section .strength-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 344px;
    position: relative;
    z-index: 1;
}

.strengths-section .strength-content.reverse {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1400px;
    height: 544px;
}

.strengths-section .strength-content.reverse .strength-text {
    position: relative;
    left: auto;
    transform: none;
    order: 0;
    padding: 0px;
    max-width: 452px;
    width: 452px;
    height: 289px;
    z-index: 2;
    margin-left: calc(50% - 380px); /* コンテンツ領域760pxの左端に配置 */
    margin-right: auto;
}

.strengths-section .strength-image {
    display: none;
}

/* These gradient overlays are no longer needed as they're handled by the strength-item pseudo-elements */

.strengths-section .strength-text {
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    left: calc(50% + 380px); 
    transform: translateX(-100%); /* テキスト幅分だけ左にずらして右端を合わせる */
    margin-left: 0px;
    max-width: 372px;
    width: 372px;
    text-align: left;
    z-index: 2;
}

.strengths-section .strength-text h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.75rem; /* 44px */
    font-weight: 900;
    color: #4f9cd4;
    margin-bottom: 27px;
    line-height: 1.4545454545454546;
    margin-top: 0;
    max-width: 330px;
}

.strengths-section .strength-content.reverse .strength-text h2 {
    max-width: 452px;
    width: 452px;
    height: 128px;
}

.strengths-section .strength-content.reverse .strength-text p {
    max-width: 372px;
    width: 372px;
    height: 134px;
}

.strengths-section .strength-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem; /* 14px */
    line-height: 1.9285714285714286;
    color: #000000;
    margin: 0;
    max-width: 372px;
}

/* ====================================================================
   4. トップページ - Message Section（代表メッセージ紹介セクション）
   ==================================================================== */
/* セクション全体 */
.message-preview-section {
    padding: 100px 0;
    background-color: white;
    min-height: 598px;
    display: flex;
    align-items: center;
}

/* コンテナ */
.message-container {
    width: 100%;
    max-width: 1400px; /* 最大幅を調整 */
    margin: 0 auto;
    padding: 0 20px; /* 左右にパディング追加 */
}

/* コンテンツ領域 */
.message-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width:950px;
    /* max-width: 760px; コンテンツ領域を760pxに固定 */
    margin: 0 auto;
    gap: 46px; /* 画像とテキスト間のギャップを指定 */
}

/* 画像エリア */
.message-image {
    /* width: 280px; */
    width:500px;
    height: 415px;
    border-radius: 0px;
    overflow: hidden;
    flex-shrink: 0;
}

.message-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* テキストエリア */
.message-text {
    flex: 1; /* 残りの幅を使用 */
    max-width: 434px; /* 760px - 280px - 46px = 434px */
    padding-top: 10px;
}

/* タイトル */
.section-title-en {
    font-family: var(--font-en);
    font-size: 3.5rem; /* 44px */
    font-weight: 900;
    color: #595757;
    letter-spacing: 0.03em;
    line-height: 1.45;
    margin: 0 0 0px 0; /* マージン調整 */
}

/* 役職 */
.message-position {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem; /* 14px */
    font-weight: 400;
    color: #595757;
    line-height: 1.93;
    margin: 0 0 24px 0; /* マージン増加 */
}

/* キャッチフレーズ */
.message-catchphrase {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem; /* 16px */
    font-weight: 900;
    color: #595757;
    line-height: 1.69;
    margin: 0 0 20px 0; /* マージン増加 */
}

/* 説明文 */
.message-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.875rem; /* 14px */
    font-weight: 400;
    color: #595757;
    line-height: 1.7;
    margin: 0 0 32px 0; /* ボタンとの間にマージン追加 */
}

/* Message button styles moved to buttons.css as .btn-tertiary */

/* ====================================================================
   5. トップページ - Advantage Section（アドバンテージセクション）
   ==================================================================== */
.advantage-section {
    background: linear-gradient(135deg, #0070b0 0%, #4f9cd4 45%, #ffffff 100%);
    padding: 100px 0;
}

/* コンテナ */
.advantage-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* コンテンツ領域 */
.advantage-content {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* テキストエリア */
.advantage-text {
    width: 100%;
    text-align: left;
    z-index: 2;
}

.advantage-section .section-title-en {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0px;
    text-align: left;
}

.advantage-section .section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

/* 画像エリア - コンテンツ下部に配置 */
.advantage-image {
    position: relative;
    width: 100%;
    z-index: 1;
    margin-top: 30px;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ====================================================================
   6. トップページ - Data Preview Section（データプレビューセクション）
   ==================================================================== */
.data-preview-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.data-preview-section .container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.data-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.data-icon {
    flex-shrink: 0;
}

.data-icon img {
    width: 320px;
    height: auto;
    display: block;
}

.data-text {
    flex: 1;
}

.data-title-group {
    margin-bottom: 32px;
}

.data-text .section-title-en {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #595757;
    margin-bottom: 8px;
    line-height: 1;
}

.data-text .section-subtitle {
    font-family: var(--font-main);
    font-size: 1.25rem;
    color: #595757;
    margin: 0;
    font-weight: 500;
}

.interview-preview-section {
    text-align: center;
}
.interview-preview-section .interview-slider {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}
.interview-preview-section .interview-card {
    text-align: left;
}
.interview-preview-section .interview-card img {
    border-radius: 8px;
    margin-bottom: 12px;
}



.jobs-preview-section {
    background-color: var(--gray-bg);
    text-align: center;
}
.jobs-preview-section .job-list {
    max-width: 760px;
    margin: 0 auto;
}
.jobs-preview-section .job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--secondary-color);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--heading-color);
    transition: all 0.3s ease;
}
.jobs-preview-section .job-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.jobs-preview-section .job-item.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}
.jobs-preview-section .job-item span {
    font-size: 0.9rem;
    font-weight: 700;
}

/* ====================================================================
   7. トップページ - Entry Section（エントリーセクション）
   ==================================================================== */
.entry-section {
    background-color: #4f9cd4;
    color: white;
    padding: 0;
}

.entry-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 ;
}

.entry-left .section-title-en {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.entry-left .section-subtitle {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-align: left;
    color: white;
}

.entry-right {
    text-align: center;
}

.entry-right .entry-message {
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 700;
}

.btn-entry {
    background-color: white;
    color: #4f9cd4;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

