* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  color: #333;

}

/* header */
header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 4px solid #ef4444;
  background: #fff;

  /* ↓↓↓ スクロールで隠れないように追加・変更 ↓↓↓ */
  position: fixed;
  /* ヘッダーを固定表示にする */
  top: 0;
  /* 画面の上端に固定する */
  width: 100%;
  /* 幅を画面全体に広げる */
  /* ↑↑↑ スクロールで隠れないように追加・変更 ↑↑↑ */
  z-index: 10;
}

.header img.logo {
  height: 40px;
  width: auto;
  display: block;
}

header nav a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
}

header nav {
  /* 既存の a タグのスタイルを nav に移動・変更 */
  color: #e53935; /* 赤色に変更 */
  font-weight: 800; /* 太字で強調 */
  font-size: 16px; /* 少し大きく */
  letter-spacing: 0.05em; /* 文字間隔を調整 */
  padding: 4px 8px; /* パディングを追加 */
  background: #fff; /* 背景色を白に */
  border: 2px solid #e53935; /* 赤いボーダー */
  border-radius: 4px; /* 角丸にする */
  box-shadow: 2px 2px 0 #fff, 3px 3px 0 #e53935; /* 白い影と、さらにその下に赤い影を追加 */
  transition: all 0.2s; /* ホバーエフェクトの準備 */
}

/* メインビジュアル */
.made-by-text {
  /* 白文字 */
  color: #ffffff;
  /* 細めのフォントでスタイリッシュに */
  font-weight: 300; 
  /* サイズは控えめに */
  font-size: 14px; 
  line-height: 1.5;
  margin-top: 30px; /* サブテキストからの間隔 */
  padding-left: 30px;
  /* text-align: center;  */
  width: 100%;
  /* 影をつけて背景に埋もれないようにする */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); 
}


.main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  /* 画面高さに応じて調整 */
  background: url("image/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  margin-top: 64px;
  /* 横縦どちらも埋める（余白なし） */
}

.main-visual .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* 赤帯 */
.red-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 650px;
  clip-path: polygon(22% 0,
      100% 0,
      78% 100%,
      0% 100%);
  background: rgba(229, 57, 53, 0.92);
  z-index: 1;
}

/* キャッチコピー */
.catchcopy {
  position: absolute;
  top: 12%;
  right: 0;
  /* 帯の右端に合わせる */
  width: calc(45% - 4vw);
  /* 少し狭く */
  width: 580px;
  /* 必要なら最小幅も */
  z-index: 2;
  font-size: 2.2vw;
  /* さらに小さく */
  color: #fff;
  line-height: 1.5;
  padding: 0 2vw 0 1vw;
  /* 余白も減らす */
  box-sizing: border-box;
}

.catchcopy .line {
  margin: 0 0 18px 0;
  font-weight: 800;
  letter-spacing: 0.02em;
}


.anata {
  display: inline-block;
  position: relative;
  left: 0%;
  /* ← ここを0にして左寄せ */
  color: #e53935;
  padding: 6px 8px;
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  border-radius: 3px;
}

.rest {
  color: #fff;
  font-size: 46px;
  font-weight: 800;
  white-space: nowrap;
  left: 10%;
}


/* 1行目 */
.line.line1 {
  font-size: 46px;
  margin-top: 6px;
  margin-left: -32%;
  /* ←さらに左へ（お好みで調整） */
}

.line.line1 .rest {
  margin-left: 0;
  margin-right: 0;
  letter-spacing: 0;
  /* 文字間隔を均等に */
  display: inline-block;

}

/* 2行目以降 */
.line.line2 {
  font-size: 46px;
  margin-top: 6px;
  margin-left: 8%;
  /* ←左に移動（値はお好みで調整） */
}

.line.line3 {
  font-size: 46px;
  margin-top: 6px;
  color: #e53935;
  margin-left: -27%;
  /* ←さらに左へ（お好みで調整） */
}

.line.line4 {
  font-size: 46px;
  margin-top: 6px;
  margin-left: -5%;
  /* ←左に移動（値はお好みで調整） */
}

.dots {
  display: inline-block;
  color: #e53935;
  position: relative;
  top: -18px;
  /* 点を上にずらす。数値はお好みで調整 */
  letter-spacing: 0.2em;
  margin-right: 2px;
}

