@charset "UTF-8";
.contact-form {
  max-width: 1080px;
  margin: 0 auto;
}
.contact-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.contact-form .form-group {
  margin-bottom: 48px;
}
.contact-form .form-group label {
  font-size: 16px;
  font-family: "ryo-gothic-plusN", sans-serif;
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.contact-form .form-group input, .contact-form .form-group textarea {
  width: 800px;
  height: 58px;
  border: 2px solid rgba(18, 122, 192, 0.4);
  border-radius: 5px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.4);
  transition: border 0.2s ease-in-out;
}
.contact-form .form-group input::-moz-placeholder, .contact-form .form-group textarea::-moz-placeholder {
  color: #BBBBBB;
  font-family: "ryo-gothic-plusN", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.contact-form .form-group input::placeholder, .contact-form .form-group textarea::placeholder {
  color: #BBBBBB;
  font-family: "ryo-gothic-plusN", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.contact-form .form-group input:focus, .contact-form .form-group input:hover, .contact-form .form-group textarea:focus, .contact-form .form-group textarea:hover {
  border: 2px solid #127ac0;
  outline: none;
  background-color: #fff;
  cursor: pointer;
}
.contact-form .form-group.required label::after {
  content: "必須";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  background-color: #B43B2A;
  font-family: "Hiragino Sans", sans-serif;
  font-size: 10px;
  width: 36px;
  height: 16px;
  margin-left: 8px;
  position: relative;
  top: -2px;
}
.contact-form .form-group .input-kana {
  padding: 21px 24px;
}
.contact-form .form-group .radio-group {
  display: flex;
  gap: 24px;
}
.contact-form .form-group .radio-group__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-family: "ryo-gothic-plusN", sans-serif;
  font-weight: 500;
  padding: 12px 20px;
  border: 2px solid rgba(18, 122, 192, 0.4);
  border-radius: 6px;
  width: 100%;
  height: 58px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.4);
}
.contact-form .form-group .radio-group__item:hover {
  border-color: #127ac0;
  background-color: rgba(18, 122, 192, 0.1);
}
.contact-form .form-group .radio-group__item input[type=radio]:checked + span, .contact-form .form-group .radio-group__item:has(input[type=radio]:checked) {
  border-color: #127ac0;
  background-color: rgba(18, 122, 192, 0.1);
}
.contact-form .form-group .radio-group input[type=radio] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #127ac0;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background-color: #fff;
}
.contact-form .form-group .radio-group input[type=radio]::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.2s ease-in-out;
}
.contact-form .form-group .radio-group input[type=radio]:checked {
  border-color: #127ac0;
}
.contact-form .form-group .radio-group input[type=radio]:checked::before {
  background-color: #127ac0;
  transform: translate(-50%, -50%) scale(1);
}
.contact-form .form-group .radio-group.radio-group label::after {
  content: none;
}
.contact-form .form-group .dob-group {
  max-width: 800px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8px;
}
.contact-form .form-group .dob-group select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 800px;
  height: 58px;
  border: 2px solid rgba(18, 122, 192, 0.4);
  border-radius: 5px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 0 20px;
  align-items: center;
  font-family: "ryo-gothic-plusN", sans-serif;
}
.contact-form .form-group .dob-group .select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.contact-form .form-group .dob-group .select-wrapper::after {
  content: "";
  position: absolute;
  right: 80px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: url("../img/drop_down.svg") no-repeat;
  background-size: contain;
  pointer-events: none;
  transform: translateY(-50%);
}
.contact-form .form-group .dob-group .month-day-container {
  display: flex;
  gap: 8px;
}
.contact-form .form-group .dob-group .select-wrapper #month,
.contact-form .form-group .dob-group .select-wrapper #day {
  width: 118px;
}
.contact-form .form-group .dob-group span {
  margin-left: 8px;
  font-size: 16px;
  color: #222f3e;
  font-family: "hiragino-sans", sans-serif;
}
.contact-form .form-group .dob-group #year {
  width: 295px;
}
.contact-form .form-group .dob-group #month {
  width: 118px;
}
.contact-form .form-group .dob-group #day {
  width: 118px;
}
.contact-form .form-group .dob-group span {
  margin-left: 16px;
  margin-right: 32px;
  font-size: 16px;
  color: #222f3e;
  font-family: "hiragino-sans", sans-serif;
}
.contact-form .form-group .address-group {
  max-width: 800px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8px;
}
.contact-form .form-group .address-group select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 800px;
  height: 58px;
  border: 2px solid rgba(18, 122, 192, 0.4);
  border-radius: 5px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 0 20px;
  align-items: center;
  font-family: "ryo-gothic-plusN", sans-serif;
}
.contact-form .form-group .address-group .select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.contact-form .form-group .address-group .select-wrapper::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: url("../img/drop_down.svg") no-repeat;
  background-size: contain;
  pointer-events: none;
  transform: translateY(-50%);
}
.contact-form .form-group .address-group .postal-code {
  width: 124px;
  font-size: 16px;
  padding: 21px 24px;
  margin-right: 16px;
}
.contact-form .form-group .address-group #zip-code {
  padding: 0 16px 0 0;
}
.contact-form .form-group .address-group #prefecture {
  width: 328px;
}
.contact-form .form-group textarea {
  height: 154px;
  resize: none;
}
.contact-form .form-group input.alert, .contact-form .form-group textarea.alert {
  background-color: #F8E9E7;
  border: 1px solid #B43B2A;
}
.contact-form .form-group .alert {
  color: #B43B2A;
  font-family: "ryo-gothic-plusN", sans-serif;
}
.contact-form button {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 333px;
  height: 58px;
  font-size: 20px;
  font-weight: 500;
  font-family: "ryu-gothic-plusN", sans-serif;
}

