@charset "UTF-8";
/* タイトル */
section{
  margin-bottom: 100px;
}

.hanaminato-title {
  padding: 8px 32px;
  letter-spacing: 0.1em;
  display: flex;
  text-align: center;
  margin: 24px;
  margin-inline: auto;
  align-items: baseline;
  justify-content: center;
}

.hanaminato-title .hanaminato_en {
  font-size: 32px;
  position: relative;
  font-weight: bold;
}

.hanaminato-title .hanaminato_ja {
  font-size: 16px;
  padding-left: 20px;
}

.hanaminato-title .hanaminato_en::after {
  content: "";
  position: absolute;
  background: #9ccfcf;
  width: 50px;
  height: 1px;
  rotate: -45deg;
  display: inline-block;
  bottom: 20px;
  right: -33px;
}

.hanaminato-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hanaminato-linksbox {
  max-width: 360px;
  margin: 0 auto;
  background: #fafafa;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.hanaminato-linksbox:hover {
  opacity: 0.7;
}

.links-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}

.links-txt {
  padding: 12px;
}

.contents-word {
  padding: 5px;
  background-color: #0f7ac0;
  border-radius: 5px;
  color: #fafafa;
  width: fit-content;
}

.links-title {
  font-size: 2rem;
  font-weight: bold;
  padding: 7px 0;
}

.links-btn{
  margin-top: 30px;
  text-align: end;
}


/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  list-style-type: none;
  padding: 0;
  margin-top: 50px;
}

.pagination a {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  border-radius: 1px;
  background-color: #ACC5DB;
  color: #60859D;
}

.pagination a:hover{
  opacity: 0.7;
}

.pagination .current a {
  background-color: #60859D;
  color: #fff;
  pointer-events: none;
}

/* ボタン */
.btn{
  display: flex;
}

.btn a{
  width: 360px;
  margin: 0 auto;
  padding: 15px;
  background: #0f7ac0;
  color: #fafafa;
  border-radius: 5px;
}

.btn a:hover{
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hanaminato-links {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 425px) {
  .hanaminato-links {
  grid-template-columns: repeat(1, 1fr);
}
}