/*****************************************************************************
CSS only for /housing-biz/support/hantei/ top
*****************************************************************************/

/* Card
-----------------------------------------*/
.Card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  margin-top: 60px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Card {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
.Card__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 0;
}
.Card__link {
  display: inherit;
  grid-template-rows: inherit;
  grid-row: inherit;
  color: #000;
}
.Card__text {
  display: flex;
  align-items: center;
  position: relative;
  padding: .375em 1.8125em .375em .5625em;
  background-color: #ebebeb;
  font-size: 16px;
  font-weight: bold;
}
@media only screen and (max-width:640px) and (max-device-width:1280px) {
  .Card__text {
    font-size: 14px;
  }
}
.Card__text::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 1.0625em;
  transform: rotate(45deg) translateY(-50%);
  width: .5625em;
  height: .5625em;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
}
