@charset "utf-8";

html {
  scroll-behavior: auto;
}


/* ==================================================
   CONTACT
================================================== */

.contact {
  position: relative;

  width: 100%;

  padding: 0 0 2rem;

  background-color: #FFFFFF;
}


/* ==================================================
   Intro
================================================== */

.contact-wrap > .contact > p {
  width: min(calc(100% - 40px), 620px);

  margin: 0 auto;

  color: var(--color-text);

  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;

  line-height: 1.9;
  letter-spacing: 0.04em;

  text-align: center;
}


/* ==================================================
   Contact Wrap
================================================== */

.contact-wrap {
  width: min(calc(100% - 40px), 720px);

  margin: 70px auto 120px;
  padding: 48px 56px 56px;

  background-color: #F5F2E9;

  border: 0;
  border-radius: 0;
}

/* ==================================================
   Contact Head
================================================== */

.contact__head {
  width: min(calc(100% - 40px), 700px);

  margin: 70px auto 0;

  text-align: center;
}


/* ==================================================
   Contact Title
================================================== */

.contact__title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 500;

  line-height: 1.6;
  letter-spacing: 0.05em;
}


/* ==================================================
   Contact Lead
================================================== */

.contact__lead {
  margin: 18px 0 0;

  color: var(--color-text);

  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;

  line-height: 1.9;
  letter-spacing: 0.04em;
}


/* ==================================================
   Required Note
================================================== */

.contact__required-note {
  margin: 12px 0 0;

  color: #FF6868;

  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 500;

  line-height: 1.5;
}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 767px) {

  .contact__head {
    width: calc(100% - 40px);

    margin-top: 50px;
  }

  .contact__title {
    font-size: 17px;
  }

  .contact__lead {
    margin-top: 14px;

    font-size: 13px;
    line-height: 1.8;
  }

  .contact__required-note {
    margin-top: 10px;

    font-size: 11px;
  }

}


/* ==================================================
   Form
================================================== */

.contact form {
  width: 100%;

  margin: 0;
  padding: 0;
}

.contact form .container {
  width: 100% !important;
  max-width: none !important;

  margin: 0;
  padding: 0 !important;
}


/* ==================================================
   FORM ROW
================================================== */

.contact form .row {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0 0 26px;

  border: 0;
}

.contact form .row:last-of-type {
  padding-bottom: 0;
}


/* ==================================================
   Form Heading
================================================== */

.formTh {
  display: flex;
  align-items: center;

  gap: 5px;

  width: 100%;

  margin: 0 0 10px;
  padding: 0;
}

.formTh label {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 500;

  line-height: 1.6;
  letter-spacing: 0.03em;
}


/* ==================================================
   Required
================================================== */

.requiredText {
  display: inline !important;

  min-width: 0;
  min-height: 0;

  margin: 0;
  padding: 0;

  color: #FF6868;
  background-color: transparent;

  border-radius: 0;

  font-size: 0;
  line-height: 1;
}

.requiredText::before {
  content: "*";

  color: #FF6868;

  font-size: 16px;
  font-weight: 500;
}


/* ==================================================
   Form TD
================================================== */

.formTd {
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;
}


/* ==================================================
   INPUT / SELECT / TEXTAREA
================================================== */

