@charset "UTF-8";
/* ============================================================
// career-project.scss
============================================================ */
/* ------------------------------------------------------------
// Fluid Design Function
// 最小値〜最大値の間で数値を可変させる共通関数
------------------------------------------------------------ */
/* ------------------------------------------------------------
// 案件検索システムを見る
------------------------------------------------------------ */
.system-video {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  border-radius: 10px;
}

/* ------------------------------------------------------------
// 案件選択を、感覚で終わらせない。
------------------------------------------------------------ */
.career-support-flex {
  display: flex;
  gap: clamp(20px, 9.2592592593vw + -51.1111111111px, 60px);
  width: 100%;
  max-width: 944px;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .career-support-flex {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 左側：エリア確保 */
.career-support-lead {
  flex: 1;
}

/* 右側：ステップリスト */
.career-support-steps {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media screen and (max-width: 767px) {
  .career-support-steps {
    max-width: none;
  }
}

.career-step-item {
  display: flex;
  align-items: center;
  height: 76px;
  padding-inline: 16px;
  gap: 16px;
  background-color: #fff;
  border: 1px solid #2d8bea;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(45, 139, 234, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.career-step-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 20px rgba(45, 139, 234, 0.12);
  cursor: default;
}
.career-step-item__num {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}
.career-step-item__title {
  font-size: 18px;
  font-weight: 700;
  color: #2d8bea;
}

/* ------------------------------------------------------------
// 案件選択とキャリア提案書で、こう変わる。
------------------------------------------------------------ */
.career-roadmap-flex {
  display: flex;
  gap: clamp(20px, 3.1515151515vw + 8.1818181818px, 46px);
  width: 100%;
  max-width: 944px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .career-roadmap-flex {
    flex-direction: column;
  }
}

.career-roadmap-step {
  flex: 1;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #2d8bea;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.career-roadmap-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(45, 139, 234, 0.1);
  cursor: default;
}
.career-roadmap-step__en {
  font-size: 16px;
}
.career-roadmap-step__jp {
  font-size: 18px;
  font-weight: 700;
  color: #2d8bea;
}

/* ------------------------------------------------------------
// 案件選択とキャリア提案書で、こう変わる。
------------------------------------------------------------ */
.case-study-grid {
  display: flex;
  gap: clamp(20px, 1.2121212121vw + 15.4545454545px, 30px);
  width: 100%;
  max-width: 1050px;
  margin-inline: auto;
}
@media screen and (max-width: 991px) {
  .case-study-grid {
    flex-direction: column;
  }
}

.case-study-card {
  flex: 1;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #2d8bea;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(45, 139, 234, 0.15);
  cursor: default;
}
.case-study-card__head {
  margin-bottom: 20px;
  padding-inline: clamp(0px, 3.6363636364vw + -13.6363636364px, 30px);
  padding-bottom: 15px;
  border-bottom: 1px solid #2d8bea;
}
.case-study-card__id {
  font-weight: 700;
  margin-bottom: 4px;
}
.case-study-card__title {
  font-size: clamp(18px, 0.2424242424vw + 17.0909090909px, 20px);
  font-weight: 700;
  color: #2d8bea;
}
.case-study-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 1.2121212121vw + 15.4545454545px, 30px);
  margin-bottom: 10px;
  padding-block: 8px;
  padding-inline: clamp(10px, 2.4242424242vw + 0.9090909091px, 30px);
  border-radius: 6px;
}
.case-study-card__row--blue {
  background: rgba(34, 140, 204, 0.1);
}
.case-study-card__label {
  flex-shrink: 0;
  font-size: clamp(14px, 0.1212121212vw + 13.5454545455px, 15px);
  font-weight: 700;
  width: 60px;
}
.case-study-card__label--blue {
  color: #2d8bea;
}
.case-study-card__value {
  flex: 1;
  font-size: 15px;
}
.case-study-card__value--bold {
  font-weight: 700;
}

/* ------------------------------------------------------------
// モーダル
------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
  /* activeクラスがついたら表示 */
}
.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-container {
  background-color: #fff;
  width: 95%;
  max-width: 900px;
  height: 90vh; /* 画面の高さの9割に固定 */
  border-radius: 15px;
  padding: 50px 0 20px; /* 左右paddingはcontent側で調整 */
  position: relative;
  display: flex;
  flex-direction: column; /* 中身を縦に並べる */
  transform: scale(0.9);
  transition: transform 0.3s;
  overflow: hidden;
}
.is-active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  z-index: 10;
}
.modal-close-btn:hover {
  color: #2d8bea;
}

.modal-content {
  flex: 1;
  overflow-y: auto;
  padding-inline: 15px;
  -webkit-overflow-scrolling: touch;
}
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.modal-content .modal-item {
  display: none;
}
.modal-content .modal-item.is-active {
  display: block;
}
.modal-content .modal-item img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-nav {
  flex-shrink: 0; /* ナビが潰れないように固定 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 15px 25px 0;
  border-top: 1px solid #eee;
}
.modal-nav__link {
  background: none;
  border: none;
  color: #2d8bea;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  padding: 5px 10px;
}
.modal-nav__link:disabled {
  color: #ccc;
  cursor: not-allowed;
}
.modal-nav__link:hover:not(:disabled) {
  opacity: 0.7;
}
.modal-nav__dots {
  display: flex;
  gap: 10px;
}
.modal-nav__dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #eee;
}
.modal-nav__dots .dot.is-active {
  background-color: #2d8bea;
}