/*
******************************
** Form Styles
******************************
*/
/*
******************************
** Media Query Mixin
******************************
*/
.team {
  display: grid;
  gap: 1px;
  margin-bottom: 80px;
}
@media screen and (min-width: 880px) {
  .team {
    grid-template-columns: 1fr 1fr;
  }
}
.team .team-member {
  position: relative;
  background-color: var(--color-highlight-light);
}
.team .team-member .page-1,
.team .team-member .page-2 {
  position: relative;
}
.team .team-member .page-1 {
  cursor: pointer;
}
.team .team-member .page-2 {
  display: none;
}
.team .team-member .page-2 img {
  cursor: pointer;
}
.team .team-member .text-1 {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: var(--color-highlight);
}
@media screen and (min-width: 1021px) {
  .team .team-member .text-1 {
    bottom: 50px;
    left: 50px;
  }
}
.team .team-member .text-1 .member-name {
  line-height: 1.1em;
  font-size: var(--fontsize-l);
  border-bottom: 4px solid var(--color-highlight);
  padding-bottom: 10px;
  margin-bottom: 10px;
  text-shadow: 2px 1px 6px var(--color-main);
  font-weight: bold;
}
@media screen and (min-width: 1021px) {
  .team .team-member .text-1 .member-name {
    font-size: var(--fontsize-xxl);
    border-bottom: 8px solid var(--color-highlight);
  }
}
.team .team-member .text-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 25px;
  color: var(--color-minor);
  background: var(--color-highlight-opacity07);
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
@media screen and (min-width: 1021px) {
  .team .team-member .text-2 {
    height: auto;
    padding: 20px 50px;
  }
}
.team .team-member .text-2 a {
  color: var(--color-minor);
}
.team .team-member .text-2 > * {
  display: block;
  width: 100%;
}
.team .team-member .text-2 .label {
  width: 36%;
  float: left;
  text-align: right;
  margin-right: 10px;
  margin-top: 2px;
  font-weight: normal;
  font-size: var(--fontsize-xs);
}
@media screen and (min-width:768px) {
  .team .team-member .text-2 .label {
    width: 35%;
  }
}
.team .team-member .text-2 .value {
  float: left;
  width: calc(64% - 10px);
}
.team .team-member .img img {
  display: block;
}