/* Hand-written additions on top of the converted STUDIO styles (contact form + thanks page). */

/* Honeypot: off-screen and absolutely positioned so it stays out of the form's flex layout. */
.pr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pr-form-error {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #d93025;
  border-radius: 4px;
  background: #fdecea;
  color: #b3261e;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.pr-form-error[hidden] { display: none; }

form[name=form1] button[type=submit]:disabled { opacity: 0.6; cursor: wait; }

/* Thanks page */
.pr-thanks {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}
.pr-thanks__icon {
  display: block;
  color: #006bc1;
  font-size: 64px;
  line-height: 1;
}
.pr-thanks__lead {
  margin: 20px 0 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}
.pr-thanks__text {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.9;
}
.pr-thanks__urgent {
  margin-top: 56px;
  padding: 32px 24px;
  border-radius: 10px;
  background: #e8f1f9;
}
.pr-thanks__urgent-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.pr-thanks__urgent-title span { display: inline-block; }
.pr-thanks__urgent-note {
  margin: 6px 0 0;
  color: #006bc1;
  font-size: 14px;
  font-weight: 700;
}
.pr-thanks__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.pr-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 240px;
  height: 64px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.pr-btn:hover { opacity: 0.8; }
.pr-btn--tel { border: 2px solid #006bc1; background: #fff; color: #006bc1; font-family: Roboto, "Noto Sans JP", sans-serif; font-size: 22px; }
.pr-btn--tel .material-icons { font-size: 26px; }
.pr-btn--line { background: #06c755; color: #fff; }
.pr-btn--home { margin-top: 48px; height: 56px; border: 1px solid #333; background: #fff; color: #333; font-size: 16px; }

@media screen and (max-width: 770px) {
  .pr-thanks { padding: 56px 16px 80px; }
  .pr-thanks__lead { font-size: 21px; }
  .pr-thanks__text { font-size: 15px; text-align: left; }
  .pr-thanks__text br { display: none; }
  .pr-thanks__urgent { margin-top: 40px; padding: 24px 16px; }
  .pr-thanks__urgent-title { font-size: 16px; }
  .pr-btn { width: 100%; min-width: 0; }
}
