@charset "UTF-8";

.list-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}
.list-flex3-box {
  width: calc((100% - 40px) / 3);
  height: 100%;
  /* min-height: 400px; */
}
.list-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.list-item .img {
  aspect-ratio: 16 / 9;
  min-height: 280px;
}
.list-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-flex3-box .list-doc {
  display: flex;
  flex-direction: column;
  background-color: #F4F2EE;
  padding: 30px 20px;
  flex-grow: 1;
  min-height: 350px;
}
.list-flex3-box .list-doc h2 {
  text-align: center;
  padding-bottom: 20px;
}
.list-doc .btn {
  margin-top: auto;
  align-self: center;
  font-size: 16px;
  max-width: 150px;
  padding: 10px;
}
.list-flex3-box .list-doc .p-bold {
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 30px;
  text-align: center;
}


/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
.list-container {
  flex-direction: column;
  gap:40px
}
.list-flex3-box {
  width: 100%;
  padding: 0 20px;
}
.list-flex3-box .list-doc {
  min-height: auto;
}
.list-doc .btn {
  margin-top: 30px;
}
}