/* ========================================
   Jobページ専用スタイル
======================================== */
/* ========================================
   パンくずリスト - 背景画像付き
======================================== */
.breadcrumb {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
  
    /* 背景用の高さをしっかり取る */
    min-height: 400px;               /* ←ここで背景の高さを増やす */
    background-image: url(../image/グループ\ 577.png);
    background-size: contain;        /* 画像全体を収める */
    background-position: center top; /* 上側を優先して表示 */
    background-repeat: no-repeat;
    background-color: #e74c3c;
    background-blend-mode: multiply;
  }
  
  /* パンくずテキストだけ絶対配置して位置を固定 */
  .breadcrumb .breadcrumb-nav {
    position: absolute;
    top: 60px;       /* ←テキストの縦位置を自由に調整できる */
    left: 20px;
    right: 20px;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
  }
  

.breadcrumb .breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    color: white;               /* 文字色を白に */
}

.breadcrumb .breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);  /* セパレータも白に */
    font-weight: normal;
}

.breadcrumb .breadcrumb-link {
    color: white;               /* リンクも白に */
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb .breadcrumb-link:hover {
    color: #fff;
    opacity: 0.8;
}

.breadcrumb .breadcrumb-current {
    color: white;               /* 現在のページも白に */
    font-weight: 600;
}

.job-introduction {
    padding: 0;
}

.job-introduction-bg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.message-header {
    text-align: center;
    margin-bottom: 40px;
}

.message-header h1 {
    color: #e74c3c;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 2px;
    padding-bottom: 20px;
  
    display: flex;                /* 横並び＋中央寄せ */
    justify-content: center;      /* 全体を中央に揃える */
    align-items: center;          /* 垂直位置を揃える */
    gap: 12px;                    /* テキストと線の間隔 */
}

.message-header h1::before,
.message-header h1::after {
  content: "";
  flex: 0 0 50px;              /* 線の長さ（お好みで） */
  height: 6px;                  /* 線の太さ */
  background-color: #e74c3c;       /* 線の色 */
}  

.introduction-content {
    display: flex;
    flex-direction: column;     /* 縦並びに変更 */
    justify-content: flex-start; /* 左寄せに変更 */
    align-items: flex-start;     /* 上端揃え */
    gap: 0;                     /* 要素間の余白をなくす */
    flex-wrap: wrap;
    max-width: 1200px;          /* 幅を1200pxに統一 */
    width: 100%;
    margin: 0;                  /* 左寄せのためマージンを削除 */
    text-align: left;           /* テキストも左寄せ */
}

.introduction-image {
    flex: 0 0 auto;
    text-align: left;        /* 左寄せに変更 */
    display: flex;           /* Flexboxを適用 */
    flex-direction: row;     /* 横並びに戻す */
    align-items: flex-start; /* 上端揃え */
    gap: 30px;              /* 画像とテキストの間隔 */
    justify-content: flex-start; /* 左寄せに変更 */
    margin: 0;              /* 上下の余白をなくす */
    width: 100%;            /* 幅を親と同じにする */
    max-width: 1200px;      /* 最大幅を統一 */
}

.introduction-image img {
    width: 900px;              /* 固定幅でtopic-textとのバランスを調整 */
    height: 240px;
    border-radius: 10px;
    flex-shrink: 0;            /* 画像のサイズを固定 */
    margin: 0;                 /* 上下の余白をなくす */
    display: block;            /* ブロック要素として表示 */
}

.topic-text {
    display: flex;
    flex-direction: column;  /* 縦並び */
    align-items: center;     /* 中央寄せ */
    justify-content: flex-start; /* 上から配置 */
    text-align: center;      /* テキスト中央寄せ */
    flex: 1;                 /* 残りのスペースを占める */
    max-width: 570px;        /* 1200px - 600px(画像) - 30px(ギャップ) = 570px */
}

.introduction-text {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
}

.introduction-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.topic1 {
    font-size: 18px;
    color: #333;
    margin: 0;
    text-decoration: underline 2px;
}

.topic2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: block;       /* ブロック要素に変更 */
    text-align: center;   /* テキストを中央寄せ */
    padding-bottom: 30px;  /* 線を描く余白 */
}

