.contact {
  max-width: 748px;
  margin: 0 auto;
  padding: 140px 27px 80px;
  box-sizing: content-box;
}

.contact__selector {
  display: flex;
  flex-direction: row;
  margin: 32px auto 0;
  gap: 20px;
}

.contact-option {
  position: relative;
  width: 100%;
  max-width: 344px;
  padding: 10px 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  border: 1px solid #707070;
  background-color: white;
  border-radius: 8px;
  text-align: center;
}

.contact-option.active {
  background: #37c281;
  color: white;
  opacity: 1;
  border: 1px solid #37c281;
}

.contact-content {
  display: none;
  width: 100%;
  position: relative;
  max-width: 660px;
  margin: 32px auto 0;
}

.contact-content.active {
  display: block;
}

.contact input,
.contact textarea,
.contact select {
  font-size: 16px;
}
.contact_privacy .title {
  margin-bottom: 11.5vw;
}

.contact_form {
  padding-top: 0;
}

.contact .section_title h3:last-of-type {
  display: none;
}

.contact .section_title h3 {
  line-height: 1.8;
}

.contact_content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 54px;
}

.contact_wrapper {
  margin-top: 43px;
}

.contact_section_wrapper {
  padding: 100px 0;
}

.contact_section {
  padding-bottom: 100px;
}

.contact_content img {
  position: relative;
  width: 36px;
  margin-right: 5px;
  top: -5px;
}

img.order_content__icon {
  position: absolute;
  left: 50px;
  top: 18px;
  width: 20px;
}

.contact_form {
  color: #000;
}

input[type="tel"] > a {
  color: #3b4043;
}

.contact__form {
  padding-top: 62px;
  padding-bottom: 104px;
}
.contact__item {
  padding-bottom: 32px;
  width: 100%;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.contact__item--address {
  padding-bottom: 20px;
}

.contact_form > .contact__item {
  padding-bottom: 0px;
}

.contact_form > .contact__item:last-of-type {
  padding-bottom: 0;
}

.contact__item.region {
  margin-left: 0;
}

.contact__label {
  padding-bottom: 10px;
  font-weight: 700;
  color: #000000;
}
.contact__required {
  background-color: #ca3c38;
  border-radius: 4px;
  margin-right: 10px;
  width: 44px;
  padding: 2px 8px 0 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 25px;
  line-height: normal;
}

.contact__sub-required {
  background-color: #aaaaaa;
  border-radius: 4px;
  margin-right: 10px;
  width: 44px;
  padding: 2px 8px 0px 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 25px;
  line-height: normal;
}

.contact__name {
  display: flex;
  gap: 20px;
  max-width: 660px;
  width: 100%;
}

.contact__item:first-of-type .contact__name input {
  margin-right: 0;
}

.contact__birth {
  display: flex;
}
.contact__birth > select {
  margin-right: 20px;
  padding: 0 8px;
}
.contact__birth > select:nth-child(1) {
  width: 150px;
}
.contact__birth > select:nth-child(2) {
  width: 65px;
}
.contact__birth > select:last-child {
  width: 65px;
}
.contact__input {
  border: 1px solid #707070;
  padding: 8px 16px;
  height: 40px;
  width: 100%;
  background-color: #f8f8f8;
  border-radius: 4px;
}

.contact__medium-input {
  width: 320px;
  max-width: 100%;
  display: block;
  position: relative;
  margin-bottom: 20px;
}
.contact__small-input {
  max-width: 235px;
  display: block;
  position: relative;
}

.contact__small-input02 {
  max-width: none;
}
.contact__small-input03 {
  margin-bottom: 0;
}
.contact__small2-input {
  max-width: 132px;
}
.contact__textarea {
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 8px 16px;
  height: 200px;
  width: 100%;
  background-color: #f8f8f8;
}
.contact__select {
  background-image: url(../images/common/select-arrow.png);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 20px 9px;
  border: 1px solid #707070;
  border-radius: 4px;
  width: 235px;
  position: relative;
}

.contact__accept {
  display: inline-block;
  padding-left: 10px;
  font-weight: 700;
  margin-top: 20px;
}
.contact__button-box {
  padding-top: 20px;
  text-align: center;
}

.contact__item--radio {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact__item.radio .contact__label {
  margin-bottom: 10px;
}

.contact__item.radio {
  padding-bottom: 0;
}

.contact__item--radio label {
  font-size: 16px;
  line-height: 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}

.contact__item--radio label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid #707070;
  border-radius: 50%;
  position: relative;
  background-color: #f7f7f7;
  top: -2px;
  color: #000000;
  margin-left: 0;
}

.contact__item--radio label input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-color: black;
  border-radius: 50%;
}

