.contact-intro-section {
  background-color: #ffffff;
}
.contact-intro-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.language-selector {
  display: inline-flex;
  overflow: hidden;
}
.language-selector__btn {
  padding: 12px 24px;
  border: none;
  background-color: #ffffff;
  color: #4F859A;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #4F859A;
  width: 230px;
}
@media (max-width: 767px) {
  .language-selector__btn {
    width: 150px;
  }
}
.language-selector__btn:first-child {
  border-right: none;
}
.language-selector__btn--active {
  background-color: #4F859A;
  color: #ffffff;
  border-color: #4F859A;
}
.language-selector__btn:hover:not(.language-selector__btn--active) {
  background-color: rgba(79, 133, 154, 0.05);
}
.language-selector__btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 133, 154, 0.2);
}

.contact-message__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #3C3C3C;
  margin: 0;
}

@media (max-width: 768px) {
  .language-selector__btn {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  .contact-message__text {
    font-size: 1rem;
  }
}
.progress-section {
  position: relative;
  z-index: 4;
}
.progress-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
}
.progress-step__label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #3C3C3C;
  text-align: center;
  margin-bottom: 10px;
}
.progress-step__arrow {
  width: 84px;
  height: auto;
  display: block;
}
.progress-step__dot {
  width: 6px;
  height: 6px;
  background-color: #FB2331;
  border-radius: 50%;
  margin-top: 5px;
}
.progress-step--active .progress-step__label {
  color: #4F859A;
  font-weight: 600;
}
.progress-step:not(.progress-step--active) .progress-step__label {
  color: #999999;
}

@media (max-width: 768px) {
  .progress-section {
    padding: 30px 0;
  }
  .progress-indicator {
    gap: 20px;
  }
  .progress-step__label {
    font-size: 0.875rem;
  }
  .progress-step__arrow {
    width: 60px;
  }
}
.contact-form-section {
  background: #EBF2F5;
  padding: 0 100px;
  position: relative;
  z-index: 2;
  margin-top: -70px;
}
.contact-form-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.contact-form-section__bg-image {
  width: 100%;
  height: auto;
  display: block;
}
.contact-form-section__container {
  position: relative;
  z-index: 1;
}

