@charset "utf-8";
html {
  font-size: 100%;
}
a {
  display: inline-block;
}
a {
  text-decoration: none;
}

img {
  width: 100%;
  vertical-align: bottom;
}
.section-title {
  padding: 50px 0;
  text-align: center;
}
.section-title img {
  width: 70%;
}

.container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 3%;
}
li {
  list-style: none;
}
section {
  padding: 50px 0;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cta-btn {
  padding: 1% 7%;
  background-color: #22ac38;
  color: #fff;
  font-weight: bold;
  font-size: 30px;
  box-shadow: 4px 4px 8px -5px #777777;
  border-radius: 10px;
  border: 4px solid #fff;
  position: relative;
  overflow: hidden;
}
.cta-btn::before {
  position: absolute;
  content: "";
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fbfbfb;
  animation: btn_animation 2.5s ease-in-out infinite;
}
.header-ctaBtn {
  font-size: 20px;
}

@keyframes btn_animation {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
.cta-btn::after {
  /* 擬似要素で三角アイコンをつくる */
  content: "";
  display: inline-block;
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent #fff;
  display: inline-block;
  width: 0;
  height: 0;
  /* 矢印アイコンの位置を設定 */
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%); /* translateYのみ */
}
/* ヘッダー */
header {
  padding: 10px 0;
}
.header-logo {
  width: 30%;
  vertical-align: middle;
}
.header-ctaArea {
  width: 70%;
  text-align: right;
}

/* FV */

.fv {
  position: relative;
  text-align: center;
}

.fv-cta {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

/* お悩み */
.nayami {
  background: url(../img/nayami-bg.jpg) no-repeat left top / cover;
}
/* ４つの約束 */
.yakusoku {
  background: #fffbe9;
}

/* お客様の声 */
.voice {
  background: #eb6877;
}
.voice-item {
  width: 49%;
}
/* 保証 */
.hosyou {
  background: #fffbe9;
}
/* メッセージ */
.message {
  background: url(../img/message-bg.jpg) no-repeat left top / cover;
}
.message_2 {
  background: url(../img/message_2-bg.jpg) no-repeat left top / cover;
}
/* CTA  */
.cta {
  text-align: center;
  background: url(../img/cta-bg.jpg) no-repeat left top / cover;
}
.cta-text {
  width: 60%;
}
.cta .section-title {
  padding-bottom: 0;
}
/* フッター */
footer {
  text-align: center;
  padding: 50px 0;
  background-color: rgb(21, 21, 21);
}
.footer-logo {
  background-color: #fff;
  display: inline-block;
  margin-bottom: 30px;
}
footer img {
  width: 250px;
  padding: 3.5%;
}
footer a {
  display: block;
  text-align: center;
  color: #fff;
}
.copyright {
  text-align: center;
  color: #fff;
  margin: 30px 0;
}
@media screen and (max-width: 768px) {
  .fv-cta {
    font-size: 20px;
  }
}
@media screen and (max-width: 425px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .flex {
    flex-direction: column;
  }
  header .flex {
    flex-direction: row;
  }
  header img {
    vertical-align: middle;
  }

  section {
    padding: 30px 0;
  }
  .section-title {
    padding: 30px 0;
  }
  .section-title img {
    width: 100%;
  }
  .header-logo {
    width: 50%;
  }
  .header-ctaArea {
    width: 50%;
  }
  .header-ctaBtn {
    padding: 3% 12%;
    font-size: 16px;
  }
  .header-ctaBtn::after {
    border-width: 6px 0 6px 6px;
  }

  .fv-cta,
  .cta-btn--bottom {
    bottom: 2%;
    width: 95%;
    padding: 4%;
    font-size: 1.8em;
  }
  .voice-item {
    width: 99%;
  }
  .voice-item img {
    transform: translateX(6px);
  }
  .cta .section-title {
    padding-bottom: 20px;
  }
  .cta-text {
    width: 100%;
  }
}
