input,
button,
textarea,
select {
  /* デフォルトスタイルをリセット */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* font-familyを継承しないので、継承させる */
  font-family: inherit;
  /* iOSの角丸をリセット */
  border-radius: 0;
  /* box-size */
  box-sizing: border-box;
  /* 文字の大きさ iOSでズームさせないために16px以上を指定 */
  font-size: 16px;
  /* 文字色を親から継承 */
  color: inherit;
  box-shadow: none;
}

label {
  /* iOSでのlabelとinput,select,textareaの関連付け */
  cursor: pointer;
}

input[type=submit] {
  -webkit-appearance: none;
}

/* スピンボタン非表示 chrome,safari */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=month]::-webkit-outer-spin-button,
input[type=month]::-webkit-inner-spin-button,
input[type=datetime-local]::-webkit-outer-spin-button,
input[type=datetime-local]::-webkit-inner-spin-button,
input[type=week]::-webkit-outer-spin-button,
input[type=week]::-webkit-inner-spin-button,
input[type=time]::-webkit-outer-spin-button,
input[type=time]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button,
input[type=date]::-webkit-inner-spin-button {
  /*-webkit-appearance: none;
   margin: 0;*/
  display: none;
}

/* スピンボタン非表示(firefox) */
input[type=number],
input[type=month],
input[type=datetime-local],
input[type=week],
input[type=time],
input[type=date] {
  -moz-appearance: textfield;
}

/* クリアボタン非表示 */
input[type=date]::-webkit-clear-button,
input[type=month]::-webkit-clear-button,
input[type=datetime-local]::-webkit-clear-button,
input[type=time]::-webkit-clear-button,
input[type=week]::-webkit-clear-button {
  -webkit-appearance: none;
}

/* input */
input {
  /* inputの枠線を消す */
  border: 1px solid transparent;
  transition: border 0.2s ease-out;
  /*inputのフォーカス時の枠線を消す*/
  outline: 0;
  box-shadow: none;
}

select {
  /* 右端の▼を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  /*inputのフォーカス時の枠線を消す*/
  outline: 0;
  box-shadow: none;
}

.contact-message {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
}

@media screen and (max-width: 500px) {
  .contact-message {
    font-size: 15px;
  }
}

.form {
  padding: 2.5rem 0;
  letter-spacing: 0;
}

.form dt {
  display: flex;
  align-items: center;
}

.contact-check-lists {
  display: block;
  margin-top: 20px;
}

.contact-title {
  margin-top: 20px;
}

.form-item-textarea {
  border-radius: 10px;
  display: block;
  width: 100% !important;
  height: 230px !important;
  padding: 7px 20px;
  resize: vertical;
  border: 1px solid #ddd;
  background: #fff;
  -webkit-appearance: none;
  font-size: 16px;
  font-family: inherit;
  line-height: normal;
  margin-top: 10px;
}

.contact-check-lists label {
  display: block;
  margin: 10px auto;
}

.check-box input[type=checkbox] {
  display: none;
}

.check-box__text {
  display: inline-block;
  padding: 3px 0 3px 40px;
  cursor: pointer;
  position: relative;
}

.check-box__text::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 27px;
  height: 27px;
  top: 3px;
  left: 0;
  border: 1px solid #9b9b9b;
  background: #fff;
}

.check-box__text::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 20px;
  padding-top: 10px;
  top: 9px;
  left: 4px;
  border-left: 2px solid #72aed1;
  border-bottom: 2px solid #72aed1;
  transform: rotate(-45deg);
  opacity: 0;
}

input[type=checkbox]:checked+.check-box__text::after {
  opacity: 1;
}

input::-moz-placeholder {
  color: #ddd;
}

input::placeholder {
  color: #ddd;
}

/*送信ボタン*/
.submit-container {
  margin-bottom: 29px;
}

.form-message {
  font-size: 12px;
  margin-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
  line-height: 1.4;
}

