@charset "utf-8";

/* ====== 見出し ====== */
h2.ttl {
  width: 100%;
  font-size: 4rem;
  text-align: center;
  margin: 8rem auto 4rem;
  font-weight: bold;
}

/* ====== main ====== */
main {
  width: 100%;
  height: auto;
}
main p {
  display: block;
  width: 60%;
  margin-top: 4rem;
}
main img {
  width: 100%;
  margin-top: 0rem;
}
main .mv {
  display: block;
  width: 100%;
  margin-top: 5vw;
}

/* ====== section ====== */
section {
  width: 100%;
  margin: 5vw auto 10vw;
}

/* ====== section01 ====== */
.sec01 {
  margin: -0.5rem auto 0;
  padding: 0;
  background-image: url(../img/results/bg_results.webp) !important;
  background-size: 100%;
  background-repeat: no-repeat;
}
.sec01 .inner {
  width: 100%;
  max-width: 1200px;
  height: auto;
  padding: 5rem 0;
  margin: 0 auto 10vw;
  position: relative;
}

/* ====== results_area（Gridレイアウト） ====== */
.results_area {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 1.5rem; /* カードの間隔 */
}

/* ====== results_block ====== */
.results_block {
  background-color: #eee;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* 縦積み（画像→テキスト） */
}

/* 画像（正方形トリミング） */
.results_block .bkn_left {
  width: 100%;
  aspect-ratio: 1/1; /* 正方形 */
  overflow: hidden;
}
.results_block .bkn_left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストエリア */
.results_block .bkn_right {
  padding: 1rem 1.5rem;
  flex: 1; /* テキストエリアが均等に伸びる */
}
.results_block h5 {
  font-size: 1.25rem;
  text-align: center;
  margin: 0.5rem 0 1rem;
}
.results_block dl {
  font-size: 0.875rem;
  line-height: 1.6;
}
.results_block dl dt {
  font-weight: bold;
  margin-top: 0.5rem;
}
.results_block dl dd {
  margin: 0 0 0.5rem 0;
}

/* ====== レスポンシブ調整 ====== */
/* タブレット以下は1カラム */
@media screen and (max-width: 1024px) {
  .results_area {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  h2.ttl {
    width: 100%;
    font-size: 2rem;
    text-align: center;
    margin: 6rem auto 3rem;
    font-weight: bold;
  }

  /* main */
  main {
    margin-top: 4.5rem;
    width: 100%;
    height: auto;
  }
  main p {
    display: block;
    width: 100%;
    margin-top: 0;
  }
  main img {
    width: 100%;
    margin-top: 0rem;
  }
  main .mv {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }
  main .container {
    height: auto;
  }

  /* section */
  section {
    width: 100%;
    margin: 5rem auto;
    padding-top: 4rem;
  }

  /* section01 */
  .sec01 {
    background-size: cover;
    margin-top: -0.5rem;
  }
  .sec01 .inner {
    width: 100%;
    max-width: 768px;
    height: auto;
    padding: 5rem 0;
    margin: 0 auto 5rem;
    position: relative;
  }

  /* results_block テキスト縮小 */
    .results_block{
    width: 95%;
    margin: 0 auto 1rem;
  }
  .results_block h5 {
    font-size: 1rem;
  }
  .results_block dl {
    font-size: 0.75rem;
  }
}


/* ====== 再利用ブロック調整 ====== */


@media screen and (max-width: 1024px) {}

@media screen and (max-width: 768px) {}
