/*------------------ m-firstセクション ------------------*/
.m-first{
  width: 100%;
  height: auto;
  background: url(../img/index/lp-bg.jpg) no-repeat center/cover;
  overflow: hidden;
  z-index: -1;
  padding-top: 180px;
    padding-bottom: 220px;
}
@media screen and (min-width: 768px) {
  .m-first{
    min-width: 768px;
  }
}
.m-first .m-intro {
}
.m-first .m-intro h2 {
  font-size: 66px;
  line-height: 80px;
  font-weight: bold;
  display: inline-block;
  padding: 4px 20px;
  color: #f8f9fa;
  letter-spacing: 8px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #004188ad, #007bffad, #07f4ffad);
  text-shadow: 2px 2px 8px rgb(0 0 0 / 50%);
}
.m-first .m-intro h2 span {
  font-size: 38px;
  color: #575757;
  text-shadow: 2px 2px 8px #f8f9fa;
}
.m-first .m-intro p {
  color: #575757;
  font-size: 20px;
  font-weight: bold;
  margin-top: 16px;
  background: #ffffffb5;
  display: inline-block;
  padding: 6px 20px;
}
@media screen and (max-width: 1000px) {
  .m-first .m-intro h2 {
    font-size: 58px;
  }
}
@media screen and (max-width: 768px) {
  .m-first .m-intro h2 {
    font-size: 34px;
    padding: 4px 12px;
    letter-spacing: 0px;
  }
  .m-first .m-intro h2 span {
    font-size: 26px;
  }
  .header {
    padding: 0;
  }
}
/*------------------ m-secondセクション ------------------*/
.m-second {
  margin: 60px 0;
  padding-bottom: 40px;
}
.m-second .m-count-read {
  text-align: center;
}
.m-second .m-count-read h3 {
  display: inline;
  font-size: 36px;
  font-weight: bold;
  background: linear-gradient(135deg, #004188ad, #007bffad, #07f4ffad);
  -webkit-background-clip: text;
  color: transparent;
}
@media screen and (max-width: 768px) {
  .m-second .m-count-read h3 {
    font-size: 24px;
  }
}
/*------------------ 斜め背景 ------------------*/
.m-third {
  background-color: #e5f1ff;
  -webkit-transform: skew(0deg, -3deg);
  position: relative;
}
.m-line1 {
  background: linear-gradient(135deg, #004188ad, #007bffad, #07f4ffad);
  -webkit-transform: skew(0deg,-3deg);
  position: relative;
  height: 6px;
}
.m-line2 {
  background: linear-gradient(135deg, #004188ad, #007bffad, #07f4ffad);
  -webkit-transform: skew(0deg,-3deg);
  position: relative;
  height: 6px;
  top: -2px;
}
/*------------------ thirdセクション ------------------*/
.m-third .third-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0;
  color: #6c757d;
}
.m-third .third-title {
  font-size: 48px;
  margin: 0;
  margin-bottom: 16px;
  font-weight: bold;
  color: #5282b5;
  text-shadow: 2px 2px 6px #adb5bd;
}
.m-third .third-text {
  font-size: 18px;
  font-weight: bold;
  border-bottom: solid 2px #5282b5;
  display: inline-block;
  letter-spacing: 3px;
}
@media screen and (max-width: 768px) {
  .m-third .third-title {
    font-size: 31px;
  }
  .m-third .third-subtitle {
    font-size: 14px;
  }
  .m-third .third-text {
    font-size: 16px;
  }
}
/*------------------ forthセクション ------------------*/
.m-forth {
  margin-top: 80px;
  margin-bottom: 120px;
}
.m-forth img {
  border-radius: 8px;
}
.m-forth-title {
  text-align: center;
  margin-top: -30px;
}
.m-forth-title h2 {
  font-size: 38px;
  margin: 0;
  font-weight: bold;
  color: #17a2b8;
  text-shadow: 2px 2px 6px #adb5bd;
  margin-top: 30px;
  margin-bottom: 30px;
}
.m-forth-title h2 span {
  font-size: 18px;
  font-weight: bold;
  color: #ffe879;
  text-shadow: 0px 1px 6px #575757;
}
@media screen and (max-width: 768px) {
  .m-forth-title h2 {
    font-size: 28px;
  }
}
.m-flow-box {
  
}
.m-flow-box h2 {
  font-size: 26px;
  margin: 0;
  font-weight: bold;
  color: #5282b5;
  text-shadow: 2px 2px 8px #adb5bd;
  margin-top: 20px;
  margin-bottom: 40px;
}
.m-flow-box h2 span {
  font-size: 18px;
  font-weight: bold;
  color: #ffe879;
  text-shadow: 0px 1px 6px #575757;
}
.m-flow-box img {
  width: 100%;
}
.m-flow-box img:hover {
  opacity: .6;
}
.m-flow-box p {
  color: #575757;
  margin: 8px 0;
}
.m-flow-box p:hover {
  opacity: .6;
}

.flow-box {
  text-align: center;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 0 6px #ccc;
}
.flow-box h3 {
  color: #17a2b8;
}
.flow-box img {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 20px;
}
.flow-box p {
  color: #17a2b8;
  font-size: 18px;
  font-weight: bold;
}

/*------------------ CTA誘導------------------*/
.m-cta {
  padding-bottom: calc(14vw + 10px);
  position: relative;
  overflow: hidden;
  background: linear-gradient( 135deg, #d4f9ff, #e9ecef, #a4d0ff);
  margin-top: 120px;
}
.m-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 10vw solid #fff;  /* 三角を白に */ 
  border-left: 100vw solid transparent;
}
.m-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 10vw solid #fff;   /* 三角を白に */ 
  border-right: 100vw solid transparent;
}
.m-cta h3 {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #17a2b8;
  text-shadow: 0 2px 6px #adb5bd;
}
.m-cta h3 span {
  font-size: 60px;
}
.m-cta .m-cta-text {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: bold;
  color: #5282b5;
  text-shadow: 0 2px 6px #dee2e6;
}
.m-cta-btn {
  
}
.m-cta-btn .container2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.m-cta-btn .btn {
  position: relative;
  display: inline-block;
  width: 277px;
  height: 50px;
  font-size: 1em;
  font-weight: bold;
  line-height: 60px;
  text-align: center;
  text-transform: uppercase;
  background-color: transparent;
  cursor: pointer;
  text-decoration:none;
  font-family: 'Roboto', sans-serif;
  font-weight:900;
  font-size:17px;
  letter-spacing: 0.045em;
}
.m-cta-btn .btn svg {
  position: absolute;
  top: 0;
  left: 0;
}
.m-cta-btn .btn svg rect {
  //stroke: #EC0033;
  stroke-width: 4;
  stroke-dasharray: 353, 0;
  stroke-dashoffset: 0;
  -webkit-transition: all 600ms ease;
  transition: all 600ms ease;
}
.m-cta-btn .btn p{
  background: rgb(255,130,130);
  background: -moz-linear-gradient(left,  rgba(255,130,130,1) 0%, rgba(225,120,237,1) 100%);
  background: -webkit-linear-gradient(left,  rgba(255,130,130,1) 0%,rgba(225,120,237,1) 100%);
  background: linear-gradient(to right,  rgba(255,130,130,1) 0%,rgba(225,120,237,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8282', endColorstr='#e178ed',GradientType=1 );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  margin-top: -5px;
}
.m-cta-btn .btn:hover svg rect {
  stroke-width: 4;
  stroke-dasharray: 196, 543;
  stroke-dashoffset: 437;
}
@media only screen and (max-width:767px) {
  .m-cta-btn .container2 {
    top: 140px;
  }
  .m-cta {
    padding-bottom: 280px;
  }
}
