@charset "utf-8";

/* base */
html{
  font-size: 62.5%;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*, *::before, *::after{
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body{
  text-align: center;
  font-size: 10px;
  font-family: 'Noto Sans JP', YuGothic, 'Yu Gothic', 'ヒラギノ角ゴシック', 'Hiragino Sans', sans-serif;
  color: #000;
  line-height: 1.75;
  width: 100%;
  background-color: #fff;
  font-weight: 400;
  font-feature-settings: "palt" 1;
}

img{
  max-width: 100%;
  height: auto;
}

a:hover{
  text-decoration: none;
}

.container{
  position: relative;
}

/* section-02 の位置 */
#section-04 .mail-form {
  bottom: 52.5%;
}

.mail-form {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: 86%;
  max-width: 650px;
}

.mail-input {
  display: block;
  width: 100%;
  height: 75px;
  padding: 0 20px;
  margin-bottom: 15px;

  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;

  font-size: 20px;
  color: #333;
  outline: none;
}

.mail-input::placeholder {
  color: #999;
}

.mail-input:focus {
  border-color: #666;
}

.mail-submit {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;

  border: 0;
  background: none;
  cursor: pointer;
}

.mail-submit img {
  display: block;
  width: 100%;
  height: auto;
}

/* LP本体 */
.container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* ボタンアニメーション */
@keyframes btnPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.10); }
  100% { transform: scale(1); }
}

.mail-submit img {
  display: block;
  width: 100%;
  height: auto;
  animation: btnPulse 1.5s ease-in-out infinite;
}

/* footer */
#footer {
  text-align: center;
  background: #000;
  font-size: 1.8em;
  padding: 2em 0;
  color: #fff;
}

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

/* スマホ */
@media screen and (max-width: 600px) {

  /* メールフォーム全体 */
  .mail-form {
    width: 90%;
    bottom: 17%;
  }

  /* メールアドレス入力欄 */
  .mail-input {
    width: 100%;
    height: auto;
    padding: 3% 4%;
    margin-bottom: 4%;
    font-size: 3.5vw;
    line-height: 1.5;
    border-radius: 6px;
  }

  /* ボタン */
  .mail-submit {
    width: 100%;
  }

  .mail-submit img {
    width: 100%;
    height: auto;
  }

  /* フッターをスマホだけ小さく */
  #footer {
    font-size: 0.8em;
    line-height: 1.6;
  }

}
