@charset "utf-8";
form#mailformpro .pe-submit button[type="reset"] {
  width: min(100%, 230px) !important;
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 24px;
  border: 1px solid #999;
  border-radius: 0;
  color: #292929;
  background: #fff;
  box-shadow: none;
  text-shadow: none;
  font-size: 14px;
  font-weight: 400;
}

/* Keep the consent error aligned with the checkbox, not the full form. */
form#mailformpro .consent-check-group {
  display: table;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
form#mailformpro .consent-check-group > label {
  margin-left: 0;
  margin-right: 0;
}
form#mailformpro .consent-check-group > .mfp_err {
  width: 0;
  min-width: 100%;
  box-sizing: border-box;
  padding-left: 22px;
  background-position: 4px 5px;
  text-align: left;
  font-size: 11px;
  line-height: 1.8;
  white-space: nowrap;
  overflow-wrap: normal;
}
@media (max-width: 359px) {
  form#mailformpro .consent-check-group > .mfp_err {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
/* Shared confirmation presentation (mailformpro creates this outside the form). */
body #mfp_phase_confirm h4 {
  font-size: 36px !important;
  line-height: 1.5;
  text-align: center;
}
body #mfp_confirm_table {
  border: 1px solid #d8d8d8 !important;
  background: #fff !important;
  box-shadow: 0 14px 45px rgba(0, 0, 0, .2) !important;
  font-family: inherit !important;
}
body #mfp_confirm_table tr th,
body #mfp_confirm_table tr td {
  padding: 10px;
  border-color: #ddd !important;
  font-size: 12px !important;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body #mfp_confirm_table th {
  color: #333 !important;
  background: #f7f7f6 !important;
}
body #mfp_phase_confirm .mfp_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
}
body #mfp_phase_confirm button#mfp_button_send,
body #mfp_phase_confirm button#mfp_button_cancel {
  width: auto;
  min-width: 110px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #222;
  background: linear-gradient(#fff, #ddd);
  box-shadow: none;
  text-shadow: none;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  cursor: pointer;
}
@media (max-width: 767px) {
  body #mfp_phase_confirm h4 { font-size: 24px !important; }
}

.partner-entry-page {
  --pe-red: var(--rp-red, #d60012);
  --pe-ink: var(--rp-ink, #252525);
  --pe-muted: #666;
  --pe-line: #dedede;
  color: var(--pe-ink);
  background: #fff;
  font-family: var(--rp-gothic, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif);
  font-size: 16px;
  line-height: 1.8;
}

.pe-hero {
  min-height: 360px;
}

.pe-hero .rp-hero__inner {
  padding-top: 75px;
}

.pe-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 4.6vw, 62px);
}

.pe-form-section {
  padding: 58px 0 90px;
  background-color: #fbfbfa;
  background-image:
    linear-gradient(rgba(30, 30, 30, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 30, 30, .026) 1px, transparent 1px);
  background-size: 52px 52px;
}

.pe-form-section__inner {
  max-width: 1080px;
}

.pe-intro {
  margin-bottom: 42px;
  text-align: center;
}

.pe-intro p {
  margin: 0;
  color: #454545;
  font-size: 15px;
  line-height: 2;
}

.pe-steps {
  display: flex;
  gap: 24px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.pe-steps li {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 2px solid #cfcfcf;
  color: #999;
}

.pe-steps li::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfcfcf;
  transform: translateX(-50%);
}

.pe-steps b {
  font: 500 27px/1 Arial, Helvetica, sans-serif;
}

.pe-steps span {
  font-size: 13px;
  font-weight: 700;
}

.pe-steps .is-current {
  border-color: var(--pe-red);
  color: var(--pe-red);
}

.pe-steps .is-current::after {
  background: var(--pe-red);
}

.pe-form {
  margin: 0;
}

.pe-form__rows {
  border: 1px solid #d8d8d8;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 7px 24px rgba(0, 0, 0, .055);
}

.pe-form-row {
  display: flex;
  align-items: stretch;
  margin: 0 28px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #e4e4e4;
}

.pe-form-row:last-child {
  border-bottom: 0;
}

.pe-form-row__heading {
  display: flex;
  width: 210px;
  flex: 0 0 210px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0 22px 0 4px;
  color: #2b2b2b;
  font-size: 15px;
  font-weight: 700;
}

.pe-form-row__heading label,
.pe-form-row__heading span:first-child {
  line-height: 1.55;
}

.pe-badge {
  display: inline-flex;
  min-width: 34px;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid #8c8c8c;
  color: #666;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.pe-badge--required {
  border-color: var(--pe-red);
  color: var(--pe-red);
}

.pe-form-row__field {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  align-content: center;
  gap: 12px 18px;
}

.pe-form-row__field input[type="text"],
.pe-form-row__field input[type="email"],
.pe-form-row__field input[type="tel"],
.pe-form-row__field textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  outline: none;
  color: #282828;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .025);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pe-form-row__field input[type="text"],
.pe-form-row__field input[type="email"],
.pe-form-row__field input[type="tel"] {
  height: 54px;
  padding: 0 17px;
}

.pe-form-row__field textarea {
  min-height: 165px;
  padding: 16px 17px;
  resize: vertical;
}

.pe-form-row__field input:focus,
.pe-form-row__field textarea:focus {
  border-color: var(--pe-red);
  box-shadow: 0 0 0 3px rgba(214, 0, 18, .08);
}

.pe-form-row__field input::placeholder,
.pe-form-row__field textarea::placeholder {
  color: #aaa;
  opacity: 1;
}

.pe-form-row__field--pair > label {
  display: block;
  min-width: 0;
  flex: 1 1 220px;
}

.pe-form-row__field .pe-input--short {
  max-width: 320px;
}

