@charset "utf-8";
#contentsBox img {
  vertical-align: bottom;
}

.am-questionnaire_bd {
  font-size: 15px;
  border-bottom: 80px solid #1a69b8;
}

.am-questionnaire_bd section {
  /* margin: 0 0 3em; */
  padding: 0 0 2em;
  border-left: 80px solid #1a69b8;
  border-right: 80px solid #1a69b8;
}

.am-questionnaire_bd .detail_link {
  text-align: right;
  padding: 1em 0 0;
  margin: 0 0.5em 0 0;
  line-height: 1.25em;
  font-weight: 500;
}

.am-questionnaire_bd h3 {
  color: #000;
  /* background: #1a69b8; */
  /* background: linear-gradient(to right, #fff 0%, #1a69b8 30%, #1a69b8 70%, #fff 100%); */
  /* line-height: 1.5; */
  /* padding: 0.25em 0; */
  text-align: center;
  font-size: 42px;
  font-weight: 600;
  font-style: italic;
  padding: 0 0 0 1em;
}

.am-questionnaire_bd h3 span {
  position: relative;
}

.am-questionnaire_bd h3 span::before {
  font-family: "Font Awesome 5 Free";
  content: "\f14a";
  position: absolute;
  left: -1.2em;
  bottom: 0;
  line-height: 1.25em;
  font-weight: 500;
}

.am-questionnaire_bd .box {
  text-align: center;
  padding: 2em 0 0;
}

.am-questionnaire_bd section:nth-of-type(2) .box {
  text-align: center;
  padding: 2em 0;
}

.am-questionnaire_bd .box div {
  font-size: 30px;
  font-weight: 600;
}

.am-questionnaire_bd .box a.g-form {
  background: #bf1a5c;
  color: #ffffff !important;
  display: inline-block;
  padding: 0.5em 2em;
  margin: 0 0 0.25em;
}

.am-questionnaire_bd .box span {
  font-size: 16px;
  display: block;
}

.am-questionnaire_bd .note {
  text-align: left;
  display: inline-block;
  margin: 1em 0 0;
}

@media screen and (max-width: 899px) {

  .am-questionnaire_bd {
    font-size: 12px;
    border-bottom: 8.4vw solid #1a69b8;
    margin: 0 0 2.5em;
  }

  .am-questionnaire_bd section {
    border-left: 8.4vw solid #1a69b8;
    border-right: 8.4vw solid #1a69b8;
  }

  .am-questionnaire_bd h3 {
    font-size: 27px;
  }

  .am-questionnaire_bd .box {
    padding: 1.5em 1em 0;
  }

  .am-questionnaire_bd section:nth-of-type(2) .box {
    padding: 1.5em 1em 0;
  }

  .am-questionnaire_bd .box div {
    font-size: 21px;
  }

  .am-questionnaire_bd .box span {
    font-size: 12px;
  }

  .am-questionnaire_bd .note {
    text-align: left;
  }
}