@charset "utf-8";
/* CSS Document */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  /* padding-bottom: 100px; */
}
.wrapper {
  display: flex;
  flex-direction: column;
  /* min-height: 100vh; 画面全体の高さを確保 */
}
header {
  text-align: center;
  margin-bottom: 20px;
}
.inner, #ranking {
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
}
p.f1 {
  font-size: 500% !important;
}
span.f5 {
  font-size: 16px;
  display: block;
}
.ranking-list {
  /*display: flex;
  justify-content: space-around;
  flex-wrap: wrap;*/
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.entry {
  padding: 10px;
  width: 23%;
  FONT-WEIGHT: 200;
  border-radius: 8px;
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.entry img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
form button, .bt01 {
  background-color: #4CAF50;
  color: white;
  border: none;
  max-width: 600px;
  width: 100%;
  padding: 0.5em 0;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px auto;
  font-size: 130%;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  transition: background-color 0.5s ease, opacity 0.3s ease;
}
a.bt01 {
  max-width: 300px;
}
.bt01.disabled {
  background-color: #eee;
}
a.bt01:hover {
  opacity: 0.7;
  color: #fff;
  text-decoration: none;
}
form button:hover {
  background-color: #45a049;
}
.entry-grid {
  display: flex;
  flex-wrap: wrap;
  /* gap: 20px; */
  justify-content: space-between;
}
img {
  max-width: 100%;
  height: auto;
}
#header {

}
main, .pass {
  flex: 1; /* メインが伸びて残りを埋める */
  padding: 20px　0;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
footer {
  width: 100%;
  height: 50px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 無効状態のボタン（グレー） */
#submitBtn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}
#submitBtn {
  background-color: #4CAF50;
  color: white;
  border: none;
  max-width: 600px;
  width: 100%;
  padding: 1em;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px auto;
  font-size: 150%;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
}
#submitBtn:not(:disabled):hover {
  background-color: #8BFB7E;
}
.top1 {
  text-align: center;
  width: 100%;
}
.top2-3 {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 500px;
}
.entry {
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
a.bt02 {
  background: #337ab7;
  color: #fff;
  padding: 0.5em 1em;
  color: #fff;
  border-radius: 5px !important;
  font-size: 9px;
}
a.bt02:hover {
  opacity: 0.7;
  text-decoration: none;
}
.countdown {
  text-align: center;
}
.sp{
	display:none;
}
/* ▼ スマホ用（幅768px以下） ▼ */
@media screen and (max-width: 768px) {
  img {
    max-width: 100%;
  }
  .entry-grid, .ranking-list {
    /* padding: 0 1em; */
    box-sizing: border-box;
    justify-content: space-between;
  }
  .ranking-list .entry:nth-child(1) {
    width: 100%;
  }
  .ranking-list .entry:nth-child(2), .ranking-list .entry:nth-child(3) {
    width: 48%;
    box-sizing: border-box;
  }
  .entry-grid .entry {
    width: 48%;
    box-sizing: border-box;
    position: relative;
  }

	.sp{
		display:block;
	}
}