@charset "UTF-8";
.next-ems .header {
  padding: 20px 50px 13px;
}

.next-ems .header .logo {
  margin-top: 0;
}

.next-ems .main {
  position: relative;
  padding-top: 218px;
  padding-bottom: 100px;
}

.next-ems .main:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110px;
  background: url("../images/main_bg.jpg") no-repeat center;
  background-size: cover;
}

.next-ems .main .container {
  position: relative;
  z-index: 2;
}

.ems-lead {
  margin-top: 30px;
  line-height: 2.2;
}

.ems-note {
  font-size: 14px;
  color: #777;
}

.ems-section {
  margin-top: 90px;
}

.ems-section p {
  line-height: 2.2;
}

.ems-section .common-title {
  margin-bottom: 40px;
}

/* 特徴カード（トップページのカード見た目を流用しつつ6枚で折返し） */
.ems-features {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 0;
}

.ems-features .item {
  background: #f4f8fb;
  padding: 40px 25px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: calc((100% - 62px) / 3);
}

.ems-features .item .tt {
  font-size: 22px;
  letter-spacing: 2px;
  margin: 0 0 20px;
}

/* システム構成フロー */
.ems-flow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  gap: 50px;
}

.ems-flow .box {
  width: calc(33.333% - 34px);
  border: 2px solid #0065a9;
  border-radius: 8px;
  padding: 30px 20px;
  background: #fff;
  position: relative;
  text-align: center;
}

.ems-flow .box .tt {
  font-size: 20px;
  color: #0065a9;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.ems-flow .box p {
  line-height: 1.9;
  text-align: left;
}

.ems-flow .box:not(:last-child):after {
  content: "⇄";
  position: absolute;
  right: -40px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 28px;
  color: #0065a9;
}

/* 開発ステータス */
.ems-status {
  border-top: 1px solid #ddd;
}

.ems-status li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  padding: 18px 10px;
  border-bottom: 1px solid #ddd;
  line-height: 1.8;
}

.ems-status li .state {
  color: #0065a9;
  font-weight: bold;
  white-space: nowrap;
}

.ems-section .ems-note {
  display: block;
  margin-top: 25px;
}

/* お問い合わせCTA */
.ems-cta {
  border: 2px solid #0065a9;
  border-radius: 8px;
  padding: 45px 30px;
  text-align: center;
}

.ems-cta .txt-medium {
  margin: 0 0 15px;
}

@media screen and (max-width: 768px) {
  .next-ems .header {
    padding: 15px;
  }
  .next-ems .main {
    padding-top: 150px;
    padding-bottom: 60px;
  }
  .next-ems .main:after {
    height: 80px;
  }
  .ems-section {
    margin-top: 60px;
  }
  .ems-features .item {
    padding: 30px 15px;
    width: calc(100% - 20px);
  }
  .ems-features .item .tt {
    font-size: 18px;
    letter-spacing: 0;
  }
  .ems-flow {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 45px;
  }
  .ems-flow .box {
    width: 100%;
  }
  .ems-flow .box:not(:last-child):after {
    content: "⇅";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -40px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .ems-status li {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 5px;
  }
  .ems-cta {
    padding: 30px 15px;
  }
}