.topic2::after {
    content: "";
    position: absolute;
    left: 50%;           /* 中央に配置 */
    top: 50%;           /* テキストの下端から開始 */
    transform: translateX(-50%);
    width: 2px;          /* 線の太さ */
    height: 30px;        /* 線の長さ */
    background-color: #333; /* 線の色 */
}

.topic3 {
    font-size: 18px;
    color: #333;
    position: relative;
    display: block;       /* ブロック要素に変更 */
    text-align: center;   /* テキストを中央寄せ */
    padding-bottom: 30px;  /* 線を描く余白 */
}

.topic3::after {
    content: "";
    position: absolute;
    left: 50%;           /* 中央に配置 */
    top: 50%;           /* テキストの下端から開始 */
    transform: translateX(-50%);
    width: 2px;          /* 線の太さ */
    height: 30px;        /* 線の長さ */
    background-color: #333; /* 線の色 */
}

.topic4 {
    font-size: 18px;
    color: #333;
    position: relative;
    display: block;       /* ブロック要素に変更 */
    text-align: center;   /* テキストを中央寄せ */
    padding-bottom: 30px;  /* 線を描く余白 */
}

.topic4::after {
    content: "";
    position: absolute;
    left: 50%;           /* 中央に配置 */
    top: 50%;           /* テキストの下端から開始 */
    transform: translateX(-50%);
    width: 2px;          /* 線の太さ */
    height: 30px;        /* 線の長さ */
    background-color: #333; /* 線の色 */
}

.sales-text {
    background-color: #DE0111;  /* 赤背景 */
    color: white;
    font-weight: 700;
    width: 900px;               /* 画像と同じ幅に調整 */
    margin: 0 0 40px 0;         /* 上左右の余白をなくす */
    padding: 10px 20px;         /* 内側余白 */
    text-align: left;           /* 文字左寄せに変更 */
    box-sizing: border-box;     /* padding を含めて幅計算 */
    display: block;             /* ブロック要素として表示 */
}

.sales-text h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.job-description-content {
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center;   /* 垂直方向の中央寄せ */
    gap: 10px;             /* 要素間のスペース */
    flex-wrap: wrap;       /* 必要に応じて折り返し */
    margin-bottom: 40px;
    width: 900px;
}

.job-description-message {
    display: flex;
    gap: 20px; /* 画像間のスペース */
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap; /* 必要に応じて折り返し */
    width: 900px;
}

.job-description-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    margin: 0;
    text-align: left;
}

.job-description-charm {
    max-width: 100%;          /* introduction-contentと同じ最大幅 */
    width: 100%;                /* 幅を100%に */
    color: #B81B23;
    padding: 20px 0;            /* 左右のパディングを削除 */
    text-align: left;           /* 左寄せに変更 */
    margin: 30px 0 0 0;         /* 左マージンを削除して左寄せ */
}

.job-description-charm ol {
    text-align: left; /* テキストを左寄せ */
    margin-top: 20px; /* 上マージン */
    padding-left: 20px; /* リストのインデント */
    color:#E83532
}

.job-description-charm ol li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 50px;
    color: #333;
}

.job-description-charm ol li strong {
    display: block;        /* インライン → ブロックにする */
    font-size: 18px;
    font-weight: 700;
    text-align: left;      /* 左寄せ */
    margin-bottom: 25px;    /* 下に少し余白 */
    color: #E83532;
  } 

  ol li::marker {
    color: #E83532;   /* 数字の色 */
    font-size: 32px; /* 数字の大きさも変更可能 */
    font-weight: 700;
  }
  

.job-description-charm h3 {
    width: 100%;                      /* 親要素の幅に合わせる */
    max-width: 900px;                /* 最大幅を設定 */
    background-color: #FEEDED;
    display: block;                   /* ブロック要素に変更 */
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;               /* 下にマージンを追加 */
    border-bottom: 2px solid #E83532;
    padding: 10px 20px;               /* 内側の余白を追加 */
    box-sizing: border-box;           /* padding含めた幅計算 */
    text-align: center;
}
  
