@charset "UTF-8";

/* =========================================================
   採用コンサルティング事業 ページ専用スタイル
========================================================= */

/* ベースカラー */
:root {
  --fad-red: #d33842; /* Football Assistの赤色 */
  --fad-black: #1a1a1a;
}

/* --------------------------------------
 * 共通スタイル
 * -------------------------------------- */
.sec_mv {
  padding: 60px 0 40px;
  text-align: center;
}
.sec_mv h1 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.sec_merit {
  margin-bottom: 60px;
}
.sec_merit p {
  font-size: 100%;
  line-height: 1.8;
  font-weight: bold;
}

/* パンくずリスト（下部配置用） */
.bread_project {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 40px 0;
  font-size: 0.9rem;
  color: #666;
}
.bread_project a {
  color: #333;
  text-decoration: none;
}
.bread_project a:hover {
  text-decoration: underline;
}

/* --------------------------------------
 * サービス紹介セクション (image_21109e.png デザイン)
 * -------------------------------------- */
.sec_service {
  padding-bottom: 80px;
}

.service_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px 40px; /* 縦60px、横40pxの余白 */
}

.service_box {
  width: calc((100% - 40px) / 2); /* PC時は2カラム */
  display: flex;
  flex-direction: column;
}

.service_box h2 {
  color: var(--fad-red);
  font-size: 150%;
  font-weight: bold;
  border-bottom: 2px solid var(--fad-red);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.service_box p {
  font-size: 80%;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
  flex-grow: 1; /* テキスト量が違っても画像の下端を揃える */
}

/* サービス画像 */
.service_box .top_project_box {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service_box .top_project_box img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9; /* 画像の比率を統一 */
}

/* h2で見出しを出しているため、画像内のタイトルは非表示にする */
.service_box .top_project_text {
  display: none;
}


/* --------------------------------------
 * 連携図セクション (image_211726.png デザイン)
 * -------------------------------------- */
.sec_connection {
  background-color: var(--fad-black);
  color: #fff;
  padding: 80px 0 100px;
  text-align: center;
}

.connection_title {
  font-size: 200%;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.sec_connection > .container > p {
  font-size: 80%;
  line-height: 1.8;
  margin-bottom: 80px;
  color: #ddd;
}

/* 図のコンテナ (正方形を保つ) */
.connection_diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* 循環する背景のリング (点線) */
.connection_diagram::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  right: 15%;
  bottom: 15%;
  border: 3px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 1;
}

/* 中央のFootballAssistロゴ */
.diagram_center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  aspect-ratio: 1 / 1;
  background-color: #fff; /* 白ロゴが映えるように暗い色、または白背景にして黒ロゴを入れる前提 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  padding: 20px;
  box-sizing: border-box;
}

/* _wh(白ロゴ)が指定されているため、中央円の背景を少し暗く設定 */
.diagram_center {
  background-color: #222;
  border: 2px solid #555;
}

.diagram_center img {
  width: 90%;
  height: auto;
}

/* 周囲の4つの項目 */
.diagram_item {
  position: absolute;
  width: 28%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.diagram_item .icon {
  width: 90px;
  height: 90px;
  background-color: #333; /* アイコンの背景色 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 2px solid #666;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* アイコン画像の色調整等があればここで */
.diagram_item .icon img {
  width: 50%;
  height: auto;
}

.diagram_item p {
  font-weight: bold;
  font-size: 70%;
  margin: 0;
  color: #fff;
  line-height: 1.4;
}

/* 4つの項目の絶対配置 (上・右・下・左) */
.item1 { top: -5%; left: 50%; transform: translateX(-50%); }
.item2 { top: 50%; right: -5%; transform: translateY(-50%); }
.item3 { bottom: -5%; left: 50%; transform: translateX(-50%); }
.item4 { top: 50%; left: -5%; transform: translateY(-50%); }

/* 中央から各項目への矢印(直線) */
.arrow {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 5;
}

.arrow1-center { width: 2px; height: 16%; top: 22%; left: 50%; transform: translateX(-50%); }
.arrow2-center { height: 2px; width: 16%; top: 50%; right: 22%; transform: translateY(-50%); }
.arrow3-center { width: 2px; height: 16%; bottom: 22%; left: 50%; transform: translateX(-50%); }
.arrow4-center { height: 2px; width: 16%; top: 50%; left: 22%; transform: translateY(-50%); }

/* リングに沿った矢印（CSSの三角形で表現） */
.arrow1-2, .arrow2-3, .arrow3-4, .arrow4-1 {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 5;
}
/* 上から右へ */
.arrow1-2 {
  top: 18%; right: 18%;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent rgba(255,255,255,0.6);
  transform: rotate(45deg);
}
/* 右から下へ */
.arrow2-3 {
  bottom: 18%; right: 18%;
  border-width: 10px 15px 10px 0;
  border-color: transparent rgba(255,255,255,0.6) transparent transparent;
  transform: rotate(-45deg);
}
/* 下から左へ */
.arrow3-4 {
  bottom: 18%; left: 18%;
  border-width: 10px 15px 10px 0;
  border-color: transparent rgba(255,255,255,0.6) transparent transparent;
  transform: rotate(45deg);
}
/* 左から上へ */
.arrow4-1 {
  top: 18%; left: 18%;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent rgba(255,255,255,0.6);
  transform: rotate(-45deg);
}


/* --------------------------------------
 * スマホ用レスポンシブ対応
 * -------------------------------------- */
@media screen and (max-width: 768px) {
  .sec_mv h1 {
    font-size: 1.8rem;
  }
  
  /* サービス紹介を1カラムに */
  .service_list {
    gap: 50px;
  }
  .service_box {
    width: 100%;
  }

  /* 連携図のサイズ調整 */
  .sec_connection {
    padding: 60px 0 80px;
  }
  .connection_title {
    font-size: 1.8rem;
  }
  .sec_connection > .container > p {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 50px;
  }

  .connection_diagram {
    /* スマホ画面からはみ出さないように縮小調整 */
    transform: scale(0.9);
  }

  .diagram_item .icon {
    width: 70px;
    height: 70px;
  }
  .diagram_item p {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  /* さらに小さい画面用の図の微調整 */
  .connection_diagram {
    transform: scale(0.75);
    margin-top: -30px;
    margin-bottom: -30px;
  }
}