main section#talentmypage .talentmypage_inner {
    margin: 0 0.5em 2em;
    padding-top: 1.5em;
    text-align: center;
    line-height: 1.75;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont {
    margin: 3em 0 0;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont h3,
main section#talentmypage .talentmypage_inner .talentmypage_cont h4 {
    color: #e94a6a;
    margin-top: 0;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont p {
    text-align: left;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3em 0;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child > div {
    width: 47%;
    text-align: left;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child .flexitems {
    margin-bottom: 2em;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child h4 {
    width: 100%;
    text-align: left;
    font-size: 1.65em;
    margin-bottom: .5em;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child .btn_pink01{
    display: inline-block;
    text-align: center;
    padding: 1em min(5vw , 4em);
    border: none;
    margin: 1em auto;
    font-size: .95em;
    position: relative;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child .btn_pink01::after{
    content: url('../img/open_new_window.svg');
    height: 1em;
    width: 1em;
    position: relative;
    top: 3px;
    display: inline-block;
    margin-left: 5px;
}

/* 画像スライド */
/* ========================================
   flexレイアウト側の保険
======================================== */

.flex-item-1,
.flex-item-2 {
  min-width: 0;
}


/* ========================================
   スライダー全体
======================================== */

.talent-slider {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 3em;
}


/* ========================================
   スライド表示領域
======================================== */

.slides-window {
  position: relative;
  width: 100%;
  overflow: hidden;
}


/*
右端のフェード

左側：透明
右側：白

スライドして次に出てくる画像が
白の中から現れてくるように見せる
*/
.slides-window::after {
  content: "";
  position: absolute;
  z-index: 5;

  top: 0;
  right: 0;

  width: 18%;
  height: 100%;

  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.92)
  );

  pointer-events: none;
}


/* ========================================
   実際にスクロールする部分
======================================== */

.slides {
  display: flex;
  align-items: flex-start;

  gap: 4%;

  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  /*
  スマホで自然に指スクロールさせる
  */
  -webkit-overflow-scrolling: touch;

  /*
  スクロールバー非表示
  */
  scrollbar-width: none;

  /*
  PCドラッグ用
  */
  cursor: grab;

  /*
  縦スクロールは許可しつつ、
  横方向はスライダーとして扱いやすくする
  */
  /*touch-action: pan-y;*/

  user-select: none;
}

.slides::-webkit-scrollbar {
  display: none;
}


/* ========================================
   スライド画像
======================================== */

.slides img {
  /*
  1枚をスライド領域の約80%
  */
  flex: 0 0 82%;
  width: 82%;
  max-width: 82%;
  height: auto;
  display: block;
  object-fit: contain;
  scroll-snap-align: start;
  /*
  ブラウザ標準の画像ドラッグを防ぐ
  */
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
    max-height: 600px;
    max-width: 280px !important;
}


/*
最後の画像も左側までスクロールできるよう、
右端に余白を作る
*/
.slides::after {
  content: "";
  flex: 0 0 18%;
}


/* PCでドラッグ中 */

.slides.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}


/* ========================================
   下部コントローラー
======================================== */

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 18px;

  margin-top: 20px;
}


/* 丸ボタン */

.slider-btn {
  width: 40px;
  height: 40px;

  padding: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  border: 1px solid #ff5577;
  border-radius: 50%;

  background: #fff;
  color: #ff5577;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}


.slider-btn span {
  display: block;

  font-size: 27px;
  font-weight: 300;

  line-height: 1;

  /*
  ‹ の視覚位置微調整
  */
  transform: translateY(-1px);
}


.slider-btn:hover {
  background: #ff5577;
  color: #fff;
}


.slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
}


/* ========================================
   1 / 2
======================================== */

.slider-count {
  min-width: 48px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 5px;

  color: #ff5577;

  font-size: 18px;
  font-weight: 400;

  line-height: 1;
}


/* ========================================
   820px以下
======================================== */

@media screen and (max-width: 820px) {

  .talent-slider {
    width: 100%;
  }

  .slides-window {
    width: 100%;
  }

  .slides {
    width: 100%;
  }

  /*
  スマホでも基本は同じ構造。
  若干画像を大きくしてもよい
  */
  .slides img {
    flex-basis: 84%;
    width: 84%;
    max-width: 84%;
  }

  .slides::after {
    flex-basis: 16%;
  }

  .slides-window::after {
    width: 16%;
  }

  .slider-controls {
    margin-top: 16px;
  }

}

@media screen and (max-width: 819px) {
/*** タブレット820px以下のCSSを記入 ***/

main section#talentmypage .talentmypage_inner .talentmypage_cont{
    margin-bottom: 4.5em;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child {
    width: auto;
    display: block;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child > div {
    width: 100%;
}

main section#talentmypage .talentmypage_inner .talentmypage_cont .talentmypage_cont_child .btn_pink01{
    display: block;
    width: 90%;
}

}