@charset "UTF-8";


.container--1040 {
  padding-inline: 4%;
  margin-inline: auto;
  max-width: calc(1040px + 8%);
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .container--1040 {
    max-width: 100%;
    padding-inline: 5%;
  }
}


@media screen and (max-width: 767px) {
  .contact__heading {
    font-size: 24px;
  }
}
.contact__complete-text {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 2em;
  text-align: center;
  margin: 60px 0;
}

@media screen and (max-width: 767px) {
  .contact__complete-text {
    font-size: 14px;
    margin: 30px 0 65px;
  }
}
.form__steps {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0 60px;
  margin: 0 auto 89px;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 0;
}

.form__steps::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  border-top: 1px solid #c3c3c3;
  z-index: -1;
}

.form__steps + .form__button-container {
  margin-top: 495px;
}

.form__step-item {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__step-item:not(.active) {
  background: #fff;
  border: 1px solid #c3c3c3;
}

.form__step-item.active {
  background: #b49975;
  color: #fff;
}

.form__step-label {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: -moz-max-content;
  width: max-content;
  color: #ccc;
}

.form__step-item.active .form__step-label,
.form__step-label--black {
  color: #000;
}

.form__message {
  margin-bottom: 60px;
}

.form__message-text {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 2em;
}

.form__message-text--red {
  color: #ae290e;
}

.form__container {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  display: grid;
  gap: 45px 0;
}
.form__label {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-bottom: 12px;
}

@media screen and (max-width: 767px) {
  .form__label {
    align-items: flex-end;
  }
}
.form__label--mb24 {
  margin-bottom: 24px;
}

.form__flag {
  background: #ae290e;
  padding: 1.5px 6.5px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  display: inline-flex;
}

.form__flag--gray {
  background: #aaa;
}

.form__input-container {
  display: flex;
  gap: 15px 35px;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .form__input-container {
    gap: 25px;
  }
}
.form__input-container--birthday {
  align-items: center;
  gap: 10px 20px;
}

/*241114 test*/
.form__input-container--birthday .input-separate{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1em;
  margin: 0 5px; 
  vertical-align: middle;
}

@media (max-width: 767px) {
  /*SP以下 表示*/
  .form__input-container--birthday {
    gap: 10px 10px;
  }
} /*END SP以下 表示*/
.form__input-container--checkbox,
.form__input-container--radio {
  gap: 10px 39px;
}

.form__input-container--col-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 767px) {
  .form__input-container--col-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.form__row-item{
  flex: 1;
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form__checkbox-item,
.form__radio-item {
  display: inline-flex;
  align-items: center;
  gap: 0 15px;
}

.form__checkbox,
.form__radio {
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  width: 24px;
  height: 24px;
}

.form__checkbox::before,
.form__radio::before {
  content: "";
  position: absolute;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  background: #fff;
}

.form__checkbox::after,
.form__radio::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form__checkbox::before {
  border: 1px solid #f6f5f3;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.form__checkbox:checked::after {
  content: "✔";
  font-size: 1.8rem;
  line-height: 1em;
}

@media screen and (max-width: 767px) {
  .form__checkbox:checked::after {
    font-size: 12px;
  }
}
.form__radio::before {
  border: 1px solid #d5d5d5;
  border-radius: 50%;
}

.form__radio:checked::after {
  content: "";
  background: #666;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.form__date-wrapper {
  position: relative;
}

.form__date-wrapper::after {
  content: "";
  width: 28.52px;
  height: 29.33px;
  background: url("../img/icons/calendar.svg") no-repeat center/cover;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .form__date-wrapper::after {
    width: 14.26px;
    height: 14.26px;
    right: 10px;
  }
}
.form__input-text,
.form__select,
.form__input-container--birthday select{
  width: 100%;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  padding: 14px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  color: #383838;
}

.form__input-text.js-useroff,
.form__select.js-useroff,
.js-useroff{
  border: none!important;
  background: transparent!important;
  box-shadow: none!important;
}

.form__input-text--short,
.form__select--short,
.form__input-container--birthday select {
  width: 106px;
}

@media screen and (max-width: 767px) {
  .form__input-text--short,
  .form__select--short {
    width: 85px;
  }
}
.form__input-text--middle,
.form__select--middle {
  max-width: 220px;
}

.form__input-text--large,
.form__select--large {
  max-width: 440px;
}

.form__input-text--date::-webkit-calendar-picker-indicator,
.form__select--date::-webkit-calendar-picker-indicator {
  display: none;
}

.form__example-text {
  display: inline-block;
  margin-top: 5px;
  grid-column: span 2;
  width: 100%;
}

.form__select-wrapper {
  position: relative;
}

.form__select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  border-top: 6px solid #707070;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .form__select-wrapper::after {
    right: 10px;
  }
}
.form__zip-input-container,
.form__number-input-container {
  display: flex;
  align-items: center;
  gap: 0 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.form__number-input-container #zipcode2{
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .form__zip-input-container,
  .form__number-input-container {
    gap: 15px 10px;
  }
}

