/* Contact Form
---------------------------------------------------------- */
.form-wrap {
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  padding: 1.4em 0 0;
}

@media all and (max-width: 737px) {
  .form-wrap {
    padding: 0;
  }
}

.form-wrap > form {
  margin: 1.6em auto;
  max-width: 800px;
  width: 100%;
}

.init label {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
}

form.init p {
  margin: 0 0 1em;
}

@media all and (max-width: 737px) {
  form.init p {
    font-size: 14px;
  }
}

.form-item-name {
  border-radius: 0.2em;
  display: inline-block;
  padding: 0.8em 0 0;
  width: 29%;
}

@media all and (max-width: 737px) {
  .form-item-name {
    padding: 0.8em 0;
  }
}

.form-sample {
  color: #575757;
  display: inline-block;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto;
  width: 92%;
}

.form-sample.max-file {
  margin: 1.4em 0 2em;
}

.form-sample.email {
  display: block;
  width: 100%;
}

.ques-castle {
  display: block;
  margin: 0 auto;
  width: 70%;
}

@media all and (max-width: 737px) {
  .ques-castle {
    width: 100%;
  }
}

.ques-castle.ll {
  margin: 0.5em auto 3em;
}

input[type="text"]:not(.search-box),
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="telephone"],
input[type="number"],
input[type="search"],
input[type="password"],
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  font-size: 16px;
}

input[type="text"]:not(.search-box),
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="telephone"],
input[type="number"],
input[type="password"],
select,
textarea {
  background-color: #f7f7f7;
  border: solid 1px #9da5a8;
  line-height: 1.5;
  padding: 0.68em 1em;
}

@media all and (max-width: 737px) {
  input[type="text"]:not(.search-box),
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="telephone"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    padding: 0.4em 1em;
  }
}

input[type="text"]:not(.search-box),
input[type="tel"],
input[type="email"],
textarea {
  margin: 0 auto 0.5em;
  width: 100%;
}

@media all and (min-width: 737px) {
  input.zip,
  input.zip2 {
    width: 48% !important;
  }
}

input[type="tel"] {
  width: 48%;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #b8bcbe;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #b8bcbe;
}
input::placeholder,
textarea::placeholder {
  color: #b8bcbe;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

textarea:focus:-moz-placeholder {
  color: transparent;
}

textarea:focus::-moz-placeholder {
  color: transparent;
}

textarea {
  height: 15em;
  resize: vertical;
}

span.postscript {
  font-size: 0.85em;
  margin: 0 0 0 2em;
}

@media screen and (max-width: 768px) {
  textarea {
    height: 10em;
  }
}

input[type="search"] {
  background: #343434;
  border: none;
  color: #fff;
  font-size: 0.85em;
  padding: 6px 40px 8px 8px;
  width: 100%;
}

button.button-search.animation {
  background: transparent;
  border: none;
  color: #b8b8b8;
  height: 100%;
  line-height: 100%;
  margin: 0 0 0 -7px;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
}

input[type="submit"],
input[type="button"] {
  appearance: none;
  border: 0;
  -webkit-box-sizing: content-box;
  box-sizing: border-box;
  cursor: pointer;
}

.submit-wrap {
  text-align: center;
}

input[type="submit"].submit:not(.nobtn),
input[type="button"].submit,
a.return_top {
  background-color: #1a1a1a;
  color: #fdfdfd;
  font-size: 20px;
  letter-spacing: 0.16em;
  margin: 2.8em 0;
  max-width: 270px;
  padding: 1.4em 0;
  text-align: center;
  width: 100%;
  background-image: url(../img/send-arrow.svg);
  background-position: center right 1.2em;
  background-repeat: no-repeat;
  background-size: 0.6em;
}

input.submit.gray {
  background-color: #fff;
  border: solid 1px;
  color: #151515;
  font-size: 16px;
  letter-spacing: 0.16em;
  margin: 1.2em;
  max-width: 270px;
  padding: 1.8em 0;
  text-align: center;
  width: 100%;
  background-image: url(../img/send-arrow.svg);
}

@media all and (max-width: 376px) {
  input[type="submit"].submit,
  input[type="button"].submit,
  input.submit.gray,
  a.return_top {
    margin: 1.2em 0 !important;
  }
}

a.return_top {
  text-decoration: none;
}

input[type="submit"].submit:hover,
input[type="button"].submit:hover,
a.return_top:hover {
  opacity: 0.6;
  background-position: center right 1em;
}

input[type="button"].submit.gray {
  background-color: #fff;
  background-image: url(../img/send-arrow-black.svg);
  border: solid 1px #4d4d4d;
  color: #4d4d4d;
  margin-left: 0.4em;
  background-size: 0.75em;
  transition-duration: 0.3s;
  transition-property: all;
}

@media screen and (max-width: 414px) {
  input[type="button"].submit.gray {
    margin-left: 1.2em;
  }
}

.submit_area {
  display: flex;
  flex-flow: row-reverse;
  justify-content: center;
}

.submit_area input[type="submit"].submit,
.submit_area input[type="button"].submit {
  margin: 3em 1em;
}

input:focus,
select:focus,
textarea:focus {
  background-color: #f5f9ff;
  border: solid 1px #76b0ff;
  box-shadow: 0 0 0.4em rgba(118, 171, 255, 0.32);
  outline: 0;
}

.radio-input {
  display: none;
}
.radio-input + label {
  display: inline-block;
  margin: 0.6em 3em 0.8em 0;
  padding-left: 2.6em;
  position: relative;
}
.radio-input + label::before {
  border: 1px solid #999;
  border-radius: 50%;
  content: "";
  display: block;
  height: 24px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}
.radio-input:checked + label {
  color: #1b78c9;
}
.radio-input:checked + label::after {
  background: #1b78c9;
  border-radius: 50%;
  content: "";
  display: block;
  height: 12px;
  left: 6px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
}

select {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNy42OCAxNS4zMSI+PGcgaWQ9IuODrOOCpOODpOODvF8yIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvCAyIj48ZyBpZD0i44Os44Kk44Ok44O8XzciIGRhdGEtbmFtZT0i44Os44Kk44Ok44O8IDciPjxwYXRoIGQ9Ik0wLDBIMTcuNjhMOC44NCwxNS4zMVoiLz48L2c+PC9nPjwvc3ZnPg==);
  background-position: right 1em center;
  background-repeat: no-repeat;
  background-size: 0.9em;
  border-radius: 0.5em;
  padding: 0.75em 3em 0.75em 0.6em;
  position: relative;
  width: 100%;
  background-color: #fff;
  color: #1a1a1a;
}

