/* =========================================================
   キャリア支援事業 ページ専用スタイル
   (フォントサイズは%指定、レイアウトはGridで強制制御)
========================================================= */
:root {
  --fa-red: #d33842;
}

/* 画像が勝手に巨大化するのを防ぐリセット */
.sec_career_mv img, 
.sec_employment_support img, 
.project_career_support img, 
.project_event img {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------
 * 1. メインビジュアル
 * -------------------------------------- */
.sec_career_mv {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-color: #f8f8f9;
  overflow: hidden;
  padding: 60px 0;
}
.career_mv_bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 右肩上がりの図の画像パスを設定してください */
  background: url('../img/project/career-support-services/career_mv_bg_graph.png') right bottom/contain no-repeat;
}
.relative_container {
  position: relative;
  z-index: 2;
  height: 100%;
}
.mv_black_box {
  position: absolute;
  top: -60px;
  left: 15px;
  background-color: #222;
  width: 160px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
/* ここのロゴはボックスに収まるように制限 */
.mv_black_box img {
  width: 80% !important;
}
.mv_text_area {
  padding-top: 30px;
  padding-left: 0;
}
.mv_title {
  font-size: 350%;
  font-weight: bold;
  color: #333;
  margin: 0 0 40px 0;
  letter-spacing: 0.05em;
  font-family: 'Arial', sans-serif;
}
.mv_title .f-red {
  color: var(--fa-red);
}
.mv_lead {
  font-size: 120%;
  line-height: 2.2;
  font-weight: bold;
  color: #222;
  margin: 0;
}

/* --------------------------------------
 * 2. Football Assist の就職支援
 * -------------------------------------- */
.sec_employment_support {
  padding: 80px 0;
  background: linear-gradient(115deg, #ffffff 35%, #f4f5f7 35%);
  position: relative;
  z-index: 1;
}
.support_header_title {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.support_logo {
  width: 50px;
  margin-right: 20px;
  flex-shrink: 0;
}
.support_header_title h2 {
  font-size: 220%;
  font-weight: bold;
  color: var(--fa-red);
  margin: 0;
}
.support_lead_text p {
  font-size: 110%;
  line-height: 1.8;
  font-weight: bold;
  color: #333;
  margin-bottom: 60px;
}
/* 2カラムレイアウトをグリッドで強制 */
.support_columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
.support_col {
  position: relative;
  padding-bottom: 40px;
}
/* 背景シルエット画像（パスを設定してください） */
.support_col::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 250px;
  height: 350px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  z-index: -1;
  opacity: 0.15;
}
.support_col_soccer::after {
  background-image: url('../img/project/silhouette_soccer.png'); 
}
.support_col_business::after {
  background-image: url('../img/project/silhouette_business.png');
}
.support_col h3 {
  font-size: 140%;
  font-weight: bold;
  color: var(--fa-red);
  border-bottom: 2px solid var(--fa-red);
  padding-bottom: 10px;
  margin-bottom: 30px;
  display: inline-block;
}
.support_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support_list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 110%;
  color: #333;
  line-height: 1.6;
}
.support_list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fa-red);
  font-size: 120%;
}
.support_list li span.sub_text {
  display: block;
  font-size: 90%;
  font-weight: normal;
  color: #555;
  margin-top: 5px;
}

/* --------------------------------------
 * 3. 納得したキャリアのための就職サポート
 * -------------------------------------- */
.project_career_support {
  padding: 80px 0;
  background-color: #f8f8f8;
}
.support_header {
  text-align: center;
  margin-bottom: 60px;
}
.support_logo_center img {
  width: 50px !important;
  margin-bottom: 20px;
}
.support_title {
  font-size: 220%;
  font-weight: bold;
  color: #000;
  margin: 0 0 10px 0;
}
.support_subtitle {
  font-size: 100%;
  color: #666;
  margin: 0;
}
.support_lead {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: left;
}
.support_lead p {
  font-size: 110%;
  line-height: 1.8;
  color: #333;
}
/* 3カラムレイアウトをグリッドで強制 */
.event_list_recruitment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.support_box {
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
}
/* ボックス内の画像を綺麗に収める */
.support_box_img img {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.support_box_btn {
  display: inline-block;
  border: 2px solid var(--fa-red);
  color: var(--fa-red);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 80%;
  margin-bottom: 20px;
}
.support_box_desc {
  font-size: 75%;
  line-height: 1.6;
  color: #666;
  text-align: left;
}

/* --------------------------------------
 * 4. プロを目指す学生に向けたイベント開催
 * -------------------------------------- */
#pro_event {
  padding: 80px 0;
  background-color: #f4f5f7;
}
.pro_event_header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.pro_event_logo {
  width: 50px;
  margin-right: 20px;
  flex-shrink: 0;
}
.pro_event_logo img {
  width: 100% !important;
}
.pro_event_title_wrap h2 {
  font-size: 220%;
  font-weight: bold;
  color: var(--fa-red);
  margin-bottom: 5px;
}
.pro_event_title_wrap p {
  font-size: 100%;
  font-weight: bold;
  color: #333;
  margin: 0;
}
/* メイン画像とテキストをグリッドで強制横並び */
.pro_event_top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.pro_event_main_img img {
  width: 100% !important;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.pro_event_text p {
  font-size: 100%;
  line-height: 2.2;
  font-weight: bold;
  color: #222;
  margin: 0;
}
/* 下部のギャラリーを4カラムグリッドで強制 */
.pro_event_bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery_item {
  text-align: center;
}
.gallery_item img {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.gallery_item p {
  font-size: 90%;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* --------------------------------------
 * お問い合わせコンバージョンエリア
 * -------------------------------------- */
.recruitment_cv_contact_area {
  padding: 80px 0;
  background-color: #fff;
}
.cv_project_link {
  margin-top: 30px;
  font-size: 120%;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
}

/* --------------------------------------
 * スマホ用レスポンシブ対応
 * -------------------------------------- */
@media screen and (max-width: 768px) {
  /* メインビジュアル */
  .sec_career_mv {
    min-height: 600px;
    padding: 40px 0;
  }
  .mv_black_box {
    width: 100px;
    height: 120px;
    top: -40px;
    left: 15px;
  }
  .mv_text_area {
    padding-left: 0;
    padding-top: 100px;
  }
  .mv_title {
    font-size: 250%;
    margin-bottom: 20px;
  }
  .mv_lead {
    font-size: 100%;
    line-height: 1.8;
  }
  .career_mv_bg {
    background-size: 150%;
    background-position: bottom right -50px;
    opacity: 0.2; /* スマホではテキストを読みやすくするため薄く */
  }

  /* 2カラム、3カラムのグリッドをすべて1カラムに解除 */
  .support_columns,
  .event_list_recruitment,
  .pro_event_top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* ギャラリーはスマホで2列に */
  .pro_event_bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }

  /* 各種微調整 */
  .sec_employment_support {
    background: #f8f8f8; /* スマホは単色背景 */
  }
  .support_header_title, .pro_event_header {
    flex-direction: column;
    align-items: flex-start;
  }
  .support_logo, .pro_event_logo {
    margin-bottom: 15px;
  }
  .support_header_title h2, .pro_event_title_wrap h2, .support_title {
    font-size: 180%;
  }
  .support_col::after {
    width: 150px;
    height: 200px;
  }
  .support_lead_text p, .support_lead p {
    font-size: 100%;
  }
  .pro_event_text p {
    font-size: 100%;
    line-height: 1.8;
  }
}