#header {
  position: relative;
}

main {
  padding-top: 0;
}
@media screen and (max-width: 560px) {
  main {
    padding-top: 0;
  }
}

/* ---------------------------
sc contact
------------------------------ */
.sc-contact {
  position: relative;
  padding: 69px 0 103px;
}

.sc-contact__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.sc-contact__bg img {
  -o-object-position: center 24%;
     object-position: center 24%;
}

.sc-contact__group__title {
  color: #000;
  line-height: 1.4;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 400px;
}
.sc-contact__group__title span {
  font-size: 38px;
}

.sc-contact__group__list {
  display: flex;
  gap: 0 28px;
}
.sc-contact__group__list li {
  width: 146px;
  height: 146px;
  color: #fff;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  font-weight: 900;
  font-size: 20px;
  line-height: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sc-contact__group__list li small {
  display: block;
  font-size: 15px;
}
.sc-contact__group__list li span {
  font-size: 20px;
  display: block;
}

.sc-contact__box {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.04);
}

.sc-contact__box__title {
  text-align: center;
  color: #fff;
  background: var(--primary-color);
  padding: 4px 0 0;
  line-height: 1.5;
  font-weight: 700;
  font-size: 22px;
}
.sc-contact__box__title span {
  font-size: 51px;
  display: inline-block;
  vertical-align: sub;
  margin: 0 9px;
}
.sc-contact__box__title small {
  font-size: inherit;
}

.sc-contact__box__content {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border: 1px solid #CDD6DD;
  border-top: 0;
  padding: 30px 0 60px;
}

.sc-contact__box__content__step {
  font-family: "Barlow";
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 0 49px;
}
.sc-contact__box__content__step li {
  width: 39px;
  height: 39px;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  background: var(--primary-lighter);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  letter-spacing: 0.1em;
}
.sc-contact__box__content__step li + li::before {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 5px;
  background: var(--primary-lighter);
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  left: -42px;
}
.sc-contact__box__content__step li.step--acitve {
  background: var(--primary-color);
}
.sc-contact__box__content__step li.step--acitve::before {
  background: var(--primary-color);
}

.sc-contact__box__content__note {
  font-weight: 700;
  margin: 22px 0 31px;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
}

.sc-contact__form {
  width: 400px;
  margin: 0 auto;
  max-width: 100%;
}
.sc-contact__form__error {
  width: 100%;
	color: red;
  font-size: 14px;
  padding: 4px 0;
}
.text--align--center {
  text-align: center;
}
.sc-contact__form__row {
  display: flex;
  align-items: flex-start;
}
.sc-contact__form__row + .sc-contact__form__row {
  margin-top: 10px;
}

.sc-contact__form__caption {
  width: 156px;
  padding: 5.5px 0;
  font-weight: 500;
  font-size: 18px;
  color: #333;
}

.sc-contact__form__value {
  width: calc(100% - 156px);
}
.sc-contact__form__value select {
  width: 100%;
  border: 2px solid #A7A7A7;
  border-radius: 5px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
  padding: 5px 30px 5px 15px;
  background: url("../img/contact/arrow_up.svg") no-repeat center right 13px;
}

/* カスタム複数選択セレクトボックス */
.sc-contact__form__custom-select {
  position: relative;
  width: 100%;
}