.job-introduction-image01,
.job-introduction-image02 {
    flex: 1 1 45%; /* 均等な幅で折り返し */
    max-width: 500px; /* 画像の最大幅 */
    text-align: center;
}

.job-description-content .scope {
    font-size: 12px;
    display: block;
    background-color: #e74c3c;
    border-radius: 10px;
    padding: 2px 20px;
    color: white;
    text-align: center;
}

.job-introduction-image01 img,
.job-introduction-image02 img {
    max-width: 100%;
    height: 300px; /* 画像の高さを固定 */
    object-fit: cover; /* アスペクト比を保ちつつコンテナにフィット */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-description-charm-wrapper {
    display: flex;
    gap: 30px;
    justify-content: flex-start;    /* 左寄せに変更 */
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%;                    /* 親要素の幅に合わせる */
    max-width: 100%;              /* 最大幅を設定 */
    width: 900px;
}

.job-description-charm-list {
    flex: 1;
    min-width: 300px;
}

.job-description-charm-list p {
    position: relative;
    padding-left: 25px; /* 線分のスペース */
}

.job-description-charm-list p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;             /* 線の太さ */
    height: 100%;            /* テキストの高さに合わせる */
    background-color: #E83532;  /* 線の色 */
}

.job-description-charm-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.job-description-charm-image div img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.oneday-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.oneday-content .oneday-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.oneday-content .oneday-image {
    width: 48%;
    flex: 0 0 auto;
}