select::-ms-expand {
  display: none;
}

select::after {
  border-right: 1px solid #353535;
  border-top: 1px solid #353535;
  bottom: 0;
  content: "";
  height: 12px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 7px;
  transform: rotate(-45deg);
  width: 12px;
}

label.check {
  display: inline-block;
  margin: 0;
  width: 49%;
}

@media all and (max-width: 737px) {
  label.check {
    width: 100%;
  }
}

.checkbox-input {
  /*    display: none;*/
  opacity: 0;
  position: absolute;
}
.checkbox-parts {
  display: inline-block;
  line-height: 1.6;
  margin-bottom: 0.6em;
  margin-right: 1.6em;
  margin-top: 0.6em;
  padding-left: 2em;
  position: relative;
  width: 100%;
}
span.checkbox-min {
  display: block;
  font-size: 0.8em;
  position: absolute;
}

span.checkbox-parts.ll {
  margin-bottom: 1.6em;
}

.checkbox-parts::before {
  background: #fff;
  border: 1px solid #999;
  border-radius: 50%;
  content: "";
  display: block;
  height: 24px;
  left: 0;
  position: absolute;
  top: 0.8em;
  transform: translateY(-50%);
  width: 24px;
}

.checkbox-input:checked + .checkbox-parts {
  color: #1b78c9;
}
.checkbox-input:checked + .checkbox-parts::after {
  border-bottom: 3px solid #1b78c9;
  border-right: 3px solid #1b78c9;
  content: "";
  display: block;
  height: 14px;
  left: 5px;
  position: absolute;
  top: 0.6em;
  transform: rotate(40deg) translateY(-50%);
  width: 7px;
}

.privacy-link-wrap {
  margin-top: 2em;
}

a.privacy-link {
  color: #db4d4d;
}

a:hover.privacy-link {
  color: #f88282;
}

.required-item,
.option-item {
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-size: 0.875em;
  line-height: 1;
  margin: 0 8px 0 auto;
  padding: 0.4em;
  text-shadow: 1px 1px 1px rgb(0 0 0 / 16%);
}

.required-item {
  background: #ec2028;
}

.option-item {
  background: #888;
}

.submit_content dl dd p {
  margin: 0;
}

h2.center-line {
  padding: 0.8em 0;
  position: relative;
}

