/* ------------------------------
 機能一覧（コンポーネント） */

#functions_list_all.page-wrap {
  margin-top: 3em;
  padding-top: 0;
}
#functions_list_all .content.container {
  min-height: auto;
}

#functions_list_all > .content > .functions {
  background-color: #fafafa;
  padding: 1.5em;
}
#functions_list_all > .content > .functions h6 {
  margin: 0 0 0 16px;
}
@media all and (min-width: 600px) and (max-width: 991px) {
  #functions_list_all > .content > .functions {
    padding-right: 3em;
    padding-left: 3em;
  }
}
@media all and (min-width: 992px) and (max-width: 1199px) {
  #functions_list_all > .content > .functions {
    padding-right: 10em;
    padding-left: 10em;
  }
}
@media all and (min-width: 1200px) {
  #functions_list_all > .content > .functions {
    padding-right: 12em;
    padding-left: 12em;
  }
}

/* 機能の一つずつのカード */
#functions_list_all > .content > .functions > .function_card_wrap {
  margin-top: 2%;
}
#functions_list_all > .content > .functions > .function_card_wrap:hover {
  transform: translate(0, -8px);
  transition: all 0.3s;
}
#functions_list_all
  > .content
  > .functions
  > .function_card_wrap
  > .function_card_link
  > .function_card {
  /* background-color: rgba(55, 182, 128, 0.3); */
  max-height: 100%;
  padding: 2%;
  box-shadow: 0 2px 8px 4px #f2f2f2;
  position: relative;
}
#functions_list_all
  > .content
  > .functions
  > .function_card_wrap
  > .function_card_link
  > .function_card
  > .function_img {
  width: 100%;
  text-align: center;
}
/* 画像ある時 */
#functions_list_all
  > .content
  > .functions
  > .function_card_wrap
  > .function_card_link
  > .function_card
  > .function_img
  > img {
  min-height: 120px;
  max-height: 120px;
  align-content: center;
  object-fit: fill;
}
/* 画像ない時 */
#functions_list_all
  > .content
  > .functions
  > .function_card_wrap
  > .function_card_link
  > .function_card
  > .function_img
  > .no_img {
  min-height: 120px;
  max-height: 120px;
  align-content: center;
  background-color: #e0e0e0;
  font-size: 12px;
  color: #a6a6a6;
}
/* 機能名 */
#functions_list_all
  > .content
  > .functions
  > .function_card_wrap
  > .function_card_link
  > .function_card
  > .title {
  background-color: rgba(38, 113, 128, 0.85);
  color: #ffffff;
  position: absolute;
  bottom: 0;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 4px 0;
  width: 100%;
  text-align: center;
  font-size: 1.2rem !important;
}
@media all and (max-width: 400px) {
  #functions_list_all
    > .content
    > .functions
    > .function_card_wrap
    > .function_card_link
    > .function_card
    > .title {
    font-size: 1rem !important;
  }
}