.contact input,
.contact textarea,
.contact select {
  width: 100%;

  min-height: 52px;

  padding: 13px 16px;

  color: var(--color-text);
  background-color: #FFFFFF;

  border: 1px solid #E8E8E8;
  border-radius: 0;

  box-shadow: none;
  outline: none;

  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;

  line-height: 1.6;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


/* ==================================================
   Placeholder
================================================== */

.contact input::placeholder,
.contact textarea::placeholder {
  color: #B5B5B5;

  opacity: 1;
}


/* ==================================================
   Focus
================================================== */

.contact input:focus,
.contact textarea:focus,
.contact select:focus {
  background-color: #FFFFFF;

  border-color: #A5925D;

  box-shadow: 0 0 0 2px rgba(165, 146, 93, 0.08);
}


/* ==================================================
   Select
================================================== */

.contact select {
  cursor: pointer;

  appearance: auto;
}


/* ==================================================
   Textarea
================================================== */

.contact textarea {
  min-height: 140px;

  resize: vertical;
}


/* ==================================================
   Supplemental Text
================================================== */

.formTd > p {
  margin: 8px 0 0;

  color: #777777;

  font-size: 12px;

  line-height: 1.7;
}


/* ==================================================
   RADIO
================================================== */

.radioArea {
  display: flex;
  flex-direction: column;

  gap: 12px;

  padding-top: 4px;
}

.radioArea .d-inline-block {
  display: flex !important;
  align-items: center;

  gap: 8px;
}

.contact input[type="radio"] {
  position: relative;

  flex-shrink: 0;

  width: 16px;
  height: 16px;
  min-height: 0;

  margin: 0;
  padding: 0;

  background-color: #FFFFFF;

  border: 1px solid #8C8C8C;
  border-radius: 50%;

  appearance: none;

  cursor: pointer;
}

.contact input[type="radio"]::before {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 8px;
  height: 8px;

  background-color: var(--color-green);

  border-radius: 50%;

  opacity: 0;

  transform:
    translate(-50%, -50%)
    scale(0.5);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.contact input[type="radio"]:checked {
  border-color: var(--color-green);
}

.contact input[type="radio"]:checked::before {
  opacity: 1;

  transform:
    translate(-50%, -50%)
    scale(1);
}

.radioArea label {
  margin: 0;

  color: var(--color-text);

  font-size: 13px;

  line-height: 1.5;

  cursor: pointer;
}


/* ==================================================
   PRIVACY
================================================== */

.privacyBox {
  width: 100%;
  height: 180px;

  margin: 0;
  padding: 16px 18px;

  background-color: #FFFFFF;

  border: 1px solid #E8E8E8;

  overflow-x: hidden;
  overflow-y: auto;
}

.privacyBox p {
  margin: 0;

  color: #777777;

  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 400;

  line-height: 1.8;
}

.privacyBox a {
  color: #4AAFE8;

  text-decoration: underline;
  text-underline-offset: 2px;

  word-break: break-all;
}


/* ==================================================
   POLICY
================================================== */

form .policy {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  width: 100%;

  margin: 18px auto 0;
}

form .policy input {
  flex-shrink: 0;

  width: 18px;
  height: 18px;
  min-height: 0;

  margin: 0;
  padding: 0;

  appearance: auto;
}

form .policy label {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 500;

  line-height: 1.6;

  cursor: pointer;
}


/* ==================================================
   SUBMIT
================================================== */

.formBtnTd {
  width: 100%;

  margin: 34px auto 0;
  padding: 0;

  background-color: transparent !important;

  border: 0 !important;

  text-align: center;
}


/* ==================================================
   Submit Button
================================================== */

.formBtnTd button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 210px;
  min-height: 52px;

  margin: 0 auto;
  padding: 12px 20px;

  color: #000;
  background-color: #FFFFFF;

  border: 1px solid #8C8C8C;
  border-radius: 0;

  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;

  line-height: 1.4;

  cursor: pointer;

  overflow: hidden;

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.formBtnTd button::before {
  content: "";

  position: absolute;

  inset: 0;

  background-color: var(--color-switch);

  transform: scaleX(0);
  transform-origin: left center;

  transition: transform 0.4s ease;
}

.formBtnTd button span,
.formBtnTd button p {
  position: relative;
  z-index: 2;
}

.formBtnTd button:hover {
  opacity: .7;
}


/* ==================================================
   DATE SELECT
================================================== */

.selectArea {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px 12px;
}

.selectArea .d-md-inline-block {
  display: flex !important;
  align-items: center;

  gap: 6px;
}

.selectArea .formSelect {
  width: auto;

  min-width: 92px;
}

.selectArea #year1 {
  min-width: 120px;
}

.selectArea #month1,
.selectArea #day1,
.selectArea #hour1,
.selectArea #minute1 {
  min-width: 82px;
}

.selectArea .labelText02 {
  margin: 0;

  color: var(--color-text);

  font-size: 13px;

  white-space: nowrap;
}


/* ==================================================
   THANKS
================================================== */

.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 28px;

  width: min(calc(100% - 40px), 720px);

  margin: 80px auto 120px;
  padding: 56px 40px;

  text-align: center;

  background-color: #F5F2E9;

  border: 0;
  border-radius: 0;
}

.thanks-phone {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 20px;

  width: 100%;

  padding: 28px 20px;

  text-align: center;

  background-color: #FFFFFF;

  border: 0;
}

.thanks-phone a {
  color: var(--color-green);

  font-size: 28px;
}

