@charset "utf-8";

/* ==========================================================================
   #cont5 ご相談を担当するのは このメンバー
   ※ 旧 LP (lp-webconsul-delete-merit02) を移植 + youtube 動画ブロック追加
   ========================================================================== */

#cont5 {
  padding: min(10%, 100px) 0 0;
  background-color: #f2f0dc;
  text-align: center;
  font-family: var(--font-jp);
  color: var(--color-text);
}
#cont5 .inner {
  max-width: 960px;
  width: 94%;
  margin: auto;
}

/* タイトル */
#cont5 .tit {
  line-height: 1.5;
  display: inline-block;
  font-size: min(4.4vw, 44px);
  letter-spacing: 0.1em;
  font-weight: 900;
  position: relative;
}
#cont5 .tit .small {
  display: block;
  font-size: min(2.4vw, 24px);
  letter-spacing: 0.1em;
  padding-left: 0;
}
#cont5 .marker {
  position: relative;
  z-index: 1;
}
#cont5 .marker:after {
  content: "";
  display: block;
  width: 100%;
  height: 0.4em;
  background-color: #f8e760;
  position: absolute;
  bottom: 0.1em;
  left: 0;
  z-index: -1;
  transform: skewX(-15deg);
}

/* ---- メンバーカード ---------------------------------------------------- */
#cont5 .members {
  margin: min(7%, 70px) auto 0;
  list-style: none;
  padding: 0;
  max-width: 960px;
  width: 94%;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#cont5 .members li {
  width: 49%;
  padding: 3%;
  background-color: #fff;
  border: 2px solid;
  border-radius: 0.3em;
  text-align: left;
}
#cont5 .members li .flex {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}
#cont5 .members li .flex h3 {
  font-weight: 900;
  flex: 1;
  margin: 0;
}
#cont5 .members li .flex h3 .small {
  display: block;
  font-size: min(1.6vw, 16px);
}
#cont5 .members li .flex h3 .large {
  display: block;
  margin-top: 0.1em;
  font-size: min(2.8vw, 28px);
}
#cont5 .members li .flex figure {
  width: 39%;
  margin: 0;
}
#cont5 .members li .flex figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
#cont5 .members li p {
  margin: 1em 0 0;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

/* ---- 得意領域 (chips) -------------------------------------------------- */
#cont5 .cont5__skills {
  margin-top: 0.6em;
  padding-top: 0.6em;
  border-top: 1px dashed #b4b4b5;
}
#cont5 .cont5__skills-label {
  margin: 0 0 0.6em;
  font-size: min(1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 0.1em;
}
#cont5 .cont5__skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 8px;
  width: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
}
#cont5 .cont5__skills-list li {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: auto;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 0 14px;
  background: var(--color-text);
  color: #fff;
  font-size: min(1.4vw, 14px);
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 0;
  border-radius: 4px;
  line-height: 1;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  align-self: center;
  overflow: hidden;
}

/* ---- youtube 動画ブロック ---------------------------------------------- */
.cont5__yt {
  position: relative;
  margin-top: min(12%, 120px);
  text-align: center;
}
.cont5__yt-title {
  font-size: min(4.4vw, 44px);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.5;
}
.cont5__yt-title-text {
  position: relative;
  display: inline-block;
  padding: 0 6px;
}
.cont5__yt-title-text::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -28px;
  width: 28px;
  height: 25px;
  background: url("../images/cont5/title-deco.png") no-repeat center / contain;
}
.cont5__yt-panel {
  position: relative;
  margin-top: 440px;
  padding: 0 20px 80px;
  width: 100%;
  box-sizing: border-box;
}

.cont5__yt-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  background: #f4c917;
}
/* 上端アーチ (FV下部と同じ手法) */
.cont5__yt-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 300px;
  height: 32px;
  background: #f4c917;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.cont5__yt-link {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  margin: -402px auto 0;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  z-index: 2;
  background: #000;
  -webkit-appearance: none;
  appearance: none;
}
.cont5__yt-link:disabled {
  cursor: default;
}
.cont5__yt-link iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.cont5__yt-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s;
}
.cont5__yt-link:hover .cont5__yt-thumb {
  transform: scale(1.04);
}
/* 中央の再生ボタン */
.cont5__yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  pointer-events: none;
  transition: background 0.2s;
}
.cont5__yt-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 56%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 26px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}
.cont5__yt-link:hover .cont5__yt-play {
  background: rgba(255, 0, 0, 0.85);
}

/* ==========================================================================
   SP (~750px以下)
   ========================================================================== */
@media screen and (max-width: 750px) {
  #cont5 {
    padding: 15% 0 0;
  }
  #cont5 .tit {
    font-size: 6.4vw;
  }
  #cont5 .tit .small {
    font-size: 3.7vw;
  }
  #cont5 .marker:after {
    height: 0.3em;
    bottom: 0.15em;
  }

  #cont5 .members {
    margin-top: min(7%, 70px);
    width: 90%;
    display: block;
  }
  #cont5 .members li {
    width: auto;
    margin-top: 3%;
    padding: 5%;
  }
  #cont5 .members li:first-child {
    margin-top: 0;
  }
  #cont5 .members li .flex h3 .small {
    font-size: 3.2vw;
  }
  #cont5 .members li .flex h3 .large {
    margin-top: 0.3em;
    font-size: 5.3vw;
  }
  #cont5 .members li .flex figure {
    width: 45%;
  }

  #cont5 .cont5__skills-label {
    font-size: 3.4vw;
  }
  #cont5 .cont5__skills-list li {
    font-size: 3.2vw;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    line-height: 1;
    padding: 0 12px;
    margin: 0;
  }

  .cont5__yt {
    margin-top: 18%;
    width: 100%;
  }
  .cont5__yt-title {
    font-size: 24px;
    line-height: 1.5;
  }
  .cont5__yt-title-text::before {
    width: 22px;
    height: 20px;
    top: -12px;
    right: -20px;
  }
  .cont5__yt-panel {
    margin-top: 220px;
    padding: 0 5% 12%;
    width: 100%;
  }
  .cont5__yt-panel::before {
    top: -16px;
    height: 16px;
  }
  .cont5__yt-link {
    margin: -200px auto 0;
    border-radius: 16px;
  }
  .cont5__yt-play {
    width: 60px;
    height: 60px;
  }
  .cont5__yt-play::after {
    border-left-width: 18px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }
}
