@charset "UTF-8";

/* -- Form ---------------- */

#mail_form section.form-section,
#mail_form section.agreement-section {
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 45px;
  padding: 0;
}

#mail_form dl {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #dee2e6;
  margin: 0;
  padding: 0;
}

#mail_form dl:first-of-type {
  border-top: none;
}

#mail_form dl dt,
#mail_form dl dd {
  padding: 20px;
  border-right: 1px solid #dee2e6;
}

#mail_form dl dt {
  background-color: #f8f9fa;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* #mail_form dl dd {
  display: flex;
  align-items: center;
} */

#mail_form dl dd label {
  font-size: 0.9em;
  white-space: nowrap;
}

#mail_form dl dd > div {
  width: 100%;
}

#mail_form dl dd > div > p {
  margin: 0;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 0.9em;
  color: #3c3c3c;
}

#mail_form dl dd > div > p:first-of-type {
  margin-top: 7px !important;
}
/* エラーメッセージ */
form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
  display: block;
  color: #ff0000;
  margin-top: 5px;
}

#mail_form dl dd > div > p.full_alert:first-of-type {
  color: #ff0000 !important;
  padding-top: 0.75em !important;
  margin-top: 1em !important;
  font-size: 0.95em !important;
  font-weight: 600 !important;
  border-top: solid 1px #ccc !important;
}
p.full_seminar {
  color: #ff0000 !important;
  background: #ffe8e8;
  padding: 0.75em !important;
  margin-top: 0.75em !important;
  text-indent: initial !important;
  font-size: 0.95em !important;
  font-weight: 600 !important;
}

form#mail_form div.notinput {
  width: calc(90% - 24px);
  margin: 0 auto 15px;
  padding: 15px 10px !important;
  overflow: hidden;
  text-align: left;
  background-color: #fff9f9;
  border: solid 2px #ff0000;
  text-align: center;
  color: #ff0000;
}

form#mail_form div.notinput ul {
  margin: 0;
  padding: 5px 10px;
}

/* 横並び（PC） */
@media (min-width: 576px) {
  #mail_form dl dt {
    width: 25%;
  }

  #mail_form dl dd {
    width: 75%;
    border-right: none;
  }
}

/* 縦並び（スマホ） */
@media (max-width: 575.98px) {
  #mail_form dl dt,
  #mail_form dl dd {
    width: 100%;
    border-right: none;
  }

  #mail_form dl dt {
    border-bottom: 1px solid #dee2e6;
    padding: 10px;
  }
  #mail_form dl dd {
    padding: 20px 10px;
  }
}

/* -- 氏名横並び ---------------- */
.name-row-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}
@media (min-width: 576px) {
  .name-row-container {
    flex-direction: row;
  }
}

.name-field-wrapper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* -- 入力項目共通（テキスト、選択） ---------------- */
input.form-control,
select.form-select {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #ccc;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  height: auto;
  color: #222;
  font-weight: 600;
}

input.form-control:focus,
select.form-select:focus {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
  outline: none;
}

/* -- ラジオボタン ---------------- */
.type-radio ul li label {
  display: flex;
  align-items: center;
  gap: 1ch;
  margin-top: 10px;
  padding: 15px;
  border-radius: 3px;
  background: #fafcff;
  color: #222;
  font-weight: 600;
  font-size: initial !important;
}

.type-radio ul li:first-child label {
  margin-top: 0;
}

/* ホバー時 ＆ 選択済み（checked保持） */
.type-radio ul li label:hover,
.type-radio ul li label:has(input:checked) {
  background: #e0f0ff;
  cursor: pointer;
}

/* -- 郵便番号 ---------------- */
.postal-width {
  width: calc(7rem + 24px);
  text-align: center !important;
}

/* -- プレスホルダー ---------------- */
input::placeholder,
select::placeholder {
  font-weight: 400 !important;
  color: initial;
}

/* -- 利用規約 ---------------- */
.agreement-area {
  width: 100%;
  margin: 0;
  padding: 35px 20px;
  /* font-size: 0.95em; */
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
}

@media (max-width: 575.98px) {
.agreement-area {
  padding: 25px 10px;
}
}

.agreement-area section p.agreement-area-heading {
  font-weight: bold;
  margin-bottom: 0.15rem;
}

.agreement-area section {
  margin-bottom: 25px;
}