.thanks-btn {
  margin: 28px auto 0;
}


/* ==================================================
   1024px
================================================== */

@media screen and (max-width: 1024px) {

  .contact-wrap {
    width: min(calc(100% - 60px), 720px);

    margin: 60px auto 100px;
    padding: 44px 42px 50px;
  }

}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 767px) {

  .contact {
    padding-bottom: 90px;
  }

  .contact-wrap {
    width: calc(100% - 40px);

    margin: 2rem auto 0;
    padding: 2rem 20px;
  }

  .contact-wrap > .contact > p {
    width: calc(100% - 40px);

    margin-bottom: 28px;

    font-size: 13px;
    line-height: 1.8;
  }

  .contact form .row {
    padding-bottom: 22px;
  }

  .formTh {
    margin-bottom: 8px;
  }

  .formTh label {
    font-size: 13px;
  }

  .requiredText::before {
    font-size: 14px;
  }

  .contact input,
  .contact textarea,
  .contact select {
    min-height: 48px;

    padding: 12px 13px;

    font-size: 13px;
  }

  .contact textarea {
    min-height: 130px;
  }

  .privacyBox {
    height: 140px;

    padding: 14px;
  }

  .privacyBox p {
    font-size: 10px;
  }

  form .policy {
    align-items: flex-start;
    justify-content: flex-start;

    margin-top: 16px;
  }

  form .policy label {
    font-size: 12px;
  }

  .formBtnTd {
    margin-top: 28px;
  }

  .formBtnTd button {
    width: min(100%, 220px);
    min-height: 50px;

    font-size: 13px;
  }

  .selectArea {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 8px;
  }

  .selectArea > div:nth-child(1),
  .selectArea > div:nth-child(2),
  .selectArea > div:nth-child(3) {
    width: 100%;
    flex: 0 0 100%;
  }

  .selectArea > div:nth-child(4),
  .selectArea > div:nth-child(5) {
    display: flex !important;

    width: auto;

    flex: 0 0 auto;
  }

  .selectArea > div:nth-child(4) .formSelect,
  .selectArea > div:nth-child(5) .formSelect {
    width: 82px;
    min-width: 82px;
  }

  .thanks {
    width: calc(100% - 40px);

    margin: 56px auto 88px;
    padding: 40px 20px;
  }

}


/* ==================================================
   Small SP
================================================== */

@media screen and (max-width: 480px) {

  .contact-wrap {
    width: calc(100% - 32px);

    padding: 2rem 16px;
  }

  .formBtnTd button {
    width: 100%;
  }

}


/* ==================================================
   FORM ERROR
================================================== */

.formError {
  margin-top: -40px !important;
  z-index: 990;
}

.formError .formErrorContent {
  z-index: 991;
}

.formError .formErrorArrow {
  z-index: 996;
}

.ui-dialog .formError {
  z-index: 5000;
}

.ui-dialog .formError .formErrorContent {
  z-index: 5001;
}

.ui-dialog .formError .formErrorArrow {
  z-index: 5006;
}

.inputContainer {
  position: relative;
  float: left;
}

.formError {
  position: absolute;

  top: 300px;
  left: 300px;

  display: block;

  cursor: pointer;
  text-align: left;
}

.formError.inline {
  position: relative;

  top: 0;
  left: 0;

  display: inline-block;
}

.ajaxSubmit {
  display: none;

  padding: 20px;

  background: #55ea55;

  border: 1px solid #999;
}

.formError .formErrorContent {
  position: relative;

  width: 100%;
  min-width: 120px;

  padding: 4px 10px;

  color: #FFFFFF;
  background: #ee0101;

  border: 2px solid #ddd;
  border-radius: 6px;

  box-shadow: 0 0 6px #000;

  font-size: 11px;
}

.formError.inline .formErrorContent {
  border: none;
  border-radius: 0;

  box-shadow: none;
}

.greenPopup .formErrorContent {
  background: #33be40;
}

.blackPopup .formErrorContent {
  color: #FFFFFF;

  background: #393939;
}

.formError .formErrorArrow {
  position: relative;

  width: 15px;

  margin: -2px 0 0 13px;
}

body[dir="rtl"] .formError .formErrorArrow,
body.rtl .formError .formErrorArrow {
  margin: -2px 13px 0 0;
}

.formError .formErrorArrowBottom {
  top: 2px;

  margin: 0 0 0 12px;

  box-shadow: none;
}

