.event_lower {
    text-align: center;
}

#pr-apply-btn,
#pr-inquiry-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #0073aa;
  border: none;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  margin: 10px;
  transition: background-color 0.3s ease;
}

#pr-apply-btn:hover,
#pr-inquiry-btn:hover {
  opacity: 0.5;
}

#pr-apply-btn:focus,
#pr-inquiry-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.5);
}

.btn-expired,
#pr-cancel-btn {
  display: inline-block;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  margin: 10px;
  text-decoration: underline 4px #e5fe50;
}

.btn-expired:hover,
#pr-cancel-btn:hover {
  opacity: 0.5;
}


/* === モーダル用CSS === */
.pr-modal {
  display: none; /* 初期状態は非表示 */
  position: fixed; /* 画面に固定 */
  z-index: 1000; /* 最前面に表示 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明の背景 */
}

.pr-modal-content {
  background-color: #fff;
  margin: 15% auto; /* 上下に余白を設け中央に配置 */
  padding: 20px;
  border: 1px solid #888;
  width: 85%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pr-modal-close {
  position: absolute;
  right: 10px;
  top: 0px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.pr-modal-close:hover {
  color: #000;
}

.article .pr-modal h3 {
    background: none;
    border: none;
    border-bottom: 1px solid #1843cb;
    border-radius: 0;
    color: #1843cb;
    margin: 0 0 20px;
    padding: 15px 0;
    text-align: center;
}

div#pr-participation-container {
    text-align: center;
    margin-bottom: 1.8em;
}

div#pr-participation-container ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

div#pr-participation-container ul li::marker {
    content: none;
}

div#pr-participation-container ul li {
    font-weight: bold;
    margin: 0 5px;
}

form#pr-participation-form p {
    margin-top: 20px;
    margin-bottom: 5px;
}

form#pr-participation-form button {
    margin: 5px auto;
    padding: 8px 25px;
    font-size: 1em;
    cursor: pointer;
    background-color: #1843cb;
    color: #FFF;
    border: none;
    border-radius: 5px;
}

.apply-notice {
  margin: 10px auto;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline 4px #e5fe50;
}

button#pr-login-btn {
  margin: 0 auto 30px;
  padding: 5px 15px;
  color: #F2F2F2;
  font-size: 16px;
  background-color: #1843cb;
  border: none;
  border-radius: 5px;
}