.agreement-area section:last-of-type {
  margin-bottom: 0;
}

.agreement-area ol {
  list-style: none; /* デフォルトの番号はオフ */
  counter-reset: list-counter;
  margin-left: -0.5em !important; /* 左側のスペースを調整 */
  padding-left: 0;
}
.agreement-area ol li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 1.75em; /* 番号分のスペースを確保 */
  margin-bottom: 0.5em;
}
.agreement-area ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5em;
  text-align: right;
}

/* -- 入力内容確認 ---------------- */
#mail_form p#form_submit {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

#mail_form p#form_submit input[type="button"] {
  width: 100% !important;
  padding-top: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem);
  padding-bottom: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem);
  border: 1px solid #1963a8;
  border-radius: 2px;
  background: #1963a8;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
}

#mail_form p#form_submit input[type="button"]:hover {
  cursor: pointer;
  background: #1c71c0;
  border: 1px solid #1c71c0;
}

/* -- 会員番号 ---------------- */
div.member_number-open {
  display: none;
  border-top: 1px solid #dee2e6;
}

/* -- 残数 ---------------- */
.rem-seats {
  margin-left: 0.5em;
  font-size: 0.95em;
  color: #008080;
}

.rem-seats::before {
  content: "（";
}

.rem-seats::after {
  content: "）";
}

/* 参加区分オプション */
.extra-option {
  display: none;
}

/* 支払い方法オプション */
.secured-option {
  display: none;
}

/* readonly */
input[readonly] {
  background-color: #e9ecef;
  cursor: not-allowed;
  pointer-events: none;
}

input[readonly]:focus {
  outline: none;
  box-shadow: none;
}

/* -- 修正登録フォーム ---------------- */

div.readonly-item {
  background-color: #e9ecef;
  cursor: not-allowed;
  pointer-events: none;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #ccc;
  padding: 0.6rem !important;
  margin: 0;
  height: auto;
  color: #222;
  font-weight: 600;
}

/* -- pay_status_wrap ---------------- */
.pay_status_wrap {
  width: 100%;
  margin: 0;
  padding: 20px 20px 0;
  font-size: 0.95em;
  background-color: #fffcf8;
}

div.pay_status {
  width: 98%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  font-weight: 400;
  box-sizing: border-box;
}

div.pay_status table {
  margin: 0;
  padding: 0;
  width: auto;
}

div.pay_status table th,
div.pay_status table td {
  padding: 10px 17px;
}

div.pay_status table td {
  min-width: 150px !important;
  text-align: center;
}

#mail_form p#form_submit.edit_form_submit {
  position: relative !important;
  width: 100% !important;
  margin: initial !important;
  max-width: initial !important;
  padding: initial !important;
  text-align: center !important;
}

#mail_form p#form_submit.edit_form_submit #form_submit_button {
  width: initial !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding-top: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem) !important;
  padding-bottom: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem) !important;
  border: 1px solid #1963a8 !important;
  border-radius: 2px !important;
  background: #1963a8 !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  min-width: 250px !important;
}

@media (max-width: 768px) {
  #mail_form p#form_submit.edit_form_submit #form_submit_button {
    position: static !important;
    display: block;
    transform: translateX(0) !important;
    margin: 5px auto 0;
  }
}


#mail_form p#form_submit.edit_form_submit #form_submit_button:hover {
  cursor: pointer !important;
  background: #1c71c0 !important;
  border: 1px solid #1c71c0 !important;
}

#mail_form p#form_submit.edit_form_submit #form_submit_cancel_button {
  position: absolute;
  left: 0;
  padding-top: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem);
  padding-bottom: clamp(0.938rem, 0.875rem + 0.31vw, 1.25rem);
  border: 1px solid #8a8a8a;
  border-radius: 2px;
  background: #8a8a8a;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  width: initial !important;
  height: auto !important;
  min-width: 200px;
}

@media (max-width: 768px) {
  #mail_form p#form_submit.edit_form_submit #form_submit_cancel_button {
    position: static !important;
    display: block;
    margin: 0 auto;
    max-width: 250px;
  }
}

#mail_form p#form_submit.edit_form_submit #form_submit_cancel_button:hover {
  cursor: pointer;
  background: #6e6e6e;
  border: 1px solid #6e6e6e;
}


/* -- あとづけ ---------------- */
.radio_disable{
  background: lightgray !important;
  color: gray !important;
}