.footer--gray-bg {
  background-color: #f0f1f3;
}

.footer--dark-bg {
  background-color: #494a4d;
}

.footer__cta-btn:hover .footer__cta-btn-arrow-img {
  transform: translateX(11px);
}

.p-contact-form__actions .footer__cta-btn {
  max-width: 330px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__actions .footer__cta-btn {
    font-size: 13.5px;
  }
}

.p-contact-form {
  background-color: #f0f1f3;
  padding-bottom: 80px;
}
@media screen and (max-width: 599px) {
  .p-contact-form {
    padding-bottom: 50px;
  }
}
.p-contact-form__head {
  padding-top: 158px;
  padding-bottom: 80px;
  background-color: #ffffff;
}
@media (max-width: 1024px) {
  .p-contact-form__head {
    padding-top: 130px;
  }
}
@media screen and (max-width: 599px) {
  .p-contact-form__head {
    padding-top: 100px;
  }
}
.p-contact-form__title {
  margin-top: 73px;
}
@media (max-width: 1024px) {
  .p-contact-form__title {
    margin-top: 50px;
  }
}
@media screen and (max-width: 599px) {
  .p-contact-form__title {
    margin-top: 24px;
  }
}
.p-contact-form__body {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1120px;
  padding-top: 95px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__body {
    padding-top: 50px;
  }
}
.p-contact-form__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #4a474c;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__heading {
    font-size: 20px;
    margin-bottom: 24px;
  }
}
.p-contact-form__card {
  background: rgba(255, 255, 255, 0.64);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  padding: 110px 80px 160px;
  margin-top: 40px;
}
@media screen and (max-width: 959px) {
  .p-contact-form__card {
    padding: 40px 24px;
    border-radius: 16px;
  }
}
.p-contact-form__card--complete {
  padding: 80px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__card--complete {
    padding: 40px 24px;
  }
}
.p-contact-form__section-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #4a474c;
  letter-spacing: 0.1em;
  max-width: 690px;
  margin: 0 auto 24px;
}
.p-contact-form__description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #4a474c;
  letter-spacing: 0.1em;
  line-height: 1.7;
  margin-bottom: 24px;
}
.p-contact-form__links {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding-left: 45px;
  margin-bottom: 40px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__links {
    padding-left: 20px;
    width: 100%;
  }
}
.p-contact-form__links::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 1px;
  height: 80%;
  background-color: #e60012;
}
.p-contact-form__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 320px;
  padding: 10px 0;
  color: #4a474c;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 599px) {
  .p-contact-form__link {
    width: 100%;
  }
}
.p-contact-form__link:hover {
  opacity: 0.7;
}
.p-contact-form__link::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid #e60012;
  border-right: 1px solid #e60012;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-left: 16px;
}
.p-contact-form__field {
  max-width: 690px;
  margin: 0 auto 16px;
}
.p-contact-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #4a474c;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.p-contact-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e60012;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 9999px;
  line-height: 1.4;
}
.p-contact-form__input, .p-contact-form__textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #4a474c;
  background-color: #e9ecf0;
  border: none;
  border-radius: 11px;
  outline: none;
  transition: box-shadow 0.3s ease;
}
.p-contact-form__input::placeholder, .p-contact-form__textarea::placeholder {
  color: #8d8d8d;
}
.p-contact-form__input:focus, .p-contact-form__textarea:focus {
  box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.3);
}
.p-contact-form__input.is-error, .p-contact-form__textarea.is-error {
  box-shadow: 0 0 0 2px #e60012;
}
.p-contact-form__textarea {
  min-height: 340px;
  resize: vertical;
}
@media screen and (max-width: 599px) {
  .p-contact-form__textarea {
    min-height: 200px;
  }
}
.p-contact-form__textarea:not(textarea) {
  min-height: auto;
  resize: none;
}
.p-contact-form__error {
  color: #e60012;
  font-size: 12px;
  margin-top: 6px;
}
.p-contact-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
  cursor: pointer;
}
.p-contact-form__privacy-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.p-contact-form__privacy-check {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #e9ecf0;
  box-shadow: 4px 4px 15px 0 rgba(178, 180, 182, 0.62) inset;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: visible;
}
@media screen and (max-width: 599px) {
  .p-contact-form__privacy-check {
    width: 23px;
    height: 23px;
  }
}
.p-contact-form__privacy-check::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 5px;
  width: 32px;
  height: 30px;
  background: url("../images/global/check.svg") center/contain no-repeat;
  opacity: 0;
  transition: opacity 0.15s ease;
}
@media screen and (max-width: 599px) {
  .p-contact-form__privacy-check::after {
    width: 22px;
    height: 27px;
  }
}
.is-checked .p-contact-form__privacy-check::after {
  opacity: 1;
}
.p-contact-form__privacy-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #4a474c;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 599px) {
  .p-contact-form__privacy-label {
    font-size: 14px;
  }
}
.p-contact-form__privacy-label a {
  color: #4a474c;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: opacity 0.3s ease;
}
.p-contact-form__privacy-label a:hover {
  opacity: 0.7;
}
.p-contact-form__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__actions {
    flex-direction: column;
  }
}
.p-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 330px;
  height: 51px;
  background-color: #1f1e22;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 17px;
  border-radius: 121px;
  letter-spacing: 1.69px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.p-contact-form__submit:hover {
  background-color: #333;
}
.p-contact-form__submit--red {
  background-color: #e60012;
}
.p-contact-form__submit--red:hover {
  background-color: #cc0010;
}
.p-contact-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.p-contact-form__submit-arrow {
  position: absolute;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 23px;
  height: 23px;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
}
.p-contact-form__submit-arrow-img {
  width: 12px;
  height: auto;
  transform: translateX(-2px);
  transition: transform 0.3s ease;
}
.p-contact-form__submit:hover .p-contact-form__submit-arrow-img {
  transform: translateX(7px);
}
@media screen and (max-width: 599px) {
  .p-contact-form__submit {
    min-width: 100%;
  }
}
.p-contact-form__back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 51px;
  background-color: transparent;
  color: #4a474c;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 17px;
  border-radius: 121px;
  letter-spacing: 1.69px;
  border: 1px solid #4a474c;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.p-contact-form__back-btn:hover {
  background-color: #4a474c;
  color: #ffffff;
}
@media screen and (max-width: 599px) {
  .p-contact-form__back-btn {
    min-width: 100%;
  }
}
.p-contact-form__confirm-row {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #d9d9d9;
}
@media screen and (max-width: 599px) {
  .p-contact-form__confirm-row {
    flex-direction: column;
    gap: 8px;
  }
}
.p-contact-form__confirm-label {
  width: 200px;
  flex-shrink: 0;
  font-weight: 500;
  font-size: 16px;
  color: #4a474c;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 599px) {
  .p-contact-form__confirm-label {
    width: 100%;
  }
}
.p-contact-form__confirm-value {
  flex: 1;
  font-size: 16px;
  color: #4a474c;
  letter-spacing: 0.1em;
  line-height: 1.7;
  word-break: break-word;
  white-space: pre-wrap;
}
.p-contact-form__complete {
  text-align: center;
  padding: 60px 0;
}
@media screen and (max-width: 599px) {
  .p-contact-form__complete {
    padding: 30px 0;
  }
}
.p-contact-form__complete-heading {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #4a474c;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__complete-heading {
    font-size: 18px;
  }
}
.p-contact-form__complete-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #4a474c;
  letter-spacing: 0.1em;
  line-height: 1.95;
}
@media screen and (max-width: 599px) {
  .p-contact-form__complete-text {
    font-size: 16px;
  }
}
.p-contact-form__back-link-wrapper {
  margin-top: 80px;
}
@media screen and (max-width: 599px) {
  .p-contact-form__back-link-wrapper {
    margin-top: 50px;
  }
}
.p-contact-form__back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a474c;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.p-contact-form__back-link:hover {
  opacity: 0.7;
}
.p-contact-form__back-link::before {
  content: "";
  display: block;
  width: 14px;
  height: 5px;
  background: url("../images/footer/btn-arrow.svg") center/contain no-repeat;
  transform: scaleX(-1);
}
.p-contact-form--dark {
  background-color: #494a4d;
}
.p-contact-form--dark .p-contact-form__head {
  background-color: #ffffff;
}
.p-contact-form--dark .p-contact-form__heading, .p-contact-form--dark .p-contact-form__description {
  color: #ffffff;
}
.p-contact-form--dark .p-contact-form__link {
  color: #ffffff;
}
.p-contact-form--dark > .p-contact-form__body > .p-contact-form__back-link-wrapper > .p-contact-form__back-link {
  color: #ffffff;
}
.p-contact-form--dark > .p-contact-form__body > .p-contact-form__back-link-wrapper > .p-contact-form__back-link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.09' height='4.4' fill='none'%3E%3Cpath d='M8.81 0L14.09 4.4H8.81V0Z' fill='%23fff'/%3E%3Cpath d='M0 3.52H9.69C9.69 4.01 9.29 4.4 8.81 4.4H0V3.52Z' fill='%23fff'/%3E%3C/svg%3E");
}
.p-contact-form--dark .p-contact-form__card {
  background: rgba(255, 255, 255, 0.8);
}