.thanks {
  width: 100%;
  background-color: #fff;
  text-align: center;
  padding: 72px 0 80px 0;
}
.thanks h2 {
  color: #127ac0;
  font-size: 40px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: bold;
}
.thanks__txt {
  margin: 24px 0 48px 0;
}
.thanks__txt p {
  font-size: 20px;
  line-height: 20px;
  color: #222f3e;
}
.thanks__txt p:first-child {
  margin-bottom: 16px;
}
.thanks a {
  margin: 0 auto;
}

@media (max-width: 1279px) and (min-width: 857px) {
  .contact-form {
    max-width: 90%;
    padding: 0 20px;
  }
  .contact-form .form-group input, .contact-form .form-group textarea {
    width: 100%;
    font-size: 14px;
  }
  .contact-form .form-group input::-moz-placeholder, .contact-form .form-group textarea::-moz-placeholder {
    font-size: 14px;
  }
  .contact-form .form-group input::placeholder, .contact-form .form-group textarea::placeholder {
    font-size: 14px;
  }
  .contact-form .form-group .radio-group__item {
    font-size: 14px;
  }
  .contact-form .form-group label {
    font-size: 14px;
  }
  .contact-form .dob-group, .contact-form .address-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .contact-form .dob-group select, .contact-form .address-group select {
    width: 48%;
  }
  .contact-form .dob-group #year, .contact-form .address-group #year {
    width: 48%;
  }
  .contact-form .dob-group #month, .contact-form .dob-group #day, .contact-form .address-group #month, .contact-form .address-group #day {
    width: 23%;
  }
  .contact-form .dob-group .postal-code, .contact-form .address-group .postal-code {
    width: 48%;
  }
  .contact-form .dob-group #prefecture, .contact-form .address-group #prefecture {
    width: 100%;
  }
  button {
    font-weight: 500;
  }
}
@media (max-width: 856px) and (min-width: 768px) {
  .contact-form {
    max-width: 90%;
    padding: 0 20px;
  }
  .contact-form .form-group {
    margin-bottom: 40px;
  }
  .contact-form .form-group input, .contact-form .form-group textarea {
    width: 100%;
    height: 50px !important;
    font-size: 12px;
  }
  .contact-form .form-group input::-moz-placeholder, .contact-form .form-group textarea::-moz-placeholder {
    font-size: 12px;
  }
  .contact-form .form-group input::placeholder, .contact-form .form-group textarea::placeholder {
    font-size: 12px;
  }
  .contact-form .form-group select {
    font-size: 12px;
  }
  .contact-form .form-group .radio-group__item {
    font-size: 12px;
    height: 50px;
  }
  .contact-form .form-group .radio-group input[type=radio] {
    width: 22px;
    height: 22px !important;
  }
  .contact-form .form-group label {
    font-size: 12px;
  }
  .contact-form .form-group textarea {
    height: 114px !important;
  }
  .contact-form .dob-group, .contact-form .address-group {
    font-size: 12px;
  }
  .contact-form .dob-group #prefecture, .contact-form .address-group #prefecture {
    font-size: 12px;
    height: 50px;
  }
  .contact-form .dob-group #year, .contact-form .address-group #year {
    font-size: 12px;
    height: 50px;
  }
  .contact-form .dob-group #month, .contact-form .dob-group #day, .contact-form .address-group #month, .contact-form .address-group #day {
    height: 50px;
    width: 110px;
    font-size: 12px;
  }
}
@media (max-width: 767px) {
  .contact-form {
    max-width: 100%;
    padding: 0 20px;
  }
  .contact-form .form-group {
    margin-bottom: 32px;
  }
  .contact-form .form-group input, .contact-form .form-group textarea {
    width: 100%;
    height: 58px;
    font-size: 16px;
  }
  .contact-form .radio-group {
    flex-direction: column;
    gap: 8px !important;
  }
  .contact-form .radio-group__item {
    height: 50px;
    font-size: 16px;
  }
  .contact-form .dob-group {
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
  }
  .contact-form .dob-group .select-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .contact-form .dob-group .select-wrapper #year {
    width: 100%;
  }
  .contact-form .dob-group .month-day-container {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .contact-form .dob-group .month-day-container::after {
    right: 80px !important;
    top: 60% !important;
    background: url("../img/drop_down_sp.svg") no-repeat !important;
  }
  .contact-form .dob-group #month, .contact-form .dob-group #day {
    width: 100% !important;
  }
  .contact-form .dob-group .select-wrapper::after {
    right: 80px !important;
    top: 60% !important;
    background: url("../img/drop_down_sp.svg") no-repeat !important;
  }
  .contact-form .address-group {
    flex-direction: row;
    align-items: flex-start;
  }
  .contact-form .address-group .select-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .contact-form .address-group .select-wrapper #prefecture {
    width: 100%;
  }
  .contact-form .address-group .select-wrapper::after {
    right: 30px !important;
    top: 60% !important;
    background: url("../img/drop_down_sp.svg") no-repeat !important;
  }
  .contact-form textarea {
    width: auto;
    height: 154px !important;
  }
  .contact-form button {
    font-weight: 500;
  }
  .thanks {
    width: 100%;
    background-color: #fff;
    text-align: center;
    padding: 48px 16px;
    margin-top: 80px;
  }
  .thanks h2 {
    font-size: 32px;
  }
  .thanks__txt {
    margin: 24px 0 48px 0;
  }
  .thanks__txt p {
    font-size: 14px;
  }
  .thanks__txt p:first-child {
    margin-bottom: 16px;
  }
  .thanks a {
    width: 100%;
    padding: 19px 0;
  }
}/*# sourceMappingURL=contact.css.map */