@charset 'utf-8';

/* common
------------------------------------------------ */
#page_title {
  background-image: url(../../img/contact/title_bg.jpg);
}

/* contact
------------------------------------------------ */

.form,
.privacy {
  max-width: 1000px;
  margin: 0 auto;
}
.privacy h3 {
  font-size: 18px;
  font-weight: bold;
  padding-left: 20px;
  position: relative;
  margin-bottom: 14px;
  margin-top: 44px;
}
.privacy h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #ee783f;
  position: absolute;
  left: 0;
  top: 5px;
}
.privacy p {
  font-size: 15px;
}
.privacy p a {
  color: blue;
}
.form li {
  display: flex;
}
.form li .left {
  width: 330px;
  height: 100px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 40px;
  padding-right: 20px;
  gap: 15px;
  background: #f7f7f7;
  border-left: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  position: relative;
}
.form li .left .flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}
.form li.first .left {
  border-top: 3px solid #0f2f88;
}
.form li .left p {
  font-size: 16px;
}
.form li .left p span {
	font-size: 12px;
}
.form li .left .tag {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  background: #0f2f88;
}
.form li .right {
  width: calc(100% - 357px);
  height: 100px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 25px;
  background: #fff;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
.form li.first .right {
  border-top: 3px solid #cccccc;
}
.form li .right input {
  padding: 8px;
  height: 40px;
  width: 320px;
  border-radius: 0;
  border: 1px solid #a7a7a7;
}
input[type='radio'] {
  display: none;
}
.form li .right.how .radio {
  font-size: 16px;
  padding-left: 30px;
  position: relative;
  height: 30px;
  line-height: 30px;
}
.form li .right.how .radio::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 18px;
  border: 1px solid #707070;
  position: absolute;
  left: 0;
  top: 2.5px;
}
.form li .right.how .radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #0f2f88;
  position: absolute;
  left: 5px;
  top: 7.5px;
  opacity: 0;
}
.form li .right.how input[type='radio']:checked + .radio::after {
  opacity: 1;
}
.form li .left.auto {
  height: auto;
  padding: 30px 0 30px 40px;
  align-items: flex-start;
}
.form li .right.auto {
  height: auto;
  padding: 30px 35px 30px 25px;
  align-items: flex-start;
}
.form li .right.how {
  gap: 50px;
  align-items: center;
}
.form .input {
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.form .input label {
  font-size: 16px;
}
input[type="checkbox"]#checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  border: 1px solid #a7a7a7;
}
input[type="checkbox"]#checkbox:checked {
  background: #0f2f88;
  position: relative;
}
input[type="checkbox"]#checkbox:checked:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  content: '';
  color: #fff;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: absolute;
  top: 0;
  left: 0;
  background: url('../../img/simulator/check.svg') no-repeat center;
  background-size: 11px 11px;
}
.form .input.input-radio .box {
  width: 18px;
  height: 18px;
  border-radius: 18px;
  border: 1px solid #707070;
}
.form .input.input-radio.active .box {
  background: #fff;
}
.form .input.input-radio.active .box::before {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #0f2f88;
  position: absolute;
  left: 3px;
  top: 3px;
}
.form li .in {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 15px;
  padding-left: 30px;
  width: 520px;
  opacity: 0.5;
}
.form li .in.active {
  opacity: 1;
}
.form li .in p {
  font-size: 14px;
}
.form li li {
  display: block;
}
.mb-25 {
  margin-bottom: 25px;
}
.form textarea {
  margin-left: 30px;
  width: calc(100% - 40px);
  border: 1px solid #a7a7a7;
  padding: 8px;
  height: 150px;
  resize: vertical;
}
.form li .right.auto.shousai textarea {
  margin: 0;
  width: 100%;
}
.form li .right.auto ul {
  width: 100%;
}
.wpcf7-form {
  text-align: center;
}
.wpcf7-form-control.wpcf7-submit,
.form-button,
.back-button {
  width: 400px;
  height: 70px;
  line-height: 70px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: #ee773e;
  border: none;
  margin: 50px auto 0;
  cursor: pointer;
  display: block;
}
.wpcf7-form-control.wpcf7-submit {
  margin-top: 0;
  margin-bottom: 50px;
}
.back-button {
  background: #0f2f88;
}
.hidden {
  display: none !important;
}
.form.kakunin li .right.auto {
  flex-direction: column;
  gap: 15px;
}

.screen-reader-response,
.wpcf7-response-output.wpcf7-mail-sent-ok {
  display: none !important;
}

.form .p1 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}
.form .p2 {
  font-size: 16px;
  text-align: center;
}
.err {
  color: red;
  font-weight: bold;
  font-size: 14px;
}
.form.kakunin li .right p,
.form.thanks li .right p {
  font-size: 16px;
}

#contents1,
#contents2,
#contents3,
#contents3-5,
#contents4,
#contents5 {
  scroll-margin-top: 160px;
}

p.ch {
  width: 600px;
  margin: 0 auto;
  font-size: 14px;
  margin-top: 16px;
}
p.ch.u {
  margin-top: 50px;
  margin-bottom: 16px;
}
p.ch.center {
  text-align: center;
}
.p00 {
  text-align: center;
  font-size: 16px;
  margin-bottom: 50px;
}
.form.kakunin li .right.auto,
.form.kakunin li .left.auto,
.form.kakuni li .left.auto.naiyou,
.form.kakuni li .right.auto.naiyou {
	height: auto;
}


@media screen and (max-width: 768px) {
  .nyuryoku,
  .submit,
  .form.thanks {
    width: 87%;
    margin: 0 auto;
  }
  .form li {
    flex-direction: column;
  }

  .form li .left {
    width: 100%;
    height: auto;
    border-right: 1px solid #cccccc;
    padding: 20px;
  }
  .form li .right {
    width: 100%;
    height: auto;
    border-left: 1px solid #cccccc;
    padding: 20px;
  }

  .form li.first .right {
    border-top: none;
  }
  .form li .right.how {
    flex-wrap: wrap;
    gap: 20px;
  }
  .form li .right.how .radio {
    font-size: 13px;
    padding-left: 25px;
  }
  .form li .right.how .radio::before {
    top: 0;
  }
  .form li .right.how .radio::after {
    top: 5px;
  }
  .form li .left.auto {
    height: auto;
    padding: 20px;
  }
  .form li .in {
    gap: 10px;
  }
  .form li .in p {
    font-size: 12px;
  }
  .form .input {
    flex-direction: row;
  }
  .form li .right.auto {
    height: auto;
    padding: 20px;
  }
  .form textarea {
    margin: 0;
    width: 100%;
  }
  .form li .left.auto.naiyou,
  .form li .right.auto.naiyou {
    height: auto;
  }
  .form li .left.auto.shousai,
  .form li .right.auto.shousai {
    height: auto;
  }
  .wpcf7-form-control.wpcf7-submit,
  .form-button,
  .back-button {
    width: 100%;
    max-width: 400px;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    -webkit-appearance: none;
  }
  .back-button {
    margin-bottom: 80px;
  }
  p.ch {
    width: 100%;
    margin-top: 14px;
    margin-bottom: 80px;
  }
  p.ch.u {
    margin-bottom: 14px;
  }
  #contents1,
  #contents2,
  #contents3,
  #contents3-5,
  #contents4,
  #contents5 {
    scroll-margin-top: 40px;
  }
  .p00 {
    text-align: left;
    font-size: 12px;
    margin-bottom: 30px;
  }
}