.contact__item--radio label input[type="radio"]:hover {
  cursor: pointer;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0px !important;
}

.submit_button {
  display: block;
  width: 100%;
  max-width: 320px;
  color: white;
  height: 69px;
  text-align: center;
  line-height: 69px;
  background-color: #000000;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 700;
}

.submit_button.send {
  background-color: #ca3c38;
  margin-top: 30px;
}

.contact__btn-pt {
  padding-top: 10px;
  text-align: center;
}

::placeholder {
  font-weight: 700;
  color: #c7c7c7;
}

.is-empty {
  color: #c7c7c7;
}

select {
  color: rgb(201, 201, 201);

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

:disabled {
  color: #3b4043;
  background-color: #ffffff;
  border: 1px solid #707070;
}

.common__btn__wrap {
  width: 320px;
  height: 60px;
  background-color: #191919;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  line-height: calc(18 / 14);
  text-align: center;
  margin-top: 40px;
}

.common__btn__wrap a {
  color: #fff;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  font-weight: bold;
}

.contact__radio-container {
  display: flex;
  flex-direction: column;
}

.contact__radio-label input[type="radio"] {
  /* appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none; */
  border: 0.5px solid black;
  border-radius: 50%;
  outline: none;
  margin-right: 10px;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.contact__radio-label {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.contact__radio-text {
  margin-left: 10px;
}

.contact__item__sign {
  margin-top: 10px;
}

.contact__section_wrapper {
  padding-bottom: 100px;
}

.contact__information {
  text-align: center;
}

.contact__information p {
  line-height: 1.5;
}

.contact__checkbox {
  font-weight: 700;
}

input[type="checkbox"] {
  position: relative;
  top: 4px;
  margin-right: 5px;
  height: 20px;
  width: 20px;
  border: 1px solid #707070;
  margin-top: 20px;
}

.contact__checkbox-label {
  font-size: 12px;
  font-weight: 700;
}

.contact__item.region {
  width: 132px;
}

.contact__item.region select span {
  font-size: 10px;
}

.contact__confirm {
  position: relative;
  padding: 150px 10px 250px 10px;
}

.form-container {
  background-color: white;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 40px;
  border-bottom: 1px solid #333333;
  padding-bottom: 10px;
}

.form-group:last-child {
  border-bottom: none;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-value {
  padding: 5px 0;
  color: #333;
  line-height: 21px;
}

.contact__complete {
  margin-top: 150px;
  padding-bottom: 250px;
}

.contact__complete img {
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
}

.contact__complete p,
.contact__complete h2 {
  display: block;
  max-width: 600px;
  margin: 40px auto 0 auto;
}

.contact__item--address {
  position: relative;
}

.index-search {
  position: absolute;
  font-size: 16px;
  line-height: 28px;
  color: #0069a0;
  top: -1px;
  right: 30px;
}

@media (min-width: 448px) {
  .index-search {
    position: relative;
    display: inline-block;
    left: 8px;
    right: auto;
  }

  .p-postal-code {
    display: inline-block;
  }
}

.index-search::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../images/common/question.png);
  background-size: cover;
  margin-right: 8px;
  position: relative;
  top: 1px;
}

.contact__select {
  font-weight: 700;
  color: #c7c7c7;
}

.contact__select option {
  font-weight: 700;
  color: #000; /* Ensure selected options are black */
  color: #c7c7c7;
}

.contact__item--address {
  padding-bottom: 20px;
}

.contact-complete__txt {
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  margin-top: 80px;
}

.mw_wp_form_preview .index-search,
.mw_wp_form_preview .contact__label > span {
  display: none;
}

.contact__item--naiyou {
  word-break: break-word;
  overflow-wrap: break-word;
}
.mw_wp_form .error {
  margin-top: 3px;
}

@media (min-width: 768px) {
  .contact {
    padding-top: 200px;
    padding-bottom: 200px;
  }

  .contact__selector {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 100px auto 0;
  }
  .contact-option {
    height: 80px;
    font-size: 24px;
    line-height: 32px;
  }

  .contact-content {
    margin: 65px auto 0;
  }
}