.p-privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}
.p-privacy-modal.is-active {
  visibility: visible;
  opacity: 1;
}
.p-privacy-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.p-privacy-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 1070px;
  max-height: 85vh;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 30px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  padding: 153px 185px 70px 110px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.is-active .p-privacy-modal__dialog {
  transform: translateY(0);
}
@media screen and (max-width: 959px) {
  .p-privacy-modal__dialog {
    padding: 80px 40px 40px;
  }
}
@media screen and (max-width: 599px) {
  .p-privacy-modal__dialog {
    width: 95%;
    max-height: 90vh;
    padding: 60px 20px 30px;
    border-radius: 16px;
  }
}
.p-privacy-modal__close {
  position: absolute;
  top: 80px;
  right: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.p-privacy-modal__close:hover {
  opacity: 0.7;
}
.p-privacy-modal__close::before, .p-privacy-modal__close::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #4a474c;
}
.p-privacy-modal__close::before {
  transform: rotate(45deg);
}
.p-privacy-modal__close::after {
  transform: rotate(-45deg);
}
@media screen and (max-width: 959px) {
  .p-privacy-modal__close {
    top: 24px;
    right: 24px;
  }
}
.p-privacy-modal__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #4a474c;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  flex-shrink: 0;
}
.p-privacy-modal__body {
  flex: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #000;
  letter-spacing: 0.1em;
  line-height: 2.5;
  overflow-y: scroll;
}
.p-privacy-modal__body p {
  margin-bottom: 1.5em;
}
.p-privacy-modal__body::-webkit-scrollbar {
  display: none;
}
.p-privacy-modal__body {
  scrollbar-width: none;
}
@media screen and (max-width: 959px) {
  .p-privacy-modal__body::-webkit-scrollbar {
    display: block;
    width: 4px;
  }
  .p-privacy-modal__body::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 2px;
  }
  .p-privacy-modal__body {
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 transparent;
  }
}
.p-privacy-modal__scrollbar {
  position: absolute;
  top: 220px;
  right: 94px;
  bottom: 70px;
  width: 4px;
  background: #d9d9d9;
}
@media screen and (max-width: 959px) {
  .p-privacy-modal__scrollbar {
    display: none;
  }
}
.p-privacy-modal__scrollbar-thumb {
  position: absolute;
  top: 0;
  width: 4px;
  background: #333;
}

.p-privacy-policy__content {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1120px;
  padding-top: 95px;
  padding-bottom: 120px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: #000;
  letter-spacing: 0.1em;
  line-height: 2.5;
}
.p-privacy-policy__content p {
  margin-bottom: 1.5em;
}
.p-privacy-policy__content strong {
  font-weight: 700;
}
.p-privacy-policy__content .p-contact-form__back-link-wrapper {
  margin-top: 80px;
}
@media screen and (max-width: 599px) {
  .p-privacy-policy__content {
    padding-top: 50px;
    padding-bottom: 60px;
    font-size: 11px;
    line-height: 2.2;
  }
}