.pe-check-list {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 10px;
}

.pe-check-list label {
  position: relative;
  display: flex;
  min-width: 142px;
  min-height: 48px;
  flex: 0 1 142px;
  align-items: center;
  border: 1px solid #d6d6d6;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.pe-check-list input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.pe-check-list span {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 600;
}

.pe-check-list span::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid #bdbdbd;
  background: #fff;
}

.pe-check-list input[type="checkbox"]:checked ~ span::before {
  border-color: var(--pe-red);
  background: var(--pe-red);
  box-shadow: inset 0 0 0 4px #fff;
}

.pe-check-list input[type="checkbox"]:focus-visible ~ span {
  outline: 2px solid var(--pe-red);
  outline-offset: -2px;
}

.pe-check-list label:has(input:checked) {
  border-color: var(--pe-red);
  background: #fff9f9;
}

.pe-consent {
  width: min(100%, 760px);
  margin: 34px auto 0;
}

form#mailformpro .pe-consent label {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  float: none;
  align-items: center;
  justify-content: center;
  gap: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.pe-consent input {
  width: 23px;
  height: 23px;
  margin: 0;
  accent-color: var(--pe-red);
}

.pe-consent a {
  color: var(--pe-red);
  text-underline-offset: 4px;
}

.pe-consent > p {
  margin: 12px 0 0;
  color: #777;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}

.pe-submit {
  width: min(100%, 650px);
  margin: 34px auto 0;
  text-align: center;
}

.pe-submit button {
  width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box;
  text-shadow: none;
  position: relative;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pe-red);
  color: #fff;
  background: var(--pe-red);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.pe-submit button span {
  position: absolute;
  right: 36px;
  font-size: 25px;
  font-weight: 400;
  transition: transform .25s ease;
}

.pe-submit button:hover {
  color: var(--pe-red);
  background: #fff;
}

.pe-submit button:hover span {
  transform: translateX(5px);
}

.pe-submit p {
  margin: 13px 0 0;
  color: #666;
  font-size: 11px;
}

.pe-back {
  margin: 40px 0 0;
  text-align: center;
}

.pe-back a {
  color: #555;
  font-size: 13px;
  text-underline-offset: 5px;
}

.pe-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mfp_err {
  display: block;
  flex: 1 1 100%;
  margin: -4px 0 0;
  color: var(--pe-red);
  font-size: 11px;
  line-height: 1.5;
}

input.mfp_error,
textarea.mfp_error {
  border-color: var(--pe-red) !important;
  background: #fff7f7 !important;
}

#mfp_overlay {
  background: rgba(0, 0, 0, .62) !important;
}

#mfp_confirm_table {
  border: 1px solid #d8d8d8 !important;
  background: #fff !important;
  box-shadow: 0 14px 45px rgba(0, 0, 0, .2) !important;
  font-family: inherit !important;
}

#mfp_confirm_table th {
  color: #333 !important;
  background: #f7f7f6 !important;
}

#mfp_confirm_table td,
#mfp_confirm_table th {
  border-color: #ddd !important;
}

#mfp_confirm_buttons input,
#mfp_confirm_buttons button {
  border: 1px solid var(--pe-red) !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: var(--pe-red) !important;
}

@media (max-width: 1024px) {
  .pe-form-row {
    margin-inline: 22px;
  }

  .pe-form-row__heading {
    width: 190px;
    flex-basis: 190px;
  }

  .pe-check-list label {
    flex-basis: calc(33.333% - 10px);
  }
}

@media (max-width: 767px) {
  .pe-hero {
    min-height: 480px;
  }

  .pe-hero .rp-hero__inner {
    padding-top: 52px;
  }

  .pe-hero h1 {
    margin-top: 14px;
    font-size: clamp(34px, 10vw, 45px);
    line-height: 1.5;
  }

  .pe-form-section {
    padding: 45px 0 65px;
  }

  .pe-intro {
    margin-bottom: 28px;
    text-align: left;
  }

  .pe-intro p {
    font-size: 13px;
    line-height: 1.9;
  }

  .pe-steps {
    gap: 10px;
    margin-bottom: 26px;
  }

  .pe-steps li {
    min-height: 58px;
    gap: 6px;
  }

  .pe-steps b {
    font-size: 20px;
  }

  .pe-steps span {
    font-size: 10px;
  }

  .pe-form-row,
  .pe-form-row--options {
    display: block;
    margin-inline: 15px;
    padding: 20px 0;
  }

  .pe-form-row__heading {
    width: 100%;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 0;
  }

  .pe-form-row__field input[type="text"],
  .pe-form-row__field input[type="email"],
  .pe-form-row__field input[type="tel"] {
    height: 52px;
  }

  .pe-form-row__field--pair {
    gap: 10px;
  }

  .pe-form-row__field--pair > label {
    flex-basis: calc(50% - 5px);
  }

  .pe-form-row__field .pe-input--short {
    max-width: none;
  }

  .pe-check-list {
    gap: 8px;
  }

  .pe-check-list label {
    min-width: 0;
    flex-basis: calc(50% - 4px);
  }

  .pe-check-list span {
    padding: 10px;
    font-size: 12px;
  }

  .pe-consent {
    margin-top: 27px;
  }

  .pe-consent label {
    align-items: flex-start;
    justify-content: center;
    font-size: 13px;
  }

  .pe-consent > p {
    text-align: left;
  }

  .pe-submit {
    margin-top: 28px;
  }

  .pe-submit button {
    min-height: 68px;
    font-size: 15px;
  }

  .pe-submit button span {
    right: 20px;
  }
}

@media (max-width: 420px) {
  .pe-form-row__field--pair > label,
  .pe-check-list label {
    flex-basis: 100%;
  }
}
