@charset "UTF-8";

html {
  font-family: "Noto Sans JP", sans-serif;
}

/* main */

main {
  max-width: 800px;
  margin: 0 auto;
}

img {
  width: 100%;
  vertical-align: bottom;
}

.fv {
  position: relative;
}

.title {
  position: absolute;
  top: 28%;
  padding: 0 24% 0 4%;
}

body {
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

@media screen and (max-width: 767px) {
  .title {
    top: 0;
    padding: 32% 24% 0 4%;
  }
}

.cta_area {
  position: relative;
}

.btn {
  padding: 5%;
}

.btn_frame {
  position: absolute;
  top: 24%;
}

.submit {
  margin: -3%;
}

.about,
.who,
.result,
.content {
  width: 100%;
  margin: 0 auto;
}

.btn_frame2 {
  position: absolute;
  top: 26%;
}

/*フォーム*/

.input {
  margin: 0 auto;
  width: 90%;
  padding: 15px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .input {
    padding: 8px;
  }
}

input[type="email"] {
  border: none;
  outline: none;
  margin: 0 auto;
  font-size: 1.5rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  input[type="email"] {
    font-size: 1rem;
  }
}

input[type="image"] {
  width: 100%;
  margin: 0 auto;
}

input:first-child {
  border: 1px solid #b3b3b3;
  margin: 2% 0% 4%;
}

/*フッター*/

footer {
  padding: 3% 0 0 0;
  color: #fff;
  background: #000;
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
  footer {
    font-size: 0.7rem;
    padding: 5% 0 0 0;
  }
}

footer a {
  color: #fff;
  text-decoration: none;
}

.nav {
  text-align: center;
  padding: 0 0 2%;
  display: grid;
  grid-auto-flow: column;
  gap: 10px 40px;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .nav {
    grid-auto-flow: row;
    gap: 10px;
  }
}

.copy {
  text-align: center;
  padding: 0 0 2%;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .copy {
    padding: 2% 0 4%;
  }
}

/*アニメーション*/

.pulsate-bck {
  -webkit-animation: pulsate-bck 1s ease-in-out infinite both;
  animation: pulsate-bck 1s ease-in-out infinite both;
}

@-webkit-keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.slide-top {
  -webkit-animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
}

@keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
}