.required-tab {
  font-size: 10px;
  color: #fff;
  height: 18px;
  font-weight: 500;
  width: 30px;
  margin-right: 6px;
  background: #db3500;
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy-container {
  font-size: var(--font-size-sp14);
  height: 12rem;
  overflow-y: scroll;
  padding: 1rem 1.2rem 2rem;
  border: solid 1px #ddd;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}


.privacy-container h2 {
  font-size: 1.4rem;
  font-weight: var(--font-semi-bold);
  text-align: center;
  font-family: var(--font-en);
}


.privacy-container h3 {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  padding-bottom: 2px;
  border-bottom: solid 0.5px var(--red);
  margin-top: 20px;
  margin-bottom: 5px;
}

.privacy-container li {
  padding-left: 15px;
  position: relative;
}

.privacy-container li span {
  position: absolute;
  left: 0;
}

.privacy-container a {
  color: var(--c-brown);
  text-decoration: underline;
}

.privacy-container a:hover {
  opacity: 0.7;
}

.form-item-input {
  width: 100%;
  height: 58px;
  border-radius: 10px;
  padding: 7px 20px;
  border: 1px solid #ddd;
  background: #fff;
  -webkit-appearance: none;
  font-size: 16px;
  font-family: inherit;
  line-height: normal;
  margin-top: 10px;
  box-shadow: none;
}

.form-item-label {
  display: flex;
  align-items: center;
  font-size: var(--font-size-sp14);
  line-height: var(--lh-m);
}

@media screen and (min-width: 768px) {
  .form-item-label {
    font-size: var(--font-size-pc14);
  }
}

.form-item {
  margin-bottom: 1.2rem;
}

.radio-buttons {
  margin-top: 0.5rem;
  font-size: var(--font-size-sp14);
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .radio-buttons {
    font-size: var(--font-size-pc14);
  }
}

@media screen and (max-width: 767px) {
  .radio-buttons label+label {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 767px) and (max-width: 767px) {
  .radio-buttons label span {
    margin-left: 1rem;
    display: inline-block;
  }
}

.radio-buttons input {
  display: block;
}

@media screen and (min-width: 768px) and (max-width: 1045px) {
  .radio-buttons div.mfp_err {
    left: 0;
    bottom: -17rem;
  }
}

.radio-buttons label {
  display: none;
  cursor: pointer;
  display: flex;
  position: relative;
  padding-left: 23px;
  padding-right: 10px;
  align-items: flex-start;
}

.radio-buttons label::before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid;
  border-color: #585753;
  background-color: #fff;
}

.radio-buttons input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 18px;
  height: 9px;
  margin-top: -6px;
  top: 50%;
  left: 3px;
  transform: rotate(-45deg);
  border-bottom: 3px solid;
  border-left: 3px solid;
  border-color: var(--c-brown);
}

.custom-radio {
  top: 2px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--c-black);
  border-radius: 50%;
  /* ラジオボタンを円形に */
  display: inline-block;
  position: relative;
  cursor: pointer;
  outline: none;
  background-color: #fff;
  transition: all 0.3s ease;
}

.custom-radio:checked {
  background-color: var(--c-black);
}

.custom-radio:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

label {
  margin-right: 10px;
  font-size: 16px;
  cursor: pointer;
}

.radio-buttons-photographer {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
}

@media screen and (min-width: 768px) {
  .radio-buttons-photographer {
    align-items: center;
  }
}

@media screen and (max-width: 767px) {
  .radio-buttons-photographer {
    flex-direction: column;
  }
}

.policy-check {
  margin-right: 0;
  margin-left: auto;
  line-height: 1.77;
  margin-top: 2.4rem;
  font-size: var(--font-size-sp14);
}

@media screen and (min-width: 768px) {
  .policy-check {
    font-size: var(--font-size-pc14);
  }
}

.policy-check label {
  display: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 25px;
  padding-right: 10px;
}

.policy-check label::before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  left: 10px;
  top: 50%;
  border: 1px solid;
  border-color: #585753;
  /* 枠の色変更 お好きな色を */
  background-color: #fff;
  /* 背景の色変更 お好きな色を */
}

.policy-check input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 18px;
  height: 9px;
  margin-top: -7px;
  top: 50%;
  left: 12px;
  transform: rotate(-45deg);
  border-bottom: 3px solid;
  border-left: 3px solid;
  border-color: var(--c-brown);
}

@media screen and (max-width: 767px) {
  .policy-check div.mfp_err {
    bottom: -5rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1045px) {
  .policy-check div.mfp_err {
    bottom: -5rem;
  }
}

.submit-button {
  margin-top: 1.5rem;
  width: 260px;
  margin-right: auto;
  margin-left: auto;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--red);
  border-radius: 24.5px;
  background: var(--c-white);
  font-size: 16px;
  color: var(--red);
  font-family: inherit;
  -webkit-appearance: none;
  transition: 0.3s;
}

.submit-button:hover {
  cursor: pointer;
  background: var(--red);
  color: var(--c-white);
}

/* -- div#thanks -------------------------------------------------------------------------------- */
.thanks {
  padding: 80px 0 100px;
}

.common-button-border {
  margin-top: 50px;
  text-align: center;
  width: 260px;
  margin-right: auto;
  margin-left: auto;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #72aed1;
  border-radius: 24.5px;
  background: #72aed1;
  font-size: 16px;
  color: #ffffff;
  font-family: inherit;
  -webkit-appearance: none;
  transition: 0.3s;
}

.common-button-border:hover {
  cursor: pointer;
  background: #fff;
  color: #72aed1;
}