.smooth-scroll {
  scroll-behavior: smooth;
}

.form_preview {
  scroll-behavior: unset;
}

body {
  color: #333333;
  background: #fcfcfc;
}

.button_wrapper {
  z-index: 0;
  position: relative;
}

ol,
ul,
dl,
dd {
  margin: 0;
  padding: 0;
}

.mainVisual {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: url("../image/bg_main.jpg") no-repeat top / cover;
  padding: 80px 60px 120px;
  overflow: visible;
}

.mainVisual_inner {
  max-width: 980px;
  margin: auto;
}

.mainVisual_buttonWrapper {
  position: absolute;
  bottom: -40px;
  left: auto;
}

.mainVisual_benefit {
  width: 340px;
  margin-bottom: 24px;
}

.mainVisual_heading {
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 0.2em;
  flex-wrap: wrap;
}

.mainVisual_heading + .mainVisual_heading {
  margin-top: 0.4em;
}

.mainVisual_heading span {
  background: white;
  display: inline-block;
  padding: 0.1em;
  color: #1b70bf;
  font-size: 1.2em;
}

.mainVisual .lp_button {
  font-size: 24px;
}

@keyframes balloon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes sp-balloon {
  0%,
  100% {
    transform: scale(0.8) translateY(0);
  }
  50% {
    transform: scale(0.8) translateY(-20px);
  }
}

.mainVisual_balloon {
  position: relative;
  left: -50px;
  bottom: -30px;
  z-index: 1;
  font-size: 12px;
  color: white;
  background: #333333;
  font-weight: bold;
  display: inline-block;
  line-height: 1.8em;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: 3s balloon infinite;
}

.mainVisual_balloon::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 6px 0 6px;
  border-color: #333333 transparent transparent transparent;
  bottom: 5px;
  right: 5px;
  transform: rotate(315deg);
}

.mainVisual_balloon span {
  font-size: 1.8em;
}

.lp_section_title {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding-top: 70px;
  margin-top: -70px;
}

.lp_section_title::before {
  display: block;
  content: "";
  width: 2em;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.lp_section_title_center {
  margin: -70px auto 0;
}

.lp_section_title_center::after {
  display: block;
  content: "";
  width: 2em;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* 選ばれる理由 */

.reasons {
  max-width: 980px;
  margin: 0 auto 40px;
  padding: 100px 16px 40px;
  display: grid;
  grid-gap: 60px;
}

.reasons_heading {
  font-size: 20px;
  padding-top: 70px;
  margin-top: -70px;
}

.reasons_heading > span {
  font-size: 2em;
  display: inline-block;
}

.reasons_text p:not(:last-of-type) {
  margin-bottom: 1em;
}

.reasons_text > p span {
  font-weight: bold;
}

.reasons_l1ist {
  counter-reset: reasons;
  display: grid;
  grid-gap: 40px;
}

.reasons_item {
  counter-increment: reasons;
  position: relative;
}

.reasons_title {
  font-size: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 0.5em;
}

.reasons_title > p span {
  color: #1b70bf;
  display: inline-block;
}

.reasons_title::before {
  display: block;
  content: "";
  width: 1em;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.reasons_item:not(:last-of-type) {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
}

.reasons_item::before {
  content: counter(reasons, decimal-leading-zero);
  position: absolute;
  font-size: 180px;
  line-height: 1;
  font-weight: bold;
  bottom: 40px;
  opacity: 0.1;
  z-index: -1;
}

.reasons_inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.reasons_inner img {
  max-width: 100%;
}

/* ご利用者の声 */

.voices {
  max-width: 980px;
  padding: 0 16px;
  margin: 60px auto;
  display: grid;
  grid-gap: 60px;
}

.voices_container {
  display: flex;
  gap: 40px;
}

.voices_box {
  width: 100%;
  border: 1px solid #a4c6e5;
  border-radius: 4px;
  padding: 20px;
  font-size: 15px;
}

.voices_header {
  display: flex;
  margin-bottom: 16px;
  gap: 16px;
}

.voices_heading {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 100%;
  padding: 1em;
}

.voices_heading::before,
.voices_heading::after {
  content: "";
  width: 0.8em;
  height: 1.5em;
  display: block;
  border: #d6d6d6 solid;
  position: absolute;
}

.voices_heading::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.voices_heading::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.voices_data {
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
  text-align: center;
}

.voices_data span {
  color: #1b70bf;
  display: inline-block;
  margin-right: 0.2em;
}

.voices_text > p span {
  color: #f3af2c;
  font-weight: bold;
}

.voices_text p:not(:last-of-type) {
  margin-bottom: 1em;
}

/* エンジニア専属エージェントだから、安心できる */

.profile {
  background: #1d2235;
  color: #ffffff;
  background: url("../image/bg_profile.jpg") no-repeat center / cover;
}

.profile_text p:not(:last-of-type) {
  margin-bottom: 1em;
}

.profile_inner {
  display: flex;
  max-width: 980px;
  margin: auto;
  padding: 60px 16px;
  font-size: 15px;
}

.profile_title {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 20px;
  margin-right: 40px;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1.5;
}

/* ------ 取引先企業 ------ */

.client {
  max-width: 980px;
  padding: 0 16px;
  margin: 60px auto;
  position: relative;
  display: grid;
  grid-gap: 40px;
}

.client_logo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10%, 1fr));
  justify-content: center;
  align-items: center;
  grid-gap: 8px;
  margin: auto;
  width: 100%;
}