.kanji-with-dot {
  display: inline-block;
  position: relative;
  margin-right: 2px;
  font-size: 54px;
}

.kanji-with-dot .dot {
  position: absolute;
  top: -0.7em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 50px;
  color: #ffffff;
  line-height: 1;
  pointer-events: none;
  font-weight: 900;
}

/* 赤文字に白い影をつける（「あなたの」「私たち」だけ） */
.whiteshadow {
  text-shadow:

    2px 2px 0 #fff
}

.line {
  font-weight: 100;
  font-family: "Yu Gothic", "Helvetica Neue", "Arial", sans-serif;

}

/* サブテキスト */
.subtext {
  width: 100%;
  font-size: 24px;
  line-height: 1.6;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
  /* 薄い黒い影を追加 */
}

/* エントリーボタン */
.entry-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  top: auto;
  left: auto;
  transform: none;
  background: rgba(229, 57, 53, 0.75);
  /* 少し薄い赤に */
  color: #fff;
  padding: 16px 28px;
  border-radius: 244px;
  z-index: 50;
  font-weight: 700;
  writing-mode: horizontal-tb;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  border: #fff 2px solid;
}

.entry-btn a {
  color: #fff;
  /* 文字色を白に */
  text-decoration: none;
  /* 下線を消す */
  display: inline-block;
}

/* ポイントセクション */
.points {
  width: 100%;
  /* max-width: 1100px; */
  margin: 40px auto 0 auto;
  padding: 0 10%;
}

.points-title {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  border-left: 4px solid #e53935;
  padding-left: 10px;
  margin-bottom: 24px;
}

.points-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  /* ←中央揃えに */
  align-items: flex-start;
}

.point-card {
  background: linear-gradient(to bottom, #f6dddd 0 48%, #fff 48% 100%);
  /* 上半分を#f6dddd、下半分を白に */
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 360px;
  height: 300px;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}

.point-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
  background: #f6dddd;
  /* 画像部分の背景を指定 */
  border-radius: 10px;
  /* お好みで角丸に */
  display: block;
  padding: 12px;
  /* 画像が小さい場合は余白を調整 */
  box-sizing: border-box;
}

.point-title {
  color: #e53935;
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 8px;
  text-align: center;
}

.point-desc {
  color: #444;
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
}

/* 人物セクション */
.person-section {
  width: 50%; /* ★ 修正: 幅を50%に設定 */
  flex-shrink: 0;
  /* 以下のFlexboxと競合するスタイルを削除または変更 */
  background: none; /* ← 背景を削除（親コンテナに移動したため） */
  margin: 0; /* ← マージンをリセット */
  padding: 20px 0 5% 0; /* ← パディングを調整 */
}

.person-title {

  margin-top: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #222;
  border-left: 4px solid #e53935;
  padding-left: 10px;
  margin-bottom: 32px;
}

.personality-chart {
  position: relative;
  width: 100%;
  /* ★ 修正: 高さの指定を削除 */
  /* height: 580px; */ 
  margin: 0 auto;
  
  /* ★ 追加: Flexboxで縦並びを有効化 */
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央寄せ */
  gap: 30px; /* 円と円の間隔 */
}

.person-bg-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 520px;
  height: 500px;
  z-index: 0;
  pointer-events: none;
}

