@charset "UTF-8";

/* form parts
-----------------------------------------------*/
input,
select,
textarea {
  margin: 10px auto;
  padding: 5px;
}

select {
  border-radius: 5px;
}

input:focus,
select:focus {
  border-color: unset;
  outline: none;
  box-shadow: 0 0 8px #66afe9;
}

input[type="email"] {
  width: 70%;
}

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

textarea {
  width: 100%;
  height: 250px;
  padding: 10px;
  line-height: 2em;
  color: #333;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 10px;
}

input[type="submit"] {
  background: none;
  border: none;
  color: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

input[type="submit"]:hover {
  cursor: pointer;
}

input[type="date"] {
  width: 300px;
  position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
}

@media screen and (max-width: 767px) {
}

/* join/form/
-----------------------------------------------*/

section#join_form {
  margin-top: 50px;
  color: #333;
  font-size: 0.9em;
}

h1 {
  background: #4ebcc7;
  color: #fff;
  margin-top: 90px !important;
  margin-bottom: -70px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 24px;
  font-weight: bold;
}

h1 > span {
  display: block;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  color: #3b5998;
  font-size: 24px;
  text-align: left !important;
  margin-top: 20px;
}

#step_wrap {
  display: flex;
  justify-content: center;
}

.step {
  background: url("../img/step.png") center right no-repeat;
  background-size: cover;
  box-sizing: border-box;
  margin: 20px 20px 10px 20px;
  width: 100%;
  height: 59px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
}
.step_active {
  background: url("../img/step-active.png") center right no-repeat;
}

/*
* 767px以下の表示調整
*/
@media screen and (max-width: 767px) {
  header {
    position: relative;
  }
  h1 {
    text-align: center;
    margin-top: 10px !important;
  }
  #step_wrap {
    font-size: clamp(0.625rem, 0.386rem + 1.02vw, 0.875rem);
  }
  .step {
    margin-left: 0;
    margin-right: 5px;
    justify-content: start;
    padding-left: clamp(0.625rem, 0.027rem + 2.55vw, 1.25rem);
  }
}

h2 + p {
  margin-bottom: 10px;
}

.join_form_cont {
  display: flex;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
}

.join_form_cont_continu {
  display: flex;
  border-top: solid 1px #ccc;
}

.last {
  border-bottom: solid 1px #ccc;
}

.f_head {
  width: 30%;
  font-weight: bold;
  padding: 20px;
  color: #3b5998;
  background: #f2f2f2;
  position: relative;
}

.f_head::before {
  content: "必須";
  height: 20px;
  width: 40px;
  background: #ff931e;
  position: absolute;
  right: 50px;
  color: #fff;
  text-align: center;
}

.questionnaire .f_head {
  min-height: 100px;
}

.questionnaire .f_head::before {
  content: "必須";
  height: 20px;
  width: 40px;
  background: #ff931e;
  position: absolute;
  top: 60px;
  right: 30px;
  color: #fff;
  text-align: center;
}

.f_data {
  width: 70%;
  padding: 20px 40px;
  line-height: 1.8em;
}

.f_data p.req {
  color: #e9112f !important;
}

.name_ad,
.addno {
  display: inline-block;
  font-weight: bold;
  width: 70px;
}

input[name="mei"],
input[name="kana_mei"] {
  margin-left: 20px;
}

input.add_text {
  width: 70%;
}

div.send_bt {
  text-align: center;
  background: #4ebcc7;
  border-radius: 5px;
  height: 60px;
  width: 250px;
  font-size: 18px;
  font-weight: bold;
  margin: auto;
  border: none;
  position: relative;
  margin: 30px auto 50px;
}

div.send_bt:hover {
  opacity: 0.8;
}

div.send_bt input {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

div.send_bt::before {
  content: ">";
  position: absolute;
  top: 25%;
  right: 10px;
  color: #fff;
}
.thanks_message {
  width: 70%;
  margin: 30px auto 300px;
}

@media screen and (max-width: 767px) {
  .join_form_cont {
    display: block;
  }

  .join_form_cont_continu {
    display: block;
  }

  .f_head {
    width: 100%;
  }

  .f_data {
    width: 100%;
  }

  .name_ad,
  .addno {
    display: inline-block;
    font-weight: bold;
    width: 100%;
  }

  input[name="mei"],
  input[name="kana_mei"] {
    margin-left: 0px;
  }
}
