/* 追従コイン購入ボタン */
.floating-coin-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  background-color: #ffcc00;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  padding: 25px 20px;
  opacity: 1;
  visibility: visible;
}

#gacha_content + .floating-coin-button {
  bottom: 160px;
}

.floating-coin-button.hidden {
  opacity: 0;
  visibility: hidden;
}

.floating-coin-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.floating-coin-button__link {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.floating-coin-button__icon {
  font-size: 15px;
  margin-right: 10px;
}

.floating-coin-button__text {
  font-size: 16px;
  font-weight: bold;
}

/* ポップアップ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  width: 90%;
  max-width: 600px;
  background-color: #fff;
  padding: 45px 20px 35px 20px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  z-index: 1002;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popup-content__link {
  color: #0693e3;
  text-decoration: underline;
}

#popup-overlay .popup-content .title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  color: #333;
  display: block;
}

.popup-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  text-align: center;
}

.popup-content ul li {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: bold;
  color: #555;
  padding: 10px;
  display: block;
  width: auto;
}

.popup-content-footer {
  display: flex;
  justify-content: space-around;
}

#popup-close__times {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.popup-link {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #ffcc00;
}

.btn-secondary {
  background-color: #cccccc;
}

.btn-primary:hover {
  background-color: #ff9900;
}

.btn-secondary:hover {
  background-color: #eeeeee;
}

.popup-link .floating-coin-button__icon {
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.banner-placeholder {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto 20px;
}

.banner-placeholder img {
  width: 100%;
}