.oneday-content .oneday-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.oneday-content .oneday-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.oneday-content .oneday-text p {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.oneday-content .oneday-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.oneday-content .oneday-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.job-fit {
    display: flex;
    justify-content: center;
    align-items: flex-start;  /* 上端揃え */
    gap: 30px;               /* 要素間の間隔 */
    width: 100%;
    max-width: 1200px;       /* 最大幅を制限 */
    margin: 0 auto;          /* 中央寄せ */
    flex-wrap: wrap;         /* 小画面では折り返し */
}

.job-fit .image-photo {
    width: 48%;              /* 約半分の幅 */
    flex: 0 0 auto;          /* 幅を固定 */
}

.image-photo img {
    max-width: 100%;   /* 親要素の幅を超えない */
    height: auto;      /* 縦横比を保つ */
    display: block;    /* 余計な隙間を消す */
  }
  
/* エントリーセクション */
.entry-form-bg {
    color: #000;
    width: 100%;
    max-width: 100%;
    width: 1200px;
    height: 300px;
    margin: 0 auto;
    display: flex;               /* Flexboxを適用 */
    align-items: center;         /* 垂直方向の中央寄せ */
    justify-content: center;     /* 水平方向の中央寄せ */
}

.job-introduction-footer {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;         /* 垂直方向の中央寄せ */
    justify-content: center;     /* 水平方向の中央寄せ */
    background-color: rgba(236, 94, 193, 0.1);  /* 背景色を親要素に移動 */
    text-align: center;
    margin: 0 auto;              /* 中央寄せ */
    max-width: 1200px;           /* 最大幅を設定 */
}

.job-introduction-footer .entry-form-bg {
    display: flex;
    flex-direction: column;      /* 縦並び（上下配置）を強制 */
    align-items: center;         /* 水平方向の中央寄せ */
    justify-content: center;     /* 垂直方向の中央寄せ */
    gap: 20px;                   /* h2とpの間隔 */
    width: auto;                 /* 幅を自動調整 */
    height: auto;                /* 高さを自動調整 */
}

.job-introduction-footer h2 {
    text-align: center;
    margin-bottom: 40px;
    text-decoration: underline solid 2px #333;
}

.btn-viewmore {
    display: block;             /* ブロック要素にする */
    text-align: center;         /* 中央寄せ */
    margin: 0 auto;             /* 中央配置 */
    width: fit-content;         /* コンテンツ幅に合わせる */
}

.btn-viewmore img {
    display: block;
    max-width: 100%;
    width: 200px; /* サイズを小さくする */
    height: auto;
    transition: all 0.3s ease;
    margin: 0 auto;             /* 画像も中央配置 */
}

.entry-form-bg p {
    text-align: center;
    margin-bottom: 40px;
}

.btn-viewmore:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* .btn-outline {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
} */

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* ONEDAYセクションのレスポンシブ対応 */
    .oneday-content .oneday-image {
        width: 80%; /* 画像を大きくして見やすく */
    }
    
    /* 画像セクションのレスポンシブ対応 */
    .job-introduction-image01 img,
    .job-introduction-image02 img {
        height: 250px; /* 画像の高さを少し小さく */
    }
    
    .breadcrumb .breadcrumb-list {
        font-size: 13px;
    }
    
    .job-introduction-bg {
        padding: 40px 20px;
    }
    
    /* 不要？なスタイル */
   /* .job-fit {
        flex-direction: column; 
        gap: 20px;              /* 間隔を狭く */
    /*} */

    /* タブレット以下のとき（例: 768px以下） */
@media (max-width: 768px) {
    .image-photo {
      width: 100%;      /* 親要素の幅いっぱい */
    }
  
    .image-photo img {
      width: 100%;      /* 画像も親の幅いっぱいに拡大 */
      height: auto;     /* 縦横比は維持 */
      object-fit: cover;/* 必要なら枠いっぱいにフィット */
    }
  }

    /* エントリーフォームセクションのレスポンシブ対応 */
    .job-introduction-footer {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }
    
    .entry-form-bg {
        width: 100%;
        height: auto;
        padding: 30px 20px;
    }
    
    .message-header h1 {
        font-size: 19px;
    }
    
    .introduction-content {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .introduction-image {
        flex-direction: column; /* 小画面では縦並び */
        align-items: center;
        width: 100%;
    }
    
    .introduction-image img {
        width: 100%;
        max-width: 400px;      /* 小画面での最大幅 */
    }
    
    .sales-text {
        width: 100%;           /* 小画面では幅100% */
        margin: 0 0 20px 0;
    }
    
    .job-description-content {
        width: 100%;           /* 小画面では幅100% */
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    .job-description-message {
        width: 100%;           /* 小画面では幅100% */
        padding: 0 20px;
    }
    
    .job-description-message h3 {
        font-size: 20px;       /* 小画面では文字サイズを小さく */
    }
    
    .job-description-charm {
        padding: 20px;         /* 左右にパディングを戻す */
        text-align: center;    /* 小画面では中央寄せ */
    }
    
    .job-description-charm h3 {
        width: 100%;
        max-width: 100%;
        font-size: 24px;       /* 小画面では文字サイズを小さく */
    }
    
    .job-description-charm-wrapper {
        width: 100%;
        flex-direction: column; /* 小画面では縦並び */
        gap: 20px;
    }
    
    .introduction-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    /* ONEDAYセクションのレスポンシブ対応 */
    .oneday-content .oneday-image {
        width: 100%; /* 画面幅いっぱいに */
    }
    
    .oneday-content .oneday-text h2 {
        font-size: 20px; /* 文字サイズを小さく */
    }
    
    .oneday-content .oneday-text p {
        font-size: 16px; /* 文字サイズを小さく */
    }
    
    /* 画像セクションのレスポンシブ対応 */
    .job-introduction-image01 img,
    .job-introduction-image02 img {
        height: 200px; /* 画像の高さをさらに小さく */
    }
    .job-introduction-bg {
        padding: 30px 15px;
    }
    
    .message-header h1 {
        font-size: 19px;
    }
    
    .message-header {
        margin-bottom: 30px;
    }
    
    .introduction-content {
        gap: 20px;
        padding: 0 15px;
    }
    
    .sales-text {
        width: 100%;
        margin: 0 0 15px 0;
        font-size: 12px;       /* 小画面では文字サイズを小さく */
    }
    
    .job-description-content {
        padding: 0 15px;
        margin-bottom: 15px;
    }
    
    .job-description-message {
        padding: 0 15px;
    }
    
    .job-description-message h3 {
        font-size: 18px;       /* さらに小さく */
    }
    
    .job-description-charm {
        padding: 15px;
    }
    
    .job-description-charm h3 {
        font-size: 20px;       /* さらに小さく */
        padding: 8px 15px;
    }
    
    .job-description-charm ol li {
        font-size: 16px;       /* リストの文字サイズを小さく */
        margin-bottom: 30px;   /* マージンを調整 */
    }
    
    .job-description-charm ol li strong {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    ol li::marker {
        font-size: 24px;       /* 数字サイズを小さく */
    }
    
    .introduction-text h2 {
        font-size: 24px;
    }
    
    /* エントリーフォームセクションのさらなる調整 */
    .job-introduction-footer {
        padding: 30px 15px;
    }
    
    .entry-form-bg {
        padding: 20px 15px;
    }
    
    .job-introduction-footer h2 {
        font-size: 20px;        /* 文字サイズを小さく */
    }
}

.image-photo img {
  max-width: 100%;   /* 親要素の幅を超えない */
  height: auto;      /* 縦横比を保つ */
  display: block;    /* 余計な隙間を消す */
}

/* タブレット以下のとき（例: 768px以下） */
@media (max-width: 768px) {
    .image-photo {
      width: 100%;      /* 親要素の幅いっぱい */
    }
  
    .image-photo img {
      width: 100%;      /* 画像も親の幅いっぱいに拡大 */
      height: auto;     /* 縦横比は維持 */
      object-fit: cover;/* 必要なら枠いっぱいにフィット */
    }
  }

 /* --- PC基準のレイアウト --- */
.introduction-image img {
    width: 900px;   /* PC用の固定幅 */
    height: 240px;  /* PC用の固定高さ */
  }
  
  .job-fit .image-photo {
    width: 48%;     /* PC用：横並びで半分くらい */
  }
  
  /* --- スマホ用に上書き（レスポンシブ） --- */
  @media (max-width: 768px) {
    .job-fit {
      display: flex;
      flex-direction: column; /* 縦並び */
      gap: 0;                 /* 間隔なし */
    }
  
    .job-fit .image-photo {
      width: 100%;  /* 枠いっぱい */
      margin: 0;    /* 余白リセット */
    }
  
    .job-fit .image-photo img {
      width: 100%;
      height: auto;
      display: block; /* 余計な隙間を消す */
    }
  
    .job-fit .member-info {
      margin: 0;     /* 上下余白なし */
      padding: 1rem; /* 内側に少しだけ余白 */
    }
    
    .breadcrumb {
      min-height: 200px;          /* requirements と揃える */
      background-size: cover;
      background-position: center top;
      padding: 20px 10px;
    }
  
    .breadcrumb .breadcrumb-nav {
      position: absolute;  /* ← こっちも requirements と同じに */
      top: 60px;
      left: 20px;
      right: 20px;
      padding: 0;          /* ← padding で位置をずらさない */
    }
  }


  /* ========================================
   横スクロール防止（スマホ対策）
======================================== */

/* グローバル対応 */
html, body {
    overflow-x: hidden; /* 横スクロールを根本的に無効化 */
  }
  
  /* スマホで幅がはみ出す要素の修正 */
  @media (max-width: 768px) {
    .oneday-content,
    .entry-form-bg,
    .job-description-charm-wrapper {
      width: 100%;
      max-width: 100%;
    }
  
    /* 固定幅要素（900px/1200px）をスマホ対応に変更 */
    .introduction-image img,
    .sales-text,
    .job-description-content,
    .job-description-message {
      width: 100%;
      max-width: 100%;
    }
  
    /* flex要素内の余白でオーバーフローしている場合に備えて */
    .job-fit,
    .introduction-content {
      margin: 0;
      padding: 0 10px;
      box-sizing: border-box;
    }
  
    /* 背景部分の安全マージン調整 */
    .breadcrumb {
      max-width: 100%;
      padding: 20px 10px;
      background-size: cover;
    }
  }
  