/* ------------------------------
 機能一覧 */

/* 機能の一つずつのカード */
.add_customizer_3_functions_list > .content > .functions > .function_card_wrap {
  margin-top: 1%;
  padding: 2px;
}
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card {
  max-height: 100%;
  box-shadow: 0 2px 8px 4px #f2f2f2;
  position: relative;
}
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card
  > .function_img {
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* 画像ある時 */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card
  > .function_img
  > img {
  width: 80%;
  height: 220px;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.65, 0.2, 1),
    filter 0.6s;
  will-change: transform;
  margin: auto;
}
/* ホバーで“画像だけ”ズーム */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card:hover
  > .function_img
  > img,
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card:focus-within
  > .function_img
  > img {
  transform: scale(1.08);
  /* filter: brightness(1.03); */
}

/* お好みでカード全体も少し持ち上げる */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card {
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

/* 画像ない時 */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card
  > .function_img
  > .no_img {
  min-height: 220px;
  max-height: 220px;
  align-content: center;
  background-color: #e0e0e0;
  font-size: 12px;
  color: #a6a6a6;
}
/* 機能名 */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card
  > .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;

  /* 背景 */
  background-color: rgba(18, 70, 112, 0.6);
  color: #fff;

  /* 中央寄せ（上下左右） */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* テキストの装飾 */
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}
/* アイコン */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card
  > .title
  > .icon {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  font-size: 2em;
}

/* 矢印 */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card
  > .title
  > .arrow-wrap {
  width: 16%;
  margin-left: 30%;
}
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  .function_card
  > .title
  > .arrow-wrap
  polyline {
  stroke: #fff;
  stroke-width: 2;
}

/* 機能の一つずつのカード（a） */
.add_customizer_3_functions_list
  > .content
  > .functions
  > .function_card_wrap
  > a {
  color: #333333;
}