/* 3つの円の配置 */
.person-circle {
  /* ★ 削除: position: absolute; */
  position: static; /* position: absolute; を削除し、通常のフローに戻す */
  width: 250px; /* ★ 修正: 幅を固定値に */
  height: 150px; /* ★ 修正: 高さを固定値に */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  padding: 18px 10px 10px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.circle1 {


  background: #ffe6a8;
  border: 3px solid #ffe6a8;
}

.circle2 {

  background: #d6effa;
  border: 3px solid #d6effa;
}

.circle3 {

  background: #fbe3e3;
  border: 3px solid #fbe3e3;
}

.person-circle img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.circle-title {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.circle-sub {
  font-size: 12px;
  color: #e53935;
  margin-top: 2px;
}

/* 三角形を結ぶ点線 */
.dashed-line {
  position: absolute;
  border-top: 3px dashed #e53935;
  width: 170px;
  height: 0;
  z-index: 0;
}

.line12 {
  top: 90px;
  left: 110px;
  transform: rotate(-30deg);
}

.line23 {
  bottom: 70px;
  left: 100px;
  transform: rotate(30deg);
}

.line31 {
  bottom: 70px;
  right: 100px;
  transform: rotate(-30deg);
}

/* 業務内容セクション (カプセル型) */
.work-section {
  background-image: url("image/flower.png");
  background-size: contain;
  background-repeat:no-repeat;
  background-position:center;
  width: 100%;
  /* max-width: 1100px; */
  margin: 60px auto 0 auto;
  padding: 0 10%;
}

.work-title {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  border-left: 4px solid #e53935;
  /* 左側の赤い帯 */
  padding-left: 12px;
  margin-bottom: 32px;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-card {
  width: 80%;
  
  /* カプセル型の枠線 */
  border: 1px solid #e53935;
  border-radius: 50px;
  /* ★ 垂直方向のパディングを完全に無くす */
  padding: 0 10px;
  box-shadow: none;
  background:rgb(255, 255,255,0.7);
  /* 左側の枠線を消すトリック */
  border-left: none;
  /* ★ 最小高さを円の直径に設定し、外枠の縦幅を確保 */
  min-height: 120px;
  margin-left: 10%;
}

.work-card-inner {
  display: flex;
  /* ★ 垂直方向を上寄せにして、内容を円の高さに収めやすくする */
  align-items: flex-start;
  gap: 20px;
  /* カード内容全体を右にずらす（円の突き出し分） */
  padding-left: 10px;
  /* work-cardのmin-heightを継承 */
  min-height: 120px;

}

/* 左側の赤い円 */
.card-circle {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #e53935;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* 円を左に突き出す */
  margin-left: -40px;
  z-index: 1;
}

/* 右側の業務内容 */
.card-content {
  flex-grow: 1;
  /* ★ 垂直方向のパディングを完全に無くす */
  padding: 0 10px;
  color: #555;
  /* 突き出した円に重ならないように、padding-leftを追加 */
  padding-left: 20px;
  /* 内側のコンテンツを垂直方向の中央に配置 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  /* 親要素の高さ全体を使う */
}

.card-content p {
  /* 段落間のマージンと行の高さを最小限に詰める */
  margin: 3px 0;
  font-size: 15px;
  line-height: 1.4;
}

.card-content strong {
  color: #222;
  font-weight: bold;
}

/* ------------------------------------- */
/* 新入社員研修セクション */
/* ------------------------------------- */
.training-section {
  width: 100%;
  /* max-width: 1100px; */
  margin: 60px auto;
  padding: 50px 10%;
  background-color: #f7b8b4;
}

.training-title {

  font-size: 22px;
  font-weight: bold;
  color: #222;
  border-left: 4px solid #e53935;
  /* 左側の赤い帯 */
  padding-left: 10px;
  margin-bottom: 40px;
}

.training-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.training-step {
  background-color: #fff;
  width: 80%;
  /* ★ 修正: justify-content: space-between; を追加 */
  display: flex;
  justify-content: space-between;
  /* 要素を両端に配置 */
  gap: 20px;
  padding: 20px;
  position: relative;
  /* ★ 追加: 垂直方向の中央揃え */
  align-items: center;
  border-radius: 12px;
  margin: 0 auto;
}

/* 研修ステップのタイトル（左側） */
.step-info {
  flex-grow: 1;
  max-width: 60%;
  border-right: 2px solid #e53935;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #e53935;
  /* 赤色 */
  margin-top: 0;
  margin-bottom: 10px;
  position: relative;
}


.step-details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.step-details li {
  margin-bottom: 4px;
}

/* コメント（右側） */
.step-comment {
  flex-shrink: 0;
  width: 300px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.comment-icon {
  width: 75px;
  height: auto;
  margin-top: 0;
  order: 0;
  /* アイコンを左側に配置 */
  flex-shrink: 0;
}

.comment-bubble {
  /* ... (他のスタイルは変更なし) ... */
  background: #fff;
  border: 1px solid #e53935;
  /* 赤い枠線 */
  border-radius: 8px;
  padding: 10px 15px;
  position: relative;

  flex-grow: 1;
  text-align: left;
  order: 1;
}

/* フキダシのしっぽ（横並び用 - アイコン側/左向き）*/

/* しっぽの内側 */
.right-bubble::before {
  content: '';
  position: absolute;
  /* ★ 修正: しっぽの基点（ベース）を吹き出しの枠線内側（1px右）に合わせる */
  right: auto;
  left: -19px;
  /* 枠線1px分を考慮して左にずらす */
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right: 10px solid #fff;
  /* 右側から色を出す（背景の色）*/
  z-index: 2;
}

/* 外枠のしっぽ */
.right-bubble::after {
  content: '';
  position: absolute;
  /* ★ 修正: しっぽの基点（ベース）を吹き出しの左端（枠の外側）に合わせる */
  right: auto;
  left: -20px;
  /* 吹き出しの左端から外へ */
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right: 10px solid #e53935;
  /* 右側から色を出す（外枠の色）*/
  z-index: 1;
}

/* ------------------------------------- */
/* 就業者の1日セクション (追加) */
/* ------------------------------------- */
.day-in-life-section {
  width: 100%;
  /* max-width: 1100px; */
  margin: 60px auto 0 auto;
  padding: 0 10%;
}

.day-in-life-title {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  border-left: 4px solid #e53935;
  /* 左側の赤い帯 */
  padding-left: 10px;
  margin-bottom: 40px;
}

.day-in-life-content {
  display: flex;
  justify-content: center;
  /* コンテンツ全体を中央寄せ */
  align-items: flex-start;
  gap: 80px;
  /* 人物とグラフの間の間隔 */
}

/* 左側の人物プロフィール */
.person-profile {
  text-align: center;
  flex-shrink: 0;
  margin-top: 100px;
  /* グラフと縦軸を合わせるための調整 */
}

.person-profile .person-image {
  width: 180px;
  height: auto;
  border-radius: 50%;
  /* 画像が円形の場合は適用 */
  /* ここではアップロードされた画像が既に円形背景を持つイラストのため、ボーダーや背景は省略 */
}

.person-profile .person-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

/* 右側の円グラフ */
.pie-chart {
  text-align: center;
}

.pie-chart .chart-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

/* ★ 修正: canvasを囲むコンテナを追加し、サイズを指定 */
.chart-container img{
  width: 400px;
  /* グラフの表示幅 */
  height: 350px;
  /* グラフの表示高さ */
  margin: 0 auto;
}

.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #e53935;
  margin-top: 40px;
  height: 120px;
}

/* ------------------------------------- */
/* 募集職種セクション (新規追加) */
/* ------------------------------------- */
.recruitment-section {
  width: 50%; /* ★ 幅を50%に設定 */
  flex-grow: 1;
  padding: 20px 0 5% 0;
  margin-top: 20px; /* タイトルを人物セクションと揃えるために調整 */
}

.recruitment-title {
  /* タイトルスタイルはperson-titleと揃える */
  font-size: 22px;
  font-weight: bold;
  color: #222;
  border-left: 4px solid #e53935;
  padding-left: 10px;
  margin-bottom: 32px;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  background: #fff;
  border: 1px solid #e53935;
  border-left: 6px solid #e53935; /* 左側の赤いライン */
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  height: 200px;
}

.job-title {
  color: #e53935;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 4px;
}

.job-desc p {
  margin: 16px 0;
  font-size: 16px;
  color: #444;
  line-height: 1.4;
}

.person-recruitment-container {
  width: 100%;
  /* max-width: 1100px; */
  margin: 60px auto 0 auto;
  padding: 0 10%;
  display: flex; /* ★ 横並びを有効化 */
  gap: 40px;
  align-items: flex-start;
  box-sizing: border-box;
  /* ★ 背景画像をコンテナに設定 */
  background: url("image/person_bg.jpg") no-repeat center top; 
  background-size: cover;
}



/* ------------------------------------- */
/* レスポンシブ (max-width: 767px) に統一 */
/* ------------------------------------- */

@media (max-width: 767px) {
  :root {
    --bg-height: 420px;
    --panel-width: 60%;
    --anata-left: -40px;
  }

  /* メインビジュアルの高さと赤帯の調整  */
  .main-visual {
    height: 400px;
  }

  .red-panel {
    width: 350px;
    /* 帯をさらに狭く */
    min-width: unset;
    max-width: unset;
    right: 0;
    clip-path: polygon(90% -20%, 150% 20%, 90% 100%, 0% 100%);
  }

  /* キャッチコピーの調整  */
  .catchcopy {
    width: 350px;
    min-width: unset;
    max-width: unset;

    right: 2vw;
    /* 右端に寄せる */
    font-size: 2.5vw;
    top: 25%;
    padding: 0 2vw 0 1vw;
  }

  /* キャッチコピー内のフォントサイズと位置調整  */
  .anata {
    font-size: 20px;
    padding: 4px 6px;
  }

  .rest {
    font-size: 16px;
    margin-left: 5px;
  }

  .line.line1,
  .line.line2,
  .line.line3,
  .line.line4 {
    font-size: 18px;
    margin-left: 0;
  }

  .line.line1 {
    margin-left: 24%;
    margin-top: 10%;
    /* 1行目を左にずらす */
  }

  .line.line2 {
    margin-left: 45%;
    /* 2行目を少し右に寄せる */
  }

  .line.line3 {
    margin-left: 16%;
    /* 3行目を左にずらす */
  }

  .line.line4 {
    margin-left: 40%;
    /* 4行目を少し右に寄せる */
  }

  .subtext {
    margin-left: 20%;
    font-size: 12px;
    width: 255px;
  }

  .entry-btn {
    padding: 10px 16px;
    font-size: 13px;
    right: 8px;
    bottom: 8px;
  }

  .kanji-with-dot {
    font-size: 16px;
    /* 熱意・自信の漢字をさらに小さく  */
  }

  .kanji-with-dot .dot {
    font-size: 10px;
    /* 点も小さく  */
    top: -1em;
  }

  /* ポイントセクションのカードレイアウト調整  */
  .points-list {
    gap: 16px;
    justify-content: center;
  }

  .point-card {
    width: 30vw;
    min-width: 160px;
    max-width: 200px;
    padding: 18px 8px 14px 8px;
  }

  /* ポイントセクションのカードレイアウト調整  */
  .points-list {
    flex-direction: column;
    align-items: center;
  }

  .point-card {
    width: 80vw;
    min-width: 0;
    max-width: 98vw;
  }

  /* 人物セクションのチャート調整 */
  .personality-chart {
    width: 70vw;
    /* 画面幅の90%を使用 */
    height: 70vw;
    /* ★ 変更: 幅と同じ90vwにして正円のコンテナにする */
    min-width: 0;
    margin: 0 auto;
  }

  /* ★ 背景のSVG（点線の円）を正円にする */
  .person-bg-circle {
    width: 100%;
    height: 100%;
  }

  .person-bg-circle ellipse {
    /* rxとryを同じvw値に設定し、コンテナのサイズに合わせて正円を維持 */
    cx: 50%;
    cy: 50%;
    rx: 30vw;
    ry: 30vw;
    /* ★ 変更: 横半径と同じ値にして正円にする */
  }

  /* ★ 3つの円のサイズと位置調整 */
  .person-circle {
    width: 32vw;
    height: 32vw;
    min-width: 110px;
    min-height: 110px;
    font-size: 20px;
    padding: 8px 4px 4px 4px;
  }

  

  .person-circle img {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
  }

  .circle-title {
    font-size: 18px;
    margin-bottom: 2px;
  }

  /* 点線は非表示 */
  .dashed-line {
    display: none;
  }

  /* 業務内容セクションのレスポンシブ対応 */
  .work-card {
    border-radius: 10px;
    padding: 0 0 10px 0;
    border-left: 1px solid #e53935;
    min-height: 0;
    margin-left: 0;
    /* ★ 修正: カード全体の左マージンをリセット */
    width: 100%;
    /* スマホ表示では高さをリセット */
  }

  .work-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    min-height: 0;
  }

  .card-circle {
    width: 100%;
    height: 50px;
    /* margin-left: 10px; <--- この行を削除/変更 */
    margin-left: 0;
    /* ★ 修正: 左への突き出しを無くす */
    border-radius: 8px;
    /* ★ 修正: 角丸の半径を設定 (例: 8px) */
    font-size: 15px;
  }

  .card-content {
    width: 100%;
    padding: 0 10px 10px 10px;
    justify-content: flex-start;
  }

  .card-content p {
    font-size: 14px;
    margin: 6px 0;
  }

  /* 研修セクションのレスポンシブ対応 */
  .training-list {
    gap: 24px;
  }

  .training-step {
    flex-direction: column;
    /* 縦並びに変更 */
    gap: 10px;
    padding-left: 15px;
  }

  .step-info {
    max-width: 100%;
    border-right: #fff 0px solid;
    border-bottom: #e53935 2px solid;
    /* 幅を100%に */
  }

  .step-title::before {
    left: -24px;
    width: 10px;
    height: 10px;
  }

  .step-details {
    font-size: 13px;
  }

  .step-comment {
    width: 100%;
    /* flex-direction: row; <--- ここを column に変更 */
    flex-direction: column;
    /* ★ 修正: 画像と感想を縦並びにする */
    align-items: center;
    /* ★ 修正: 縦並びにした要素を中央に寄せる */
    justify-content: center;
    /* 中央寄せ */
    gap: 10px;
    padding-left: 0;
    padding-right: 5px;
    margin-top: 10px;
    /* 研修内容との間に少しマージンを入れる */
  }

  .comment-icon {
    width: 40px;
    /* margin-top: 0; */
    /* order: 0; <--- 削除: 縦並びなので order は不要 */
  }

  .comment-bubble {
    /* order: 1; <--- 削除: 縦並びなので order は不要 */
    flex-grow: 0;
    /* ★ 修正: 横幅は100%に広げない */
    width: 90%;
    /* ★ 追加: 吹き出しの幅を調整 */
    max-width: 250px;
    /* スマホでも見やすい最大幅 */
    font-size: 12px;
    padding: 8px 12px;
    text-align: center;
    /* テキストを中央寄せ */
  }

  /* しっぽの調整 */
  .right-bubble::after,
  .right-bubble::before {
    display: none;
    /* スマホではシンプルにするため非表示 */
  }


  /* 就業者の1日セクション */
  .day-in-life-section {
    padding: 0 5%;
    margin: 50px auto 0 auto;
  }

  .day-in-life-content {
    flex-direction: column;
    /* 縦並びにする */
    align-items: center;
    /* 中央寄せ */
    gap: 30px;
    margin-top: 20%;
  }

  .person-profile {
    margin-top: 0;
  }

  .person-profile .person-image {
    width: 150px;
  }

  .pie-chart .chart-title {
    width: 400px;
    margin-bottom: 10px;
  }

  /* ★ 修正: canvasコンテナのサイズを調整 */
  .chart-container {
    width: 85vw;
    /* 画面幅に合わせて拡大 */
    height: 85vw;
    /* 正方形を維持 */
    max-width: 350px;
    max-height: 350px;
  }

  .person-recruitment-container {
    flex-direction: column; /* ★ 縦並びにする */
    gap: 30px;
    padding: 0 5%;
    margin: 50px auto 0 auto;
    /* 背景を縦方向にフィットさせるための調整（任意） */
    background-position: center top; 
  }
  
  /* 人物セクション (レスポンシブ調整) */
  .person-section {
    width: 100%; /* ★ 幅を100%に */
  }
  
  /* 募集職種セクション (レスポンシブ調整) */
  .recruitment-section {
    width: 100%; /* ★ 幅を100%に */
  }

}

/* --- パルスアニメーションの定義 --- */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7); /* シャドウも一緒に広がる */
  }
  70% {
    transform: scale(1.05); /* 5%拡大 */
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0); /* シャドウが消える */
  }
  100% {
    transform: scale(1); /* 元に戻る */
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

/* --- ボタンのスタイル (前回のスライドインと統合) --- */

.entry-btn {
  /* ... (ボタンの通常スタイル: opacity: 0; pointer-events: none; など) */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* 非表示に戻るとき用 */
  transform: translateY(20px); /* 隠れている状態 */
}

/* スクロールで表示された状態 (スライドイン) */
.entry-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0); /* スライドイン終了 */
  /* transition の設定により、自然にスライドインする */
}

/* is-pulsing クラスが付与されている間、脈打ち続ける */
.entry-btn.is-pulsing {
  /* パルスアニメーションを適用: 1.5秒間隔で無限に繰り返す */
  animation: pulse 1.5s infinite; 
}


/* ------------------------------------- */
/* 求める人物像と募集職種コンテナ (新規追加) */
/* ------------------------------------- */


