/*
Theme Name: Retry LP
Theme URI: https://www.retry.website/
Author: Retry
Description: Sales design landing page theme.
Version: 1.0.0
Text Domain: retry-lp
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f3f1ed;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.lp {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

.lp > img,
.cta img {
  display: block;
  width: 100%;
  height: auto;
}

.cta {
  display: block;
  position: relative;
  padding: 0 8px 22px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
}

.cta::after {
  position: absolute;
  top: -40%;
  left: -85%;
  width: 44%;
  height: 180%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
  transform: rotate(18deg);
  animation: cta-shine 2.8s ease-in-out infinite;
}

.cta img {
  max-width: 734px;
  margin: 0 auto;
}

.contact {
  padding: 46px 22px 38px;
  background: #fff8ec;
}

.contact h2 {
  margin: 0 0 12px;
  color: #17120d;
  font-size: 28px;
  line-height: 1.35;
  text-align: center;
}

.contact p {
  margin: 0 0 28px;
  color: #4d4033;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
}

.contact-form form,
.contact-form .wpcf7-form {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-form p {
  display: contents;
  margin: 0;
}

.contact-form br {
  display: none;
}

.contact-form label,
.contact-form .form-label {
  display: grid;
  gap: 6px;
  color: #241b13;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

.contact-form .label-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form .required-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #e83b20;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.contact-form input,
.contact-form textarea,
.contact-form .wpcf7-form-control-wrap {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #ded0bd;
  border-radius: 6px;
  background: #fff;
  color: #17120d;
  font: inherit;
  line-height: 1.5;
}

.contact-form input {
  min-height: 48px;
  padding: 10px 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff9b1a;
  outline: 3px solid rgba(255, 155, 26, 0.2);
}

.contact-form input[type="submit"],
.contact-form button {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: #ff9417;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 0 #c8790b;
  appearance: none;
}

.contact-form input[type="submit"]:active,
.contact-form button:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #c8790b;
}

.footer {
  padding: 24px 16px 32px;
  background: #17120d;
  text-align: center;
}

.footer a {
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes cta-shine {
  0%,
  42% {
    left: -85%;
  }

  72%,
  100% {
    left: 120%;
  }
}

@media (min-width: 751px) {
  .lp {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 38px 16px 32px;
  }

  .contact h2 {
    font-size: 24px;
  }
}