.formError .formErrorArrow div {
  display: block;

  height: 1px;

  margin: 0 auto;

  background: #ee0101;

  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;

  box-shadow: 0 2px 3px #444;

  font-size: 0;
  line-height: 0;
}

.formError .formErrorArrowBottom div {
  box-shadow: none;
}

.greenPopup .formErrorArrow div {
  background: #33be40;
}

.blackPopup .formErrorArrow div {
  color: #FFFFFF;

  background: #393939;
}

.formError .formErrorArrow .line10 {
  width: 13px;

  border: none;
}

.formError .formErrorArrow .line9,
.formError .formErrorArrow .line8 {
  width: 11px;
}

.formError .formErrorArrow .line9 {
  border: none;
}

.formError .formErrorArrow .line7 {
  width: 9px;
}

.formError .formErrorArrow .line6 {
  width: 7px;
}

.formError .formErrorArrow .line5 {
  width: 5px;
}

.formError .formErrorArrow .line4 {
  width: 3px;
}

.formError .formErrorArrow .line3 {
  width: 1px;

  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  border-bottom: 0 solid #ddd;
}

.formError .formErrorArrow .line2 {
  width: 3px;

  background: #ddd;

  border: none;
}

.formError .formErrorArrow .line1 {
  width: 1px;

  background: #ddd;

  border: none;
}


/* ==================================================
   THANKS PAGE
================================================== */

.thanks-page {
  width: 100%;

  padding: 70px 20px 120px;

  background-color: #FFFFFF;
}


/* ==================================================
   Inner
================================================== */

.thanks-page__inner {
  width: min(100%, 760px);

  margin: 0 auto;

  text-align: center;
}


/* ==================================================
   Mizuhiki
================================================== */

.thanks-page__mark {
  width: min(100%, 360px);

  margin: 0 auto 52px;
}

.thanks-page__mark img {
  display: block;

  width: 100%;
  height: auto;
}


/* ==================================================
   Title
================================================== */

.thanks-page__title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 400;

  line-height: 1.6;
  letter-spacing: 0.05em;
}


/* ==================================================
   Text
================================================== */

.thanks-page__text {
  margin-top: 30px;
}

.thanks-page__text p {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 400;

  line-height: 1.9;
  letter-spacing: 0.04em;
}

.thanks-page__text p + p {
  margin-top: 18px;
}


/* ==================================================
   Button Wrap
================================================== */

.thanks-page__button-wrap {
  display: flex;
  justify-content: center;

  margin-top: 34px;
}


/* ==================================================
   Button
================================================== */

.thanks-page__button {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 220px;
  min-height: 54px;

  padding: 12px 20px;

  color: var(--color-text);
  background-color: #FFFFFF;

  border: 1px solid #8C8C8C;

  text-decoration: none;

  overflow: hidden;

  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.thanks-page__button::before {
  content: "";

  position: absolute;
  z-index: 0;

  inset: 0;

  background-color: var(--color-switch);

  transform: scaleX(0);
  transform-origin: left center;

  transition: transform 0.4s ease;
}

.thanks-page__button p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: inherit;

  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;

  line-height: 1.4;
  letter-spacing: 0.04em;
}

.thanks-page__button:hover {
  color: var(--color-text);

  border-color: #404040;
}

.thanks-page__button:hover::before {
  transform: scaleX(1);
}


/* ==================================================
   Tablet
================================================== */

@media screen and (max-width: 1024px) {

  .thanks-page {
    padding-top: 60px;
    padding-bottom: 100px;
  }

}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 767px) {

  .thanks-page {
    padding:
      50px
      20px
      80px;
  }

  .thanks-page__mark {
    width: min(100%, 280px);

    margin-bottom: 36px;
  }

  .thanks-page__title {
    font-size: 24px;
  }

  .thanks-page__text {
    margin-top: 24px;
  }

  .thanks-page__text p {
    font-size: 14px;

    line-height: 1.8;
  }

  .thanks-page__button-wrap {
    margin-top: 30px;
  }

  .thanks-page__button {
    width: 200px;
    min-height: 50px;
  }

}


/* ==================================================
   Small SP
================================================== */

@media screen and (max-width: 480px) {

  .thanks-page__title {
    font-size: 22px;
  }

  .thanks-page__text p {
    font-size: 13px;
  }

  .thanks-page__text br {
    display: none;
  }

}