.page-title {
  background-image: url(../images/contact/title-bg-contact.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/contact/title-bg-contact-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-title {
  font-size: 30px;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1;
  color: #000;
  text-align: center;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #f5f6ff;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 40px;
  margin-top: 30px;
}

.contact-info-title {
  font-size: 16px;
  line-height: 1;
  color: #000;
  padding-bottom: 10px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.telephone-call-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.telephone-call-container img {
  width: 30px;
  height: 30px;
  margin-top: 5px;
}

.telephone-call-container p {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: #4864dd;
}

.time {
  font-size: 16px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.5;
  color: #000;
}

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

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

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

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

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 10px auto 0 !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;
  width: 100%;
  padding-left: 50px;
  text-align: left;
  display: block;
  font-weight: 600;
}

.ff-btn-submit .arrow {
  position: absolute;
  right: 20px;
  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;
  width: 100%;
  height: 100%;
  transform: translate(0, 0);
  background-image: url(../images/right-hover.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
}

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

#ff_1_dropdown.ff-el-form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url("../images/select-arrow.svg") no-repeat calc(100% - 16px) center/16px 16px;
  border: 1px solid #959595;
  border-radius: 8px;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
}

#ff_1_dropdown.ff-el-form-control:focus {
  box-shadow: 0 0 0 2px rgba(71, 100, 220, 0.1);
}

#ff_1_dropdown.ff-el-form-control option {
  padding: 12px;
  font-size: 16px;
  background: #fff;
  color: #333;
}

.fluentform .ff-el-is-error .ff-el-form-control {
  border-color: var(--fluentform-danger) !important;
}

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

  .ff-btn-submit:hover::after {
    opacity: 1 !important;
  }

  .ff-btn-submit: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;
  }
}

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

  .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-title {
    font-size: 5.3vw;
    line-height: 1.5;
  }

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

  .contact-info {
    border-radius: 2vw;
    padding: 6vw;
    margin-bottom: 13vw;
    margin-top: 8.5vw;
  }

  .contact-info-title {
    font-size: 4.3vw;
    padding-bottom: 3vw;
  }

  .telephone-call-container {
    gap: unset;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2.5vw;
  }

  .telephone-call-container img {
    width: 8vw;
    height: 8vw;
    margin-top: 1.5vw;
  }

  .telephone-call-container p {
    font-size: 9vw;
  }

  .time {
    font-size: 3.6vw;
  }

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

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

  #ff_1_dropdown.ff-el-form-control {
    padding: 6vw 4vw;
    font-size: 5vw;
    font-weight: 600;
    background: #fff url("../images/select-arrow-2.svg") no-repeat calc(100% - 3vw) center/9vw 9vw;
  }

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

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

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

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

  #ff_1_message.ff-el-form-control {
    height: 80vw !important;
    min-height: 80vw !important;
    resize: none;
  }
  .fluentform .ff-el-is-error .text-danger {
    font-size: 4vw !important;
  }
  .ff-btn-submit .arrow {
    right: 5.3vw;
    width: 7vw;
    height: 5.6vw;
  }
  .ff-default .ff_btn_style:hover {
    opacity: 1 !important;
  }
}
