@charset "utf-8";
/* CSS Document */

.aikotoba {
	padding: 40px 0 40px;	
	text-align: center;
}

.form {
  background-color: #e5e7e8;
  color: #151e3f;
  margin: 0 auto 5em;
  padding: 2em 1em; 
  max-width: 40rem;
  width: 90%;
  }

.aikotoba h2 {
	margin-bottom: 15px;
	font-size: 150%;
	font-weight: bold;
}
.aikotoba p.txt {
	margin-bottom: 15px;
	font-weight: bold;
}
.aikotoba input {
  padding: 5px;
  font-size: 1.4em;
  border: 2px solid #151e3f;
  max-width: 20rem;
  width: 80%;
}
.aikotoba button {
  display: block;
  margin: 2em auto 0;
  padding: .4em;
  font-size: clamp(1rem, 5vw, 1.2rem);
  color: #fff;
  background-color: #334387;
  border: 2px solid #334387;
  border-radius: .4em;
  max-width: 8rem;
  width: 80%;
  letter-spacing: .1em;
  cursor: pointer;
  }

/* フッタ位置調整　*/
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#footerArea{
  margin-top: auto;
}

@media only screen and (max-width: 768px) {
.aikotoba h2 {
	font-size: 120%;
}
}