* {
  box-sizing: border-box;
}

h2{ margin-top:2rem;}


.contents-block{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  background:#FFF;
}

.contents-block .list-txt{
  margin:1rem auto 0;
  padding:0 2rem;
  text-align: center;
}

#head {
  display:block;
  position:relative;
  width: 100%;
  max-width:1280px;
  height: 100vh;
  padding:0 1rem;
  margin:0 auto;
}

#head ul {
  width: 100%;
  height: auto; /* 高さを自動調整 */
  max-width:1100px;
  max-height: 100vh; /* 画面の80%の高さに制限 */
  overflow-y: none; /* 垂直方向のスクロールバーを表示 */
  overflow:hidden;
  margin: 0 auto;
  padding: 0 2rem;
  list-style: none;
  column-gap: 0;
  column-count: 5;
  line-height: 0;
}

#head ul li {
  padding:0;
  max-width: 275px;
  margin: 5px 2px;
  opacity: 0;
}

#head ul li a img {
  width: 100%;
  max-width:250px;
  height:auto;
  max-height:220px;
  object-fits:cover;
  vertical-align: bottom;
}

@media screen and (max-width: 1080px) {
  #head ul {
    padding:0;
    column-count: 4;
    max-width:100%;
    overflow:hidden;
  }
  #head ul li {
  max-width: 25vw;
  }
}

@media screen and (max-width: 820px) {
  #head ul {
    column-count: 3;
    max-width:100%;
   }
  #head ul li {
  max-width: 50vw;
  }
#head ul li a img {
  }
}

@media screen and (max-width: 560px) {
  #head ul {
    column-count: 2;
  }
#head ul li a img {
  object-fit:cover;
  height:150px;
  }
}

/* 更新ボタン */
.btn_reload{
display:block;
width:100%;
margin: 0;
padding: 1rem 2rem;
position:relative;
}

.btn_reload button {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	border: none;
	background: none;
	cursor: pointer;
	display: block;
	width: 40%;
	max-width: 250px;
	min-width:150px;
	height: 36px;
	line-height: 1.25;
	text-align: center;
	background: #800080;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-size: 1.15rem;
	transition: .3s ease;
	margin-right:0;
	margin-left:auto;
}

.btn_reload button:hover {
	background: #666;
	transition: .3s ease;
}
.dli-redo{
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 1em;
  transform: rotate(45deg);
  margin-right:0.5rem;
}

.dli-redo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border: 0.1em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  transform: rotate(-45deg);
}

.dli-redo::after {
  content: '';
  position: absolute;
  top: 0.05em;
  right: 50%;
  width: 0.2em;
  height: 0.2em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: content-box;
  transform: translateX(0.14142em) rotate(45deg);
  transform-origin: top right;
}

@media screen and (max-width: 560px) {
.btn_reload button {
	width: 70%;
	max-width: 450px;
	min-width:150px;
}
}

.btn_all{
display:block;
width:100%;
margin: 0;
padding: 1rem 2rem;
position:relative;
}

.btn_all a {
	cursor: pointer;
	display: block;
	width: 80%;
	max-width: 600px;
	min-width:150px;
	height: 80px;
	line-height: 2;
	text-align: center;
	font-weight:600;
	background: #800080;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-size: 1.15rem;
	transition: .3s ease;
	margin:0 auto;
	padding:1.5rem 1rem;
}

.btn_all a:hover {
	background: #666;
	transition: .3s ease;
}