.sc-contact__form__custom-select__trigger {
  width: 100%;
  border: 2px solid #A7A7A7;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
  padding: 5px 30px 5px 15px;
  background: url("../img/contact/arrow_up.svg") no-repeat center right 13px;
  cursor: pointer;
  transition: border-color 0.3s;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.sc-contact__form__custom-select__trigger:hover {
  border-color: #888;
}

.sc-contact__form__custom-select--open .sc-contact__form__custom-select__trigger {
  border-color: var(--primary-color);
  background-image: url("../img/contact/arrow_down.svg");
}

.sc-contact__form__custom-select__placeholder {
  color: #999;
}

.sc-contact__form__custom-select__selected {
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-contact__form__custom-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid var(--primary-color);
  border-top: none;
  border-radius: 0 0 5px 5px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sc-contact__form__custom-select__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.sc-contact__form__custom-select__option:last-child {
  border-bottom: none;
}

.sc-contact__form__custom-select__option:hover {
  background-color: #f5f5f5;
}

.sc-contact__form__custom-select__option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.sc-contact__form__custom-select__option-text {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  flex: 1;
}

.sc-contact__form__value input {
  width: 100%;
  border: 2px solid #A7A7A7;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
  padding: 5px 30px 5px 15px;
}

.sc-contact__form__value--flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-contact__form__list-radio {
  display: flex;
  gap: 0 12px;
}

.sc-contact__form__list-radio__item {
  width: calc(50% - 6px);
  position: relative;
  display: block;
}
.sc-contact__form__list-radio__item input {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
}
.sc-contact__form__list-radio__item span {
  display: block;
  width: 100%;
  border: 2px solid #A7A7A7;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 24px;
  padding: 5px 0 5px;
  text-align: center;
  color: #333;
  font-weight: 500;
  transition: all 0.5s;
}
.sc-contact__form__list-radio__item:has(input:checked) span {
  color: #fff;
  background: #A7A7A7;
}

.sc-contact__form__birth {
  display: flex;
  gap: 0 3px;
}

.sc-contact__form__birth__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.sc-contact__form__birth__item select {
  padding-right: 20px;
  padding-left: 5px;
  width: 53px;
  background-position: right 8px center;
}
.sc-contact__form__birth__item span {
  font-size: 14px;
  color: #333;
  line-height: 24px;
  font-weight: 500;
}

.sc-contact__form__birth__item--year select {
  width: 78px;
}

.sc-contact__form__button {
  margin: 30px 0 0;
  width: 100%;
  border: 0;
  outline: none;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  padding: 14px 0 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
  background: url("../img/shared/arrow_right4.svg") no-repeat center right 11px, var(--primary-accent-2);
}
.sc-contact__form__back__button {
  margin: 30px auto;
  color: #333;
  background-color: #CDD6DD;
  text-align: center;
  cursor: pointer;
}
.sc-register__form__back__button {
  margin: 30px auto 0;
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  outline: none;
  text-align: center;
  color: #333;
  background-color: #CDD6DD;
  line-height: 25px;
  padding: 15px 0;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.5s;
}
.sc-register__form__back__button2 {
  margin: 30px auto 0;
  display: block;
  width: 340px;
  max-width: 100%;
  border: 0;
  outline: none;
  text-align: center;
  color: #333;
  background-color: #CDD6DD;
  line-height: 25px;
  padding: 15px 0;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.5s;
}
.sc-register__form__back__button:hover, .sc-register__form__back__button2:hover {
  opacity: 0.8;
}


.sc-contact__form__button:hover {
  opacity: 0.8;
}
.sc-contact__form__checkbox {
  display: flex;
  align-items: center;
  text-align: left;

  font-size: 18px;
  line-height: 30px;
  -webkit-user-select: none;
  user-select: none;
}
.sc-contact__form__checkbox input[type="checkbox"] {
  width: 30px;
  margin: -4px 0 0 0;
  padding: 0;
  cursor: pointer;
}

@media screen and (min-width: 561px) {
  .sc-contact__wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .sc-contact__box {
    width: 543px;
  }
}
@media screen and (max-width: 560px) {
  .sc-contact {
    padding: 46px 0 76px;
  }
  .sc-contact__group__title {
    margin: 0 0 44px;
  }
  .sc-contact__group__list {
    margin: 0 -12px 16px 20px;
  }
  .sc-contact__box__title {
    font-size: 29px;
    padding: 0;
    line-height: 70px;
  }
  .sc-contact__box__title span {
    font-size: 69px;
  }
  .sc-contact__box__content {
    padding: 30px 40px 66px;
  }
  .sc-contact__box__content__step li {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .sc-contact__box__content__step {
    gap: 0 62px;
  }
  .sc-contact__box__content__step li + li::before {
    width: 45px;
    left: -54px;
  }
  .sc-contact__box__content__note {
    font-size: 24px;
    margin: 11px 0 28px;
  }
  .sc-contact__form {
    width: 100%;
  }
  .sc-contact__form__row + .sc-contact__form__row {
    margin-top: 20px;
  }
  .sc-contact__form__caption {
    width: 159px;
    font-size: 23px;
    padding: 17.5px 0;
  }
  .sc-contact__form__value {
    width: calc(100% - 159px);
  }
  .sc-contact__form__value select {
    font-size: 23px;
    padding: 13.5px 30px 13px 15px;
  }
  
  /* スマートフォン用：カスタム複数選択セレクトボックス */
  .sc-contact__form__custom-select__trigger {
    font-size: 23px;
    padding: 13.5px 30px 13px 15px;
    min-height: 54px;
  }
  
  .sc-contact__form__custom-select__options {
    max-height: 280px;
  }
  
  .sc-contact__form__custom-select__option {
    padding: 15px;
    gap: 12px;
  }
  
  .sc-contact__form__custom-select__option input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }
  
  .sc-contact__form__custom-select__option-text {
    font-size: 23px;
    line-height: 1.4;
  }
  .sc-contact__form__button {
    margin: 28px 0 0;
    line-height: 30px;
    padding: 12px 0;
  }
  .sc-contact__form__row--type2 {
    display: block;
  }
  .sc-contact__form__row--type2 .sc-contact__form__value {
    width: 100%;
  }
  .sc-contact__form__row--type2 .sc-contact__form__caption {
    padding: 0 0 10px;
  }
  .sc-contact__form__group {
    display: flex;
    justify-content: space-between;
  }
  .sc-contact__form__group__item {
    width: 195px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0 5px;
    font-size: 23px;
    line-height: 24px;
    font-weight: 500;
    color: #333;
  }
  .sc-contact__form__group__item input {
    width: 140px;
    font-size: 23px;
    line-height: 30px;
    padding: 15.5px 5px 15.5px;
  }
  .sc-contact__form__list-radio {
    gap: 0 20px;
  }
  .sc-contact__form__list-radio__item {
    width: calc(50% - 10px);
  }
  .sc-contact__form__list-radio__item span {
    font-size: 19px;
    line-height: 40px;
    padding: 10.5px 0;
  }
  .sc-contact__form__birth__item select {
    width: 110px;
    padding: 14.5px 15px;
    text-align: center;
    font-size: 23px;
    line-height: 32px;
    position: relative;
    z-index: 2;
  }
  .sc-contact__form__birth__item span {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-size: 23px;
    line-height: 1.5;
    font-weight: 500;
    color: #ccc;
  }
  .sc-contact__form__birth__item:has(option:checked:not([hidden])) span {
    opacity: 0;
  }
  .sc-contact__form__birth {
    gap: 0;
    justify-content: space-between;
  }
  .sc-contact__form__value input {
    font-size: 23px;
    line-height: 30px;
    padding: 15.5px 0 15.5px 5px;
  }
}