.client_logo img {
  width: 100%;
}

/* ------ メディア掲載例 ------ */

.media {
  position: relative;
  padding: 36px 16px 36px;
  background: linear-gradient(180deg, #1b70bf 0.01%, #2086cc 100%);
  color: #ffffff;
}

.media h2 {
  font-size: 20px;
  flex-grow: 1;
  text-align: center;
}

.media_warpper {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  max-width: 800px;
}

.media_logo {
  margin: auto;
  text-align: center;
  background: #ffffff;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media_logo img {
  max-width: 72px;
  width: 15%;
}

/* ------ ご利用の流れ ------ */

.flow {
  padding: 0 16px;
  max-width: 980px;
  margin: 60px auto;
  display: grid;
  grid-gap: 60px;
}

.flow_list {
  display: grid;
  grid-gap: 60px;
}

.flow_item {
  border: 1px solid #1b70bf;
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 40px;
  border-radius: 8px;
  position: relative;
}

.flow_item:not(:last-of-type)::after {
  position: absolute;
  bottom: -50px;
  content: "";
  height: 40px;
  left: calc(10% + 16px);
  width: 2px;
  background: #1b70bf;
  display: block;
}

.flow_heading {
  flex-shrink: 0;
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  text-align: center;
}

.flow_heading > p {
  color: #1b70bf;
  font-size: 0.8em;
}

.flow_heading > p span {
  font-size: 1.5em;
  display: inline-block;
  margin-left: 0.2em;
}

.flow_title {
  font-weight: bold;
}

/* ------ 登録フォーム ------ */

.lp_form {
  background: #f9f9f9;
  padding: 40px auto;
}

.lp_form_container {
  max-width: 980px;
  padding: 40px 16px;
  margin: auto;
  display: grid;
  grid-gap: 40px;
}

.lp_form_wrap {
  margin: auto;
  width: 100%;

  max-width: 720px;
}

.lp_form_wrap .button_wrapper button {
  font-size: 18px;
}

.form_item {
  display: flex;
  align-items: center;
}

.form_item input {
  border: 1px solid #cacaca;
  border-radius: 4px;
}

.form_item input::placeholder {
  font-size: inherit;
  color: #acbdcc;
}

.form_item input:not([type="checkbox"]) {
  display: block;
  border-color: #1b70bf;
  font-size: 16px;
  padding: 6px;
  align-self: stretch;
  flex-basis: 100%;
}

.form_item input:not([type="date"]) {
  line-height: 1.4em;
  padding: 8px;
}

.form_item input[type="date"] {
  width: calc(100% - 16px);
}

.form_item input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
}

.form_item + .form_item {
  margin-top: 16px;
}

.form_items--checkbox span {
  display: block;
  font-size: 14px;
  font-weight: 100;
}

.label {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 16px;
  width: 16em;
  margin-right: 1em;
}

.label_text {
  display: inline-block;
  margin-right: 0.5em;
}

