/* PCデフォルト
============================================ */
#contents{
  background: #fff;
}

p {
  line-height: 1.8;
}

.board-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: left;
}

h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, auto));
  gap:3rem;
  margin-top: 4rem;
  justify-content: space-between;
}

.card img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3,
.card h4 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.card h3 span,
.card h4 span {
  font-weight: normal;
}

.card a {
  text-decoration: underline;
  display: inline-block;
}

.full-width {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  margin-bottom: 3rem;
  background: #f9f8f8;
  border-radius: 6px;
}

.full-width img {
  margin-bottom: 0;
}

.full-width .card-content {
  margin: 2rem 2rem 0 0;
  padding: 0 2rem 2rem;
}

.full-width .card {
  padding-top: 0;
}

.arrow_btn:after {
  content: "";
  width: 25px;
  height: 25px;
  background-image: url("../img/material/icon-arrow_2.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 0.5em;
  transform: translate(0, 1px);
}

/* タブレット 
============================================ */

@media (max-width: 1024px) {

  .card h3,
  .card h4 {
    text-align: center;
  }

  .card span {
    display: block;
  }

  .board-section {
    padding: 2rem;
  }
}


/* スマホ用
============================================ */
@media (max-width: 768px) {



  .grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .full-width {
    flex-direction: column;
    align-items: stretch;
  }

  .full-width .card-content {
    margin: 2rem 0 0 0;
  }
}