body {
  /* background: linear-gradient(130deg, #27C6E8, rgb(0, 53, 151) 50%, #023893 100%); */
  min-height: 100vh;
}

img {
  width: 100%;
  height: auto;
}

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

h1 {
  /* color: #fff; */
  color: #000;
  font-size: 24px;
  text-align: center;
  font-weight: 600;
}

button {
  display: block;
  background: linear-gradient(90deg, #eed783, #f6ebbe, #b49d64);
  text-align: center;
  color: #023893;
  font-weight: 700;
  font-size: 24px;
  padding: 10px;
  border-radius: 30px;
  border: solid 3px #023893;
  width: 100%;
}

button.--complete {
  background: #E0E0E0;
}

.wrap-text {
  display: inline-block;
}

#popMaster {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 9999;
}

#popBox {
  background-color: #fff;
  border: solid 1px #bebebe;
  border-radius: 8px;
  box-shadow: 3px 3px 5px #555;
  box-sizing: border-box;
  max-width: 540px;
  padding: 24px;
  width: calc(100% - 40px);
}

#popTitle:empty {
  display: none;
}

#popBody {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

#popButton {
  background: #023893;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  margin-top: 20px;
  padding: 12px;
}

#entry-btn,
#complete-btn,
.--complete {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  height: 52px;
  margin: 15px auto;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 9999px; /* カプセル型 */
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
}

#entry-btn {
  color: #ffffff;
  border: none;
  background: linear-gradient(135deg, #38bdf8 0%, #ec4899 35%, #eab308 70%, #84cc16 100%);
  box-shadow: 
    0 4px 15px rgba(236, 72, 153, 0.4),
    0 8px 25px rgba(56, 189, 248, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#complete-btn,
.--complete {
  background-color: #e5e7eb; 
  background-image: none;
  color: #000000; 
  border: none;
  box-shadow: none;
  z-index: 1;
}

#complete-btn::before,
.--complete::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  padding: 3px;
  background: linear-gradient(to right, #38bdf8, #ec4899, #eab308, #84cc16);
  /* 枠線のみ表示させるくり抜き処理 */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}