h2.center-line::after {
  background-color: #9d9d9d;
  bottom: 0;
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 50%;
}

@media screen and (max-width: 1024px) {
  input[type="text"],
  input[type="tel"] {
    width: 44%;
  }
}

@media screen and (max-width: 768px) {
  .form-item-name {
    text-align: left;
    width: 100%;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    width: 100%;
  }

  .form-sample {
    display: block;
    width: 100%;
  }
}

.from-step {
  background-color: #e6e6e6;
  border: 1px solid #e6e6e6;
  color: #333;
  display: inline-block;
  padding: 0.68em;
  text-align: center;
  width: 193px;
}

@media all and (max-width: 737px) {
  .from-step {
    font-size: 13px;
    padding: 0.68em;
    text-align: left;
    width: calc(96% / 3);
  }
}

.from-step.current {
  background-color: #333;
  color: #fff;
}
.text-imp {
  font-size: 20px;
}

p.con-text {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 1.6em;
}

.form-step {
  background-color: #fff;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

.form-step.pad {
  padding-top: 4em;
}

p.con-text.minus {
  margin-bottom: -3em;
}

.yellow-blu-gra.vertical {
  background: rgb(221, 192, 132);
  background: linear-gradient(
    180deg,
    rgba(221, 192, 132, 0.5018382352941176) 0%,
    rgba(237, 246, 232, 0.5) 50%,
    rgba(185, 225, 243, 0.5018382352941176) 100%
  );
  padding-bottom: 5em;
}

span.from-privacy {
  background-color: #e6e6e6;
  display: block;
  margin: 0.8em auto;
  padding: 0.6em 0.8em;
  width: 100%;
}

@media all and (max-width: 737px) {
  span.from-privacy {
    padding: 0.1em 0.8em;
  }
}

span.carlicense-checkbox {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 92%;
}

.carlicense-checkbox .carlicense-check {
  margin: 0 0 1em;
}

.birthday-top {
  display: flex;
  margin: 0 auto 1.6em;
  width: 92%;
}

.birthday-top > div {
  margin-right: 1.2em;
}

.segmentation {
  border-radius: 0;
  margin-right: 0.5em;
  width: 12em;
}

.form-txt {
  display: block;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 3em;
  width: 100%;
}

.form-txt.red {
  color: #e71c24;
}

img.center-ymg {
  margin: 0 auto;
}

.red-txt-bg-yellow {
  background-color: #fffa50;
  border-radius: 0.4em;
  color: #e71c24;
  font-size: 20px;
  margin: 1em auto 1.6em;
  max-width: 900px;
  padding: 0.64em;
  text-align: center;
  width: 100%;
}

.form-inner {
  height: 100%;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  width: 100%;
}

/* form
---------------------------------------------------------- */
table.formTable {
  font-size: 15px;
  letter-spacing: 0.08em;
  margin: 2em 0;
  width: 100%;
}

table.formTable th {
  text-align: right;
  width: 40%;
}

table.formTable td {
  width: 60%;
}

table.formTable th,
table.formTable td {
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 1em;
}

div#formWrap p {
  margin: 1.6em 0;
}

.thanks-wrap {
  color: #333;
  font-size: 20px;
  line-height: 2;
  padding: 3em 0 0;
}

.step-margin {
  margin-bottom: 3em;
}

a.return-home {
  background-color: #1b78c9;
  border-radius: 0.8em;
  color: #fff;
  display: block;
  margin: 5em auto 3em;
  padding: 1.5em 1em;
  text-decoration: none;
  width: 263px;
}

a:hover.return-home {
  opacity: 0.6;
}

p.select-box {
  margin: 0 0 2.4em !important;
}

.form-step-width {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.step-underline {
  border-bottom: solid 1px #aeaeae;
  padding: 0 0 1.6em;
}

div#formWrap {
  margin: 1.6em 0;
}

input[type="file"] {
  margin: 0.4em 0;
  color: #333;
}

/* フォームプライバシーポリシー
---------------------------------------------------------- */
.pp-scroll-wrap {
  border: solid 1px #c7c7c7;
  height: 190px;
  margin: 1.6em 0;
  overflow-y: scroll;
  padding: 1em;
  width: 100%;
}

.pp-scroll-inner {
  line-height: 1.5;
}

h3.analytics-head {
  position: relative;
  color: #151515;
  margin: 0 0 1.6em;
  padding: 0 0 0.4em;
}

h3.analytics-head::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #acacac;
  bottom: -0.5em;
}

p.pp-txt {
  line-height: 1.8;
}
