@charset "utf-8";

#index h2 {
  font-size: 24px;
  text-align: center;
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding-block: 16px;
  font-weight: bold;
  border-block: 2px solid #34b1dd;

  @media only screen and (min-width: 769px) {
    font-size: 28px;
  }
}

#index h2 span {
  font-size: 18px;

  @media only screen and (min-width: 769px) {
    font-size: 20px;
  }
}

#index .head_area {
  background: linear-gradient(0deg, #c5e6ff, #b4ddfa, #a2d4f5, #8fcbef, #7ac3ea, #64bae4, #49b1de, #1fa9d8);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 24px;
}

#index .head_area .inner {
  max-width: 1392px;
  width: 100%;
  padding-inline: 20px;
}

#index .head_area .inner img {
  width: 100%;
  height: auto;
}

.anchor_area {
  max-width: 880px;
  width: 100%;
  margin-inline: auto;
  padding-top: 40px;

  @media only screen and (max-width: 560px) {
    display: none;
  }
}

.anchor_area .list-link {
  display: flex;
  justify-content: center;
  padding-inline: 20px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 22px;
  column-gap: 22px;

  @media only screen and (min-width: 985px) {
    column-gap: clamp(22px, calc((100% - 900px) / 2), 56px);
  }
}

.list-link_item {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  max-width: 216px;
  width: 100%;
  border: 3px solid #26acda;
  border-radius: 8px;

  @media only screen and (min-width: 985px) {
    max-width: 264px;
  }
}

.list-link_item a {
  display: flex;
  width: 100%;
  padding: 8px;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;

  @media only screen and (min-width: 985px) {
    gap: 8px;
    font-size: 18px;
  }
}

.list-link_item a::after {
  content: "";
  display: inline-block;
  margin-inline: auto;
  width: 20px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10' fill='none'%3E%3Cpath d='M2 1.5625L9.46667 8.4375' stroke='%23010202' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M18 1.5625L9.46667 8.4375' stroke='%23010202' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

.list-link_item a p {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  height: 42px;
  line-height: normal;

  @media only screen and (min-width: 985px) {
    height: 48px;
    font-size: 16px;
  }
}

.main_wrap {
  padding-top: 48px;
  padding-bottom: 80px;
  padding-inline: 20px;
}

.card-contents {
  display: grid;
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding-block: 32px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  /* grid-template-columns: repeat(1fr, 290px); */
  row-gap: 40px;
  justify-content: center;

  @media only screen and (min-width: 769px) {
    padding-block: 64px;
  }
}

.card-contents .col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 16px;
  max-width: 290px;
  margin-inline: auto;
}

.card-contents .title {
  font-size: 18px;
  text-align: center;
}

.card-contents .thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-contents p + p {
  margin-top: 0 !important;
}

.card-contents .col .link {
  margin-top: 0 !important;
  max-width: 264px;
  width: 100%;
  margin: auto;
}

.col_linkArea {
  margin-top: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.card-contents .download {
  background-color: #b10000;
  color: #fff;
  display: flex;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.2s;
  box-shadow: 3px 3px 5px rgba(30, 30, 30, 0.3);
  width: 100%;
  border-radius: 10px;
  line-height: 1;
}
