.form-row {
  border-top: 1px solid #dadada;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  padding: 19px 0 20.4px;
  gap: 46px;
  align-items: center;
}
.form-row:has(.i-list) {
  align-items: start;
  padding-top: 30px;
  padding-bottom: 16px;
}
.form-row:has(textarea) {
  align-items: start;
}
.form-row dt {
  min-width: 270px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  color: #808080;
  font-size: 14px;
  font-weight: 400;
  width: 270px;
  gap: 50px;
}
.form-row dt span {
  margin-left: auto;
  width: 30px;
  min-width: 30px;
  height: 20px;
  line-height: 20px;
  display: inline-block;
  font-size: 11px;
  background: #0071bb;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  margin-top: 5px;
}
.form-row dd {
  width: 590px;
}
.form-row dd.form-value--medium {
  width: 274px;
}
.form-row dd.form-value--small {
  width: 120px;
}

[type=text],
[type=tel],
[type=email],
select {
  width: 100%;
  display: block;
  height: 50px;
  border: 2px solid #dadada;
  box-sizing: border-box;
  border-radius: 6px;
  background: rgba(236, 240, 241, 0.5);
  padding-left: 20px;
}

select {
  width: 275px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 50px;
  cursor: pointer;
}

/* Firefoxでの矢印を非表示 */
select::-ms-expand {
  display: none;
}

/* スマートフォン対応 */
@media screen and (max-width: 560px) {
  select {
    background-position: right 3.571vw center;
    background-size: 2.857vw;
    padding-right: 8.929vw;
  }
}

textarea {
  width: 100%;
  height: 150px;
  border: 2px solid #dadada;
  border-radius: 6px;
  box-sizing: border-box;
  background: rgba(236, 240, 241, 0.5);
  margin-bottom: -10px;
  padding: 14px;
}

.radiomark {
  cursor: pointer;
  display: inline-block;
  position: relative;
  display: block;
  margin-bottom: 12px;
}
.radiomark span {
  padding-left: 33px;
}
.radiomark span:before, .radiomark span:after {
  content: "";
  margin: auto;
  border-radius: 6px;
  position: absolute;
  top: 0;
  bottom: 0;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.radiomark span:before {
  width: 24px;
  height: 24px;
  border: 2px solid #dadada;
  background: rgba(236, 240, 241, 0.5);
  left: 0;
}
.radiomark span:after {
  background: url(../img/form/tick.svg) no-repeat center center, #0071bb;
  background-size: 12px;
  width: 24px;
  left: 0;
  height: 24px;
  opacity: 0;
  transform: scale(0);
}
.radiomark input {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.radiomark input:checked + span:after {
  opacity: 1;
  transform: scale(1);
}

.captcha-box {
  border: 2px solid #0071bb;
  border-radius: 20px;
  margin-top: 37px;
  text-align: center;
  padding: 62px 0;
}
.captcha-box .i-custom input {
  display: block;
  margin: 0 auto 10px;
  width: 24px;
  height: 24px;
  border: 2px solid #dadada;
  border-radius: 6px;
}

.captcha-box .i-custom input:checked {
  background-color: #0071bb;
  border-color: #0071bb;
  background: url(../img/form/tick.svg) no-repeat center center, #0071bb;
  transition: all 0.3s ease;

}

.captcha-box .captcha {
  width: 303px;
  margin: 23px auto 0;
}

.captcha-box .g-recaptcha {
  display: inline-block;
  margin: 0 auto;
}

.captcha-box .field-error-message {
  display: block;
  color: #e74c3c;
  font-size: 14px;
  margin-top: 10px;
}

.captcha-box .recaptcha-error {
  text-align: center;
  margin-top: 10px;
  padding: 8px;
  background-color: #ffebeb;
  border-radius: 4px;
  max-width: 302px;
  margin-left: auto;
  margin-right: auto;
}

.contact__button {
  display: block;
  margin: 0 auto;
  margin-top: 68px;
}

.entry__button {
  display: block;
  margin: 0 auto;
  margin-top: 68px;
}

#f-contact {
  display: none;
}

/*--------------------------------------
    Error Message Styles
--------------------------------------*/
.error-message {
  background-color: #ffebeb;
  border: 2px solid #e74c3c;
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 30px;
}

.error-message p {
  color: #e74c3c;
  font-size: 16px;
  font-weight: 500;
  margin: 5px 0;
  position: relative;
  padding-left: 25px;
  white-space: nowrap;
}

.error-message p::before {
  content: "!";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #e74c3c;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

input.error,
select.error,
textarea.error {
  border-color: #e74c3c;
  background-color: #ffebeb;
}

.field-error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: block;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}

.field-error-message::before {
  display: none;
}

/* 個人情報の取り扱いチェックボックス部分のエラーメッセージスタイル */
#privacy_checkbox .field-error-message {
  margin-left: 1em;
}

/*--------------------------------------
    contact
--------------------------------------*/
.main-content {
  padding-bottom: 150px;
}

#contact .contact__photo {
  margin-bottom: 96px;
}
#contact .contact__sub__title {
  font-size: 28px;
  line-height: 42px;
  margin: 60px 0 37px;
}

.entry__sub__title {
  font-size: 28px;
  line-height: 42px;
  margin: 60px 0 37px;
}

.entry__photo img {
  border-radius: 20px;
  overflow: hidden;
}

/*--------------------------------------
  smartphone
--------------------------------------*/
@media only screen and (max-width: 560px) {
  .form-row {
    flex-direction: column;
    align-items: start;
    gap: 4px;
    padding-bottom: 19.3px;
  }
  .form-row dt {
    color: #333;
    font-size: 16px;
    justify-content: start;
    min-width: unset;
    width: unset;
    gap: 10px;
  }
  .form-row dd {
    width: 100%;
  }
  .i-list {
    margin-top: 4px;
  }
  textarea {
    margin-bottom: 0;
  }
  .captcha-box {
    padding: 56px 0 68px;
    margin-top: 72px;
    border-radius: 10px;
  }
  /*--------------------------------------
        contact
    --------------------------------------*/
  .main-content {
    padding-bottom: 100px;
  }
  #contact .contact__sub__title {
    font-size: 24px;
    line-height: 36px;
    margin-top: 62px;
  }
  
  .entry__sub__title {
    font-size: 24px;
    line-height: 36px;
    margin-top: 62px;
  }
  
  .entry__photo img {
    border-radius: 10px;
  }
  
  .entry__button {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
  }
}

/*# sourceMappingURL=form.css.map */