.contact-form {
  padding: 0;
}
.contact-form__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  align-items: stretch;
  gap: 0;
}
.contact-form__row:last-child {
  margin-bottom: 0;
}
.contact-form__row--checkbox {
  justify-content: center;
  gap: 0;
}
.contact-form__row--checkbox .contact-form__field {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-form__label {
  width: calc(50% - 35px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  background-color: #C6D8E0;
  padding-left: 50px;
  padding-right: 80px;
}
@media (max-width: 767px) {
  .contact-form__label {
    width: 100%;
    margin-bottom: 12px;
    background: none;
  }
}
.contact-form__label-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #3C3C3C;
  font-weight: 500;
  line-height: 1.4;
}
.contact-form__required {
  background-color: #FB2331;
  color: #ffffff;
  font-size: 11px;
  padding: 3px 8px;
  display: inline-block;
  width: fit-content;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 3px;
  white-space: nowrap;
}
.contact-form__optional {
  background-color: #fff;
  color: #FC8A8F;
  font-size: 11px;
  padding: 3px 8px;
  display: inline-block;
  width: fit-content;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 3px;
}
.contact-form__field {
  width: calc(50% - 35px);
  min-width: 0;
  padding: 0 70px 20px 0;
}
@media (max-width: 767px) {
  .contact-form__field {
    width: 100%;
    padding: 0;
  }
}
.contact-form__field--full {
  width: 100%;
}
.contact-form__input, .contact-form__select, .contact-form__textarea {
  width: 100%;
  padding: 7px 16px;
  border: none;
  border-radius: 3px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.contact-form__input:focus, .contact-form__select:focus, .contact-form__textarea:focus {
  outline: none;
  border-color: #4F859A;
  box-shadow: 0 0 0 3px rgba(79, 133, 154, 0.15);
}
.contact-form__input:hover, .contact-form__select:hover, .contact-form__textarea:hover {
  border-color: #bbb;
}
.contact-form__input::placeholder, .contact-form__select::placeholder, .contact-form__textarea::placeholder {
  color: #aaa;
  font-size: 14px;
}
.contact-form__select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}
.contact-form__select--date {
  flex: 1;
  min-width: 0;
}
.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.contact-form__textarea--large {
  min-height: 180px;
}
.contact-form__radio-group {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 639px) {
  .contact-form__radio-group {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
.contact-form__radio-group--vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-form__radio {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}
.contact-form__radio input[type=radio] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  accent-color: #4F859A;
  cursor: pointer;
  flex-shrink: 0;
}
.contact-form__radio-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #3C3C3C;
  cursor: pointer;
  font-weight: 400;
  margin-top: -3px;
}
.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
}
.contact-form__checkbox input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #767676;
  position: relative;
}
.contact-form__checkbox input[type=checkbox]:checked {
  background-color: #ffffff;
  border-color: #4F859A;
}
.contact-form__checkbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #4F859A;
  border-radius: 50%;
}
.contact-form__checkbox-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #3C3C3C;
  cursor: pointer;
  font-weight: 400;
  margin-top: -3px;
}
.contact-form__checkbox-text a {
  color: #3F3F3F;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 5px;
}
.contact-form__date-group {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
}
@media (max-width: 767px) {
  .contact-form__date-group {
    gap: 12px;
  }
}
.contact-form__date-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
@media (max-width: 639px) {
  .contact-form__date-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
.contact-form__date-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #3C3C3C;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .contact-form__date-label {
    font-size: 14px;
  }
}
.contact-form__select--date {
  min-width: 60px;
  width: 100%;
}
.contact-form__file-upload {
  display: flex;
  width: 100%;
  overflow: hidden;
  border: none;
  box-shadow: none;
}
.contact-form__file-text {
  flex: 1;
  background-color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  margin: 0;
  line-height: 1.4;
  border: none;
  display: flex;
  align-items: center;
  color: #D3D3D4;
  padding: 0 0 0 5px;
}
.contact-form__file-btn {
  background-color: #6C93A6;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 10px;
  letter-spacing: 0;
  padding: 0 5px;
}
.contact-form__file-btn input[type=file] {
  display: none;
}
.contact-form__file-btn span {
  display: block;
}
.contact-form__file-btn:hover {
  background-color: #5a7d8a;
}
.contact-form__file-btn:active {
  transform: translateY(1px);
}
.contact-form__budget-group {
  display: flex;
  gap: 40px;
  width: 100%;
}
@media (max-width: 767px) {
  .contact-form__budget-group {
    flex-direction: column;
    gap: 20px;
  }
}
.contact-form__budget-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-wrap: wrap;
}
.contact-form__checkbox-group {
  display: flex;
  gap: 40px;
  width: 100%;
}
@media (max-width: 767px) {
  .contact-form__checkbox-group {
    flex-direction: column;
    gap: 20px;
  }
}
.contact-form__checkbox-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form__submit {
  text-align: center;
}
.contact-form__submit-btn {
  background-color: #FFFFFF;
  color: #4F859A;
  border: 1px solid #4F859A;
  padding: 30px 120px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 50px;
}
.contact-form__submit-btn:active {
  transform: translateY(0);
}
.contact-form__submit-btn:focus {
  outline: none;
}
@media (max-width: 639px) {
  .contact-form__submit-btn {
    padding: 16px 80px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .contact-form {
    padding: 30px 20px;
  }
  .contact-form__row {
    flex-direction: column;
    margin-bottom: 40px !important;
  }
  .contact-form__label {
    width: 100%;
    margin-bottom: 20px;
    padding: 0 !important;
  }
  .contact-form__field {
    padding: 0 !important;
  }
}
@media (max-width: 639px) {
  .contact-form-section {
    padding: 40px 20px;
  }
  .contact-form-section__container {
    padding: 0;
  }
  .contact-form {
    padding: 0;
  }
  .contact-form__row {
    margin-bottom: 25px;
  }
  .contact-form__row--checkbox {
    margin-bottom: 40px;
  }
  .contact-form__input, .contact-form__select, .contact-form__textarea {
    padding: 12px 16px;
    font-size: 16px;
  }
  .contact-form__textarea {
    min-height: 120px;
  }
  .contact-form__submit {
    padding-bottom: 80px;
  }
  .contact-form__submit-btn {
    padding: 18px 60px;
    font-size: 16px;
  }
  .contact-form__date-group {
    flex-direction: column;
    gap: 12px;
  }
  .contact-form__date-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: auto;
    width: 100%;
  }
  .contact-form__select--date {
    width: 100%;
  }
  .contact-form__file-upload {
    flex-direction: column;
  }
  .contact-form__file-text {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 6px 6px 0 0;
  }
  .contact-form__file-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 0 0 6px 6px;
  }
}
.page-confirm .contact-form__confirm-value {
  width: 100%;
  padding: 7px 16px;
  background-color: #ffffff;
  border-radius: 3px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #3C3C3C;
  line-height: 1.6;
  min-height: 34px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}
.page-confirm .contact-form__confirm-value--textarea {
  min-height: 140px;
  align-items: flex-start;
  padding-top: 12px;
  padding-bottom: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
}
.page-confirm .contact-form__confirm-privacy {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #3C3C3C;
  font-weight: 400;
}
.page-confirm .contact-form__confirm-privacy a {
  color: #3F3F3F;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 5px;
}
.page-confirm .contact-form__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
@media (max-width: 639px) {
  .page-confirm .contact-form__submit {
    flex-direction: column;
    gap: 15px;
  }
}
.page-confirm .contact-form__back-btn {
  background-color: #ffffff;
  color: #6C93A6;
  border: 1px solid #6C93A6;
  padding: 30px 120px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 50px;
}
.page-confirm .contact-form__back-btn:active {
  transform: translateY(0);
}
.page-confirm .contact-form__back-btn:focus {
  outline: none;
}
@media (max-width: 639px) {
  .page-confirm .contact-form__back-btn {
    padding: 16px 80px;
    font-size: 15px;
    width: 100%;
    max-width: 300px;
  }
}
.page-confirm .contact-form__submit-btn {
  background-color: #ffffff;
  color: #6C93A6;
  border: 1px solid #6C93A6;
}
@media (max-width: 639px) {
  .page-confirm .contact-form__submit-btn {
    width: 100%;
    max-width: 300px;
  }
}
.page-confirm .contact-complete {
  text-align: center;
  padding: 60px 20px;
}
.page-confirm .contact-complete__message {
  margin-bottom: 60px;
}
.page-confirm .contact-complete__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  line-height: 2;
  color: #3C3C3C;
  font-weight: 500;
}
@media (max-width: 639px) {
  .page-confirm .contact-complete__text {
    font-size: 16px;
    line-height: 1.8;
  }
}
.page-confirm .contact-form__submit-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}