.page-title {
  background-image: url(../images/form-confirm/title-bg-form-confirm.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 30.52vw;
  max-height: 417px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 12px;
}

.page-title .container {
  width: 100%;
}

.page-title .page-title-inner {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 95px;
  margin-left: -0.8em;
}

.page-title .title {
  font-size: 15px;
  line-height: 1;
  color: #fff;
  padding-bottom: 16px;
}

.page-title .caveat {
  font-size: 110px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

.page-title .breadcrumb ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.page-title .breadcrumb ul li {
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #fff;
  display: flex;
  align-items: center;
}

.page-title .breadcrumb ul li:not(:last-child)::after {
  content: ">";
  display: inline-block;
  margin-left: 10px;
  font-size: 1.5em;
}

.page-title .breadcrumb ul li a {
  color: #fff !important;
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
  .page-title {
    padding-bottom: 0.9vw;
  }

  .page-title .page-title-inner {
    gap: 2.2vw;
    margin-bottom: 6.9vw;
  }

  .page-title .title {
    font-size: 1.1vw;
    padding-bottom: 1.2vw;
  }

  .page-title .caveat {
    font-size: 8vw;
  }

  .page-title .breadcrumb ul {
    gap: 0.75vw;
  }

  .page-title .breadcrumb ul li {
    font-size: 0.9vw;
  }

  .page-title .breadcrumb ul li:not(:last-child)::after {
    margin-left: 0.75vw;
  }
}

@media screen and (max-width: 767px) {
  .page-title {
    background-image: url(../images/form-confirm/title-bg-form-confirm-sp.png);
    height: 77.6vw;
    max-height: unset;
    padding-bottom: 1.6vw;
  }

  .page-title .page-title-inner {
    gap: 7vw;
    margin-bottom: 16vw;
    margin-left: 0;
  }

  .page-title .title {
    font-size: 4vw;
    padding-bottom: 3vw;
  }

  .page-title .caveat {
    font-size: 20vw;
    letter-spacing: 0.04em;
  }

  .page-title .breadcrumb ul {
    gap: 4vw;
  }

  .page-title .breadcrumb ul li {
    font-size: 3vw;
  }

  .page-title .breadcrumb ul li:not(:last-child)::after {
    margin-left: 4vw;
  }
}

body .contact {
  display: none !important;
}

.page-content {
  padding: 70px 0;
  background-image: url(../images/contact/bg.png);
  background-size: 100% auto;
  background-position: center top 350px;
  background-repeat: no-repeat;
}

.page-content > .container {
  border-radius: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 16px 0 rgba(0, 0, 0, 0.1);
  padding: 65px 80px 40px;
  border: 1px solid #4764dc;
}

.contact-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: #000;
  letter-spacing: 0;
  margin-bottom: 40px;
}

.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
  content: "※" !important;
}

.fluentform .ff-el-group {
  margin-bottom: 30px !important;
}

.fluentform .ff-text-left {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid #bebebe;
}

.ff-btn-submit {
  background-color: unset !important;
  padding: 0 !important;
  width: 240px !important;
  min-width: 45%;
  height: 61px !important;
  border-radius: 50px !important;
  position: relative;
  overflow: hidden;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ff-btn-submit::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(to right, #9198e5, #213ac3) !important;
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
}

.ff-btn-submit::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(to right, #213ac3, #9198e5) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.ff-btn-submit .button-text {
  color: #fff;
  padding: 16px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.ff-btn-submit .arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 21.5px;
  height: 19px;
  z-index: 1;
}

.ff-btn-submit .arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/right-hover.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transform: translate(0, 0);
  opacity: 1;
}

.ff-btn-submit .arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/right-hover.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transform: translate(-60%, 0);
  opacity: 0;
}
.ff-btn-submit + button {
  background-color: unset !important;
  padding: 0 !important;
  width: 240px !important;
  min-width: 45%;
  height: 61px !important;
  border-radius: 50px !important;
  position: relative;
  overflow: hidden;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ff-btn-submit + button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(to right, #9198e5, #213ac3) !important;
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
}

.ff-btn-submit + button::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(to right, #213ac3, #9198e5) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.ff-btn-submit + button .button-text {
  color: #fff;
  padding: 16px;
  border-radius: 16px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.ff-btn-submit + button .arrow {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 21.5px;
  height: 19px;
  z-index: 1;
}

.ff-btn-submit + button .arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/left-hover.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transform: translate(0, 0);
  opacity: 1;
}

.ff-btn-submit + button .arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/left-hover.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transform: translate(60%, 0);
  opacity: 0;
}

@media screen and (min-width: 768px) {
  .ff-btn-submit:hover::before,
  .ff-btn-submit + button:hover::before {
    opacity: 0 !important;
  }

  .ff-btn-submit:hover::after,
  .ff-btn-submit + button:hover::after {
    opacity: 1 !important;
  }
  .ff-btn-submit:hover,
  .ff-btn-submit + button:hover {
    opacity: 1 !important;
  }
  .ff-btn-submit:hover .arrow::after {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.3s;
  }
  .ff-btn-submit:hover .arrow::before {
    opacity: 0;
    transform: translate(60%, 0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .ff-btn-submit + button:hover .arrow::after {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.3s;
  }
  .ff-btn-submit + button:hover .arrow::before {
    opacity: 0;
    transform: translate(-60%, 0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

@media screen and (min-width: 768px) and (max-width: 930px) {
  .contact-text {
    font-size: 1.7vw;
  }
}

@media screen and (max-width: 767px) {
  .page-content {
    padding: 10.6vw 0 18.6vw;
    background-image: url(../images/contact/bg-sp.png);
    background-position: center top 200vw;
  }

  .page-content > .container {
    border-radius: 5.3vw;
    padding: 12vw 4vw 0;
  }

  .contact-text {
    font-size: 3.98vw;
    margin-bottom: 12vw;
    line-height: 1.85;
  }

  .ff-default .ff-el-input--label label {
    font-size: 4vw;
    font-weight: 700 !important;
  }

  .ff-default .ff-el-input--label label + div {
    font-size: 4vw;
    margin-top: 3vw !important;
  }

  .fluentform .ff-el-input--label {
    margin-bottom: 0 !important;
  }

  .fluentform .ff-text-left {
    flex-direction: column-reverse;
    padding-top: 7vw;
  }

  #ff_1_dropdown.ff-el-form-control {
    padding: 6vw 4vw;
    font-size: 5vw;
    font-weight: 600;
  }

  .ff-default .ff-el-form-control {
    padding: 6vw 4vw !important;
    font-size: 5vw !important;
  }

  .fluentform .ff-el-group {
    margin-bottom: 8.5vw !important;
  }

  .ff-btn-submit,
  .ff-btn-submit + button {
    width: 100% !important;
    height: 14.6vw !important;
    border-radius: 7vw !important;
    margin: 0 auto !important;
  }

  .ff-btn-submit .button-text {
    font-size: 4.5vw;
  }

  .ff-btn-submit + button .button-text {
    font-size: 4.5vw;
  }

  .ff-btn-submit .arrow {
    right: 6.6vw;
    width: 7vw;
    height: 5.6vw;
  }

  .ff-btn-submit + button .arrow {
    left: 6.6vw;
    width: 7vw;
    height: 5.6vw;
  }
  .ff-btn-submit:hover,
  .ff-btn-submit + button:hover {
    opacity: 1 !important;
  }
}
