/* ==========================================================
   14-team.css — チームサポート (TEAM SUPPORT)
   SP: 390px 基準 / PC: 1440px 基準 (min-width: 768px)
   ========================================================== */

.team {
  background-color: #f7f4ec;
  padding: 72px 0;
  color: var(--color-text);
}

/* --- 見出しブロック --- */
.team__head {
  padding: 0 24px;
  text-align: center;
}

.team__label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 2px;
  color: var(--color-gold);
}

.team__title {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 52px;
  letter-spacing: 2px;
  color: var(--color-text);
}

/* 小見出し(コンセプトコピー) */
.team__subtitle {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 1.2px;
  color: var(--color-text);
}

.team__line {
  width: 1px;
  height: 56px;
  margin: 32px auto 0;
  background: linear-gradient(to bottom, rgba(201, 162, 75, 0.9) 0%, rgba(201, 162, 75, 0) 100%);
}

/* --- 課題カード --- */
.team__problems {
  padding: 40px 24px 0;
}

.team__problem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 28px 24px;
  background-color: var(--color-white);
  border: 1px solid rgba(26, 34, 51, 0.12);
  border-radius: 6px;
  text-align: center;
}

.team__problem + .team__problem {
  margin-top: 26px;
}

.team__problem p {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
}

/* 吹き出しの三角(回転させた正方形) */
.team__problem::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  background-color: var(--color-white);
  border-right: 1px solid rgba(26, 34, 51, 0.12);
  border-bottom: 1px solid rgba(26, 34, 51, 0.12);
  transform: translate(-50%, 50%) rotate(45deg);
}

/* --- リード文 --- */
.team__lead-wrap {
  padding: 48px 24px;
}

.team__lead {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 18px;
  line-height: 38px;
  letter-spacing: 1px;
  text-align: center;
  color: var(--color-text);
}

/* --- BeMENTALが支援すること --- */
.team__about {
  padding: 0 24px;
}

.team__about-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 42px;
  letter-spacing: 0.6px;
  color: var(--color-text);
}

.team__about-desc {
  margin-top: 24px;
  font-size: 14px;
  line-height: 30px;
  letter-spacing: 0.6px;
}

.team__banner {
  position: relative;
  display: block;
  margin-top: 24px;
  aspect-ratio: 342 / 192;
  background-color: #101c3d;
  overflow: hidden;
}

.team__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__banner-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e3c87e 0%, #c9a24b 100%);
  transform: translate(-50%, -50%);
}

.team__banner-btn::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: -3px;
  border-top: 1.5px solid #0a1128;
  border-right: 1.5px solid #0a1128;
  transform: rotate(45deg);
}

/* --- 支援ポイント 01-03 --- */
.team__points {
  padding: 44px 24px 0;
}

.team__point + .team__point {
  margin-top: 32px;
}

.team__point-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--color-gold);
}

.team__point-title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 34px;
  letter-spacing: 0.6px;
  color: var(--color-text);
}

.team__point-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 30px;
  letter-spacing: 0.6px;
  color: rgba(26, 34, 51, 0.8);
}

/* --- CTA --- */
.team__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 24px 0;
}

.team .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 63px;
  padding: 16px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 1.3px;
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.team .btn:hover {
  opacity: 0.8;
}

.team .btn--primary {
  background: linear-gradient(135deg, #e3c87e 0%, #c9a24b 100%);
  color: #0a1128;
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.35);
}

.team .btn--line {
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}

/* ホバーで色反転(金地×紺文字) */
.team .btn--line:hover {
  opacity: 1;
  background: var(--color-gold);
  color: #0a1128;
}

.team .btn--line:hover .btn__icon--chat {
  background-color: #0a1128;
}

.team .btn__icon--arrow {
  width: 16px;
  height: 12px;
}

/* LINEアイコン(マスク方式でホバー時に色を追従させる) */
.team .btn__icon--chat {
  width: 19px;
  height: 18px;
  background-color: var(--color-gold);
  -webkit-mask: url("../assets/144-103.svg") no-repeat center / contain;
  mask: url("../assets/144-103.svg") no-repeat center / contain;
  transition: background-color 0.3s ease;
}

/* ==========================================================
   PC (min-width: 768px)
   ========================================================== */
@media (min-width: 768px) {
  .team {
    padding: 120px 0;
  }

  .team__label {
    font-size: 20px;
  }

  .team__title {
    margin-top: 52px;
    font-size: 56px;
    line-height: 90px;
    letter-spacing: 4px;
  }

  .team__subtitle {
    margin-top: 16px;
    font-size: 24px;
    line-height: 44px;
    letter-spacing: 2px;
  }

  .team__line {
    height: 72px;
    margin-top: 60px;
  }

  .team__problems {
    display: flex;
    gap: 30px;
    max-width: 1228px;
    margin: 60px auto 0;
    padding: 0 24px;
  }

  .team__problem {
    flex: 1;
    min-height: 166px;
    padding: 34px 32px;
  }

  .team__problem + .team__problem {
    margin-top: 0;
  }

  .team__problem p {
    font-size: 20px;
  }

  .team__problem::after {
    left: 56px;
    width: 21px;
    height: 21px;
  }

  .team__lead-wrap {
    margin-top: 60px;
    padding: 40px 24px;
  }

  .team__lead {
    font-size: 26px;
    line-height: 52px;
  }

  .team__about {
    display: flex;
    align-items: center;
    gap: clamp(32px, 4.4vw, 64px);
    max-width: 1228px;
    margin: 60px auto 0;
    padding: 0 24px;
  }

  .team__about-text {
    flex: 1 1 0;
    min-width: 0;
  }

  .team__about-title {
    width: fit-content;
    font-size: clamp(24px, 3.2vw, 32px);
    line-height: 1.7;
    background: linear-gradient(to bottom, rgba(201, 162, 75, 0) 78%, rgba(201, 162, 75, 0.55) 78%);
  }

  .team__about-desc {
    margin-top: 21px;
    font-size: 16px;
    line-height: 33.3px;
  }

  .team__banner {
    /* 動画バナー側をやや小さく(47%) */
    flex: 0 1 47%;
    margin-top: 0;
    aspect-ratio: 558 / 313.9;
  }

  .team__points {
    display: flex;
    max-width: 1228px;
    margin: 72px auto 0;
    padding: 0 24px;
  }

  .team__point {
    flex: 1;
    padding: 0 40px;
  }

  .team__point + .team__point {
    margin-top: 0;
    /* デザイン指定: カラム間の区切り線 (1px rgba(26,34,51,0.14)) */
    border-left: 1px solid rgba(26, 34, 51, 0.14);
  }

  .team__point-num {
    line-height: 37.6px;
  }

  .team__point-title {
    font-size: 22px;
    line-height: 40px;
    letter-spacing: 0;
  }

  .team__point-desc {
    font-size: 15px;
    line-height: 32px;
    color: rgba(26, 34, 51, 0.72);
  }

  .team__cta {
    flex-direction: row;
    justify-content: center;
    margin-top: 72px;
    padding: 21px 24px 0;
  }

  .team .btn {
    min-height: 67px;
  }

  .team .btn--primary {
    width: 280px;
  }

  .team .btn--line {
    width: 282px;
  }
}

/* ==========================================================
   狭い画面(〜389px)での改行調整
   ========================================================== */
@media (max-width: 389px) {
  .team__problem {
    padding: 26px 18px;
  }

  .team__problem p {
    font-size: 15px;
    line-height: 30px;
  }
}
