textarea {
  height: 110px;
  resize: none;
  padding: 5px;
}

input,
textarea {
  font-family: 'Noto Sans JP', sans-serif;
  color: #3d3d3f;
  font-size: 16px;
  border: 1px solid #999;
}

input {
  padding: 2px 5px;
}

label {
  padding: 2px 0px;
}

.contactItem {
  display: grid;
  grid-template-columns: 0.22fr 1fr;
  align-items: center;
  padding: 8px 0;
  border: none;
}

.special {
  height: 110px;
}

.contactItem label,
input {
  height: 100%;
}

.contactItem textarea {
  height: 100px;
}

.buttonWrapper {
  display: flex;
  justify-content: flex-end;
  padding: 5px;
  border: none;
  width: 90%;
  margin: 0 auto;
}

.buttonWrapper button {
  width: 120px;
  height: 45px;
  margin: 0 10px;
  border: none;
  border-radius: 3px;
  background-color: #242424;
  color: #ffff;
  font-weight: 600;
  font-size: 15px;
}

.buttonWrapper button:hover,
button:focus {
  background-color: #999;
  color: #242424;
}

.contactInfo {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 25px;
}

.phoneNumber img {
  height: 35px;
}

.phoneNumber span {
  font-size: 3rem;
  font-weight: bold;
  color: #5f5f5f;
  margin-bottom: 0;
  letter-spacing: 2px;
  margin-left: 10px;
}

.mailMsg {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #5f5f5f;
}

.requiredMark {
  color: red;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (min-width: 577px) and (max-width: 992px) {
  .contactItem {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
  }

  .contactInfo {
    width: 90%;
  }

  .phoneNumber img {
    height: 25px;
  }

  .phoneNumber span {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .contactItem {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    padding: 5px 0;
  }

  .special {
    height: 140px;
  }

  .buttonWrapper {
    display: flex;
    justify-content: center;
    margin: 25px auto;
  }

  .contactInfo {
    width: 80%;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
  }

  .phoneLeftText {
    font-size: 12px;
    margin-top: 5px;
  }

  .phoneNumber img {
    height: 22px;
  }

  .phoneNumber span {
    font-size: 2rem;
  }
}
