.contact-1 {
  margin-top: 48px;
  margin-bottom: 95px;
  align-items: center;
  padding: 0 10%;
}

.contact-1 p {
  white-space: pre-wrap;
  text-align: center;
}

.contact-1 h3 {
  font-size: 36px;
  padding-bottom: 18px;
}

  form.contact-form {
    width: 100%;
    margin: 10px auto;
    font-size: 14px;
    font-family:adobe-caslon-pro, serif;
    font-weight: 100;
    line-height: 25.079px;
    letter-spacing: -0.5px;
  }

  form.contact-form span {
    text-align: center;
    display: block;
    font: inherit;
    font-size: 25.079px;
  }

  form.contact-form p span {
    text-align: center;
    display: block;
    font: inherit;
    font-size: 14px;
  }

  form.contact-form ul {
    margin: 0;
    list-style: none;
  }
.contact-form li {
  display: flex;
}

.contact-box {
  background-color: #f2f3f5;
  padding: 0.5% 2%;
  width: 120px;
}

.contactP_box {
  display: inline;
  padding: 0 30%;
  }

  form.contact-form ul li {
    padding: 0;
    border-bottom: 1px solid #ddd;
    margin: 0;
    text-align: center;
    width: 100%;
  }
  

  form.contact-form ul li input[type="text"] {
    width: 90%;
    background: none;
    margin: 0;
    padding: 10.33333385px 2%;
    border: 0;
    border-bottom: 3px solid rgba(0, 0, 0, 0);
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    -webkit-transition: border-bottom 0.35s ease;
    transition: border-bottom 0.35s ease;
  }
  form.contact-form ul li input[type="text"]:focus {
    outline: none;
    border-bottom: 3px solid #D71518;
  }
  form.contact-form ul li input[type="text"]::-webkit-input-placeholder {
    -webkit-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li input[type="text"]:-moz-placeholder {
    -webkit-transition: color 0.35s ease;
    -moz-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li input[type="text"]::-moz-placeholder {
    -webkit-transition: color 0.35s ease;
    -moz-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li input[type="text"]:-ms-input-placeholder {
    -webkit-transition: color 0.35s ease;
    -ms-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li input[type="text"]:focus::-webkit-input-placeholder {
    color: #D71518;
  }
  form.contact-form ul li input[type="text"]:focus:-moz-placeholder {
    color: #D71518;
  }
  form.contact-form ul li input[type="text"]:focus::-moz-placeholder {
    color: #D71518;
  }
  form.contact-form ul li input[type="text"]:focus:-ms-input-placeholder {
    color: #D71518;
  }
  form.contact-form ul li textarea {
    display: inline-block;
    vertical-align: top;
    width: 88%;
    background: none;
    padding: 10.33333385px 2%;
    resize: none;
    border: 0;
    border-bottom: 3px solid rgba(0, 0, 0, 0);
    text-align: left;
    height: auto;
    min-height: 133px;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    -webkit-transition: border-bottom 0.35s ease;
    transition: border-bottom 0.35s ease;
  }
  form.contact-form ul li textarea:focus {
    outline: none;
    border-bottom: 3px solid #D71518;
  }
  form.contact-form ul li textarea::-webkit-scrollbar {
    width: 4px;
  }
  form.contact-form ul li textarea::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 2px;
  }
  form.contact-form ul li textarea::-webkit-input-placeholder {
    -webkit-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li textarea:-moz-placeholder {
    -webkit-transition: color 0.35s ease;
    -moz-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li textarea::-moz-placeholder {
    -webkit-transition: color 0.35s ease;
    -moz-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li textarea:-ms-input-placeholder {
    -webkit-transition: color 0.35s ease;
    -ms-transition: color 0.35s ease;
    transition: color 0.35s ease;
    color: #ccc;
  }
  form.contact-form ul li textarea:focus::-webkit-input-placeholder {
    color: #D71518;
  }
  form.contact-form ul li textarea:focus:-moz-placeholder {
    color: #D71518;
  }
  form.contact-form ul li textarea:focus::-moz-placeholder {
    color: #D71518;
  }
  form.contact-form ul li textarea:focus:-ms-input-placeholder {
    color: #D71518;
  } 
  form.contact-form ul li input[type="submit"] {
    margin: 15px auto 15px;
    padding: 10.33333385px 19.375px;
    border: 1px solid #d0d0d0;
    display: inline-block;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0);
    font-weight: inherit;
    font-family: inherit;
    font-size: inherit;
    -webkit-transition: background border 0.35s ease;
    transition: background border 0.35s ease;
  }
  form.contact-form ul li input[type="submit"]:focus {
    outline: none;
    border: 1px solid #D71518;
  }
  form.contact-form ul li input[type="submit"]:hover {
    background: #eaeaea;
    border: 1px solid #D71518;
  }
  form.contact-form ul li input[type="submit"]:active {
    background: #d0d0d0;
  }


  /********* SP版の画面サイズの時の設定 **********/
@media(max-width: 1000px){

}
@media(max-width: 768px){
  
  article {
    padding: 0;
}
    .contact-1 {
    padding: 0 5%;
    }
    
}
@media(max-width: 480px){
  .contact-1 p {
    padding: 0;
  }

  .form.contact-form {
  font-size: 14px;
  } 

  form.contact-form p span {
  font-size: 12px;
  }

  .contact-box {   
  width: 100px;
  height:auto;
  line-height:60px;
  }

  form.contact-form ul {
    padding: 0%;
  }
}