.form__input-container span,
.form__zip-input-container span,
.form__number-input-container span{
  display:inline-block;
  word-break: keep-all;
}

/*住所入力欄グループ*/
#address__group{
  position: absolute;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  display: grid;
  gap: 0;
  transition: all .4s;
}
#address__group.is-visible{
  position: static;
  visibility: visible;
  opacity: 1;
  pointer-events:all;
  gap: 45px 0;
  max-height: 100%;
}
/*丁目・番地・号インプットを隠す設定*/
input#street{
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

.form__input-textarea {
  width: 100%;
  height: 280px;
  border-radius: 6px;
  padding: 14px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  resize: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.form__agreement {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 420px;
  padding: 21px 21px 23px 44px;
  background: #f3f3f3;
  margin: 0 auto 57px;
}

@media screen and (max-width: 767px) {
  .form__agreement {
    width: 100%;
    max-width: 280px;
    padding: 15px;
    flex-direction: column;
    gap: 10px;
  }
}
.form__agreement-checkbox-item {
  margin-left: 12px;
  gap: 0 16px;
}
.form__agreement-label a:hover{
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .form__agreement-checkbox-item {
    margin-left: 0;
    justify-content: center;
  }
}
.form__agreement-checkbox {
  filter: none;
}

@media screen and (max-width: 767px) {
  .form__agreement-checkbox {
    width: 16px;
    height: 16px;
  }
}
.form__agreement-checkbox::before {
  border: 1px solid #ccc;
  border-radius: 4px;
  filter: none;
}

.form__button-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 139px;
}

@media screen and (max-width: 767px) {
  .form__button-container {
    padding-bottom: 80px;
    flex-direction: column;
    align-items: center;
  }
}
.form__confirm-button-wrapper {
  position: relative;
  min-width: 300px;
}

.form__confirm-button-wrapper::before {
  --right: 48px;
  content: "";
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

.form__confirm-button-wrapper::after {
  --right: 56px;
  content: "";
  width: 4px;
  height: 4px;
  border-top: 1px solid #b49975;
  border-right: 1px solid #b49975;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 56px;
  rotate: 45deg;
  transition: 0.3s ease;
}

.form__confirm-button-wrapper:hover {
  --extra: -5px;
}

.form__confirm-button-wrapper:hover::before,
.form__confirm-button-wrapper:hover::after {
  right: calc(var(--right) + var(--extra));
}

.form__confirm-button {
  width: 100%;
  height: 100%;
  padding: 19px 10px;
  outline: none;
  border: none;
  border-radius: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #b49975;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.56em;
  color: #fff;
  text-wrap: wrap;
  cursor: pointer;
}

.form__back-button {
  padding: 20px 10px;
  min-width: 163px;
  outline: none;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #ccc;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-wrap: wrap;
  cursor: pointer;
  transition: 0.3s ease;
}

.form__back-button:hover {
  background: #2d2d2d;
  color: #fff;
}

.button--outline > .form__submit-button {
  padding: 17.6px;
}

@media screen and (max-width: 767px) {
  .button--outline > .form__submit-button {
    padding: 19.2px;
  }
}
.button--outline > .form__submit-button:hover {
  color: #fff;
}

.form__submit-button-outline {
  padding: 0;
}

.form__submit-button {
  width: 100%;
  height: 100%;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  line-height: 1.56em;
  color: #383838;
  transition: 0.3s ease;
  cursor: pointer;
}

.form__complete-button {
  margin-bottom: 141px;
}

@media screen and (max-width: 767px) {
  .form__complete-button {
    margin-bottom: 80px;
  }
}
.form__subheading {
  margin-top: 70px;
  font-size: 2.2rem;
}

@media screen and (max-width: 767px) {
  .form__subheading {
    margin-top: 35px;
    font-size: 16px;
  }
}

.ui-datepicker {
  font-size: 1.6rem;
  max-width: 100%;
  width: 30em;
  padding: .2em .2em 0;
  display: none;
  overflow-x: auto;
}
.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  font-size: 1.5rem; /*任意な値を追加して調整*/
  padding: .2em;
  text-align: right;
  text-decoration: none; 
}
@media (max-width: 600px){/*SP以下 表示*/
  .ui-datepicker {
    font-size: 3vw;
  }
  .ui-datepicker td span,
  .ui-datepicker td a {
    font-size: 3vw; /*任意な値を追加して調整*/
  }
}/*END SP以下 表示*/