.first-top-text {
  margin-top: 3em;
  margin-bottom: 1em;
  text-align: center;
}
.first-top-text2 {
  margin-top: 1em;
  margin-bottom: 0;
  text-align: center;
}
.step-wrap {
  border: 2px solid #cccccc;
  margin: 3em 6em 1.5em 6em;
}
.step-title-wrap {
  background-color: #ffffff;
  display: inline-flex;
  justify-content: center; /* 子要素をflexboxにより中央に配置する */
  align-items: center; /* 子要素をflexboxにより中央に配置する */
  position: relative;
  left: -2em;
  top: -2em;
}
.step-no {
  background-color: #6601FF;
  color: #ffffff;
  border-radius: 30px;
  width: 60px;
  height: 60px;
  padding-top: 12px;
  text-align: center;
  font-size: 1.3em;
  line-height: 1em;
}
.step-title {
  flex: 1;
}
.step-title h2 {
  padding: 0 .5em;
}
.step-text {
  padding: 0 2em 2em 2em;
  margin-top: -1em;
}
.step-text h3 {
  font-size: 1.2em;
  margin-bottom: .5em;
}
.step-text p {
  font-size: 1em;
  margin-bottom: 1.5em;
  line-height: 1.4em;
}
.step-img {
  padding: 0 2em .8em 2em;
  margin-top: -3em;
}
.bg-gray {
  background-color: #F4F4F4;
}
/* 各項目へのメニューボタン */
.first-menu-wrap {
  padding: 1em;
}
.first-menu-wrap a {
  color: #000;
}
.first-menu-wrap a:hover {
  opacity: .6;
}
.first-menu {
  border: 1px solid #000;
  padding: 1em;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.first-menu-active {
  border: 1px solid #dc143c;
}
.first-menu img {
  width: 45px;
}
.first-menu-icon {
  margin-right: 1em;
  flex: 1;
}
.first-menu-text {
  width: 100%
}
.first-menu-arrow {
  width: 50px;
  flex: 1;
}
@media (max-width:991px) {
  .first-top-text {
    text-align: left;
  }
  .first-top-text2 {
    text-align: left;
  }
  .step-wrap {
    border: 2px solid #cccccc;
    margin: 3em 0 1.5em 1em;
  }
  .step-title-wrap {
    display: inline-flex;
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: center; /* 子要素をflexboxにより中央に配置する */
    position: relative;
    left: -2em;
    top: -2em;
  }
  .step-title h2 {
    font-size: 1.5em;
    font-weight: bold;
  }
  .step-no {
    background-color: #6601FF;
    color: #ffffff;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    padding-top: 12px;
    text-align: center;
    font-size: 1.3em;
    line-height: 1em;
  }
  .first-menu-wrap {
    padding: .5em;
  }
  .first-menu {
    padding: .5em;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .first-menu img {
    width: 45px;
  }
  .first-menu-icon {
    margin-right: .5em;
    margin-left: -0.3em;
    flex: 1;
  }
  .first-menu-text {
    width: 100%
  }
  .first-menu-arrow {
    width: 30px;
    flex: 1;
  }
}
@media (max-width:767px) {
  .first-top-text {
    text-align: left;
  }
  .first-top-text2 {
    text-align: left;
  }
  .step-wrap {
    border: 2px solid #cccccc;
    margin: 3em 0 1.5em 2em;
  }
  .step-title-wrap {
    display: inline-flex;
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: center; /* 子要素をflexboxにより中央に配置する */
    position: relative;
    left: -2em;
    top: -2em;
  }
  .step-title h2 {
    font-size: 1.3em;
    font-weight: bold;
  }
  .step-no {
    background-color: #6601FF;
    color: #ffffff;
    border-radius: 27px;
    width: 54px;
    height: 54px;
    padding-top: 12px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1em;
  }
  .first-menu img {
    width: 40px;
  }
}