.label_required {
  color: #fcfcfc;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 1em;
  border: 1px solid;
  color: #dd2727;
}

.form_agreement {
  justify-content: center;
  margin-top: 2em;
}

.form_agreement label {
  display: flex;
}

.form_agreement input {
  margin-left: 0;
  cursor: pointer;
}

.form_agreement_text {
  margin-left: 0.5em;
  line-height: 1.5;
}

.form_agreement_link {
  text-decoration: underline;
}

.form_agreement_link:hover {
  text-decoration: none;
}

.error_list {
  margin-top: 16px;
  line-height: 1.5;
  font-size: 14px;
  color: #dd2727;
}

.error_list li {
  list-style-type: none;
  position: relative;
  padding-left: 1em;
}

.error_list li:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: #dd2727;
}

.preview_text {
  text-align: center;
  margin-bottom: 24px;
}

.preview_item {
  padding: 8px;
  background: #fcfcfc;
  border-radius: 8px;
}

.preview_item + .preview_item {
  margin-top: 1em;
}

.preview_label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #1b70bf;
}

.preview_buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.form_submit {
  margin-top: 40px;
}

.preview_button_submit,
.preview_button_back {
  border-radius: 6px;
  padding: 6px 16px;
  flex-grow: 1;
  font-weight: bold;
}

.preview_button_submit {
  color: #fcfcfc;
  border: none;
  background: #1b70bf;
}

.preview_button_back {
  color: #0b1d2f;
  border: none;
  background: none;
  margin-right: 24px;
  background: #dee0e2;
}

.disabled {
  background: #bfbabd;
  pointer-events: none;
}

/* エイプリルナイツについて */

.aboutUs {
  padding: 0 16px;
  max-width: 980px;
  margin: 60px auto;
  display: grid;
  gap: 40px;
}

.aboutUs_container {
  display: flex;
}

.aboutUs_list {
  width: 100%;
}

.aboutUs_list:first-of-type {
  margin-right: 40px;
  padding-right: 40px;
  border-right: 1px rgba(0, 0, 0, 0.2) solid;
}

.aboutUs_item {
  font-size: 15px;
}

.aboutUs_item:not(:last-of-type) {
  margin-bottom: 24px;
}

.aboutUs_pmark {
  display: flex;
  gap: 20px;
}

.aboutUs_pmark dt {
  margin: 0;
}

.aboutUs_pmark_link {
  display: block;
}

.aboutUs_pmark_link img {
  width: 60px;
}

.aboutUs_item dt {
  font-size: 1.1em;
  margin-bottom: 0.8em;
  color: #1b70bf;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .mainVisual {
    padding: 36px 24px 100px;
  }
  .mainVisual_heading {
    font-size: 20px;
  }
  .mainVisual_heading span {
    font-size: 1em;
  }
  .mainVisual_benefit {
    max-width: 70%;
  }
  .mainVisual_balloon {
    left: -120px;
    margin: auto;
    transform: scale(0.8);
    transform-origin: right;
    animation: 3s sp-balloon infinite;
  }
  .mainVisual_buttonWrapper {
    left: 0;
    right: 0;
    margin: auto;
  }
  .mainVisual .lp_button {
    font-size: 18px;
  }
  .lp_section_title {
    font-size: 20px;
  }
  .reasons_inner {
    flex-direction: column;
  }
  .reasons_heading {
    font-size: 18px;
  }
  .reasons_title {
    font-size: 18px;
  }
  .reasons_item::before {
    top: 40px;
    bottom: unset;
  }
  .voices_container {
    flex-direction: column;
  }
  .voices_header {
    flex-direction: column;
  }
  .voices_heading {
    font-size: 18px;
  }
  .profile_inner {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }
  .profile_title {
    border: none;
  }
  .media_logo img {
    width: 13%;
  }
  .flow_item {
    font-size: 14px;
    gap: 18px;
  }
  .flow_heading {
    width: 7em;
  }
  .flow_heading img {
    max-width: 80%;
  }
  .aboutUs_container {
    flex-direction: column;
    gap: 24px;
  }
  .aboutUs_list:first-of-type {
    margin: 0;
    padding: 0;
    border: none;
  }
  .label {
    width: unset;
  }
  .form_item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }
  .form_agreement {
    align-items: center;
  }
}
