/* =================================
 PC contact
================================= */

@media (min-width: 768px) {
  body.contact::before{
    background-image: url(../img/contact_bg.jpg);
  }
  .contact .page_main .page_main_img {
    background: url(../img/contact_main.jpg) no-repeat center;
    background-size: cover;
  }
  .sec_01{
    margin-bottom: 100px;
  }
  .form-cont{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 15px;
    border-bottom: 1px solid #333;
  }
  .form-cont label{
    width: 220px;
    margin-right: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #1c2e44;
    border-left: 4px solid;
    padding-left: 15px;
  }
  .form-cont label .required{
    font-size: 12px;
    background-color: red;
    padding: 0 5px;
    color: #fff;
    border-radius: 2px;
    margin-left: 10px;
  }
  .form-cont .form-input{
    width: calc(100% - 250px);
  }
  .form-cont .form-input input,
  .form-cont .form-input textarea{
    width: 100%;
    padding: 5px 10px;
  }
  .form-cont .form-input textarea{
    height: 200px;
  }
  form table.tbl_02 th{
    width: 220px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
  }
  form table.tbl_02  .required{
    font-size: 12px;
    background-color: red;
    padding: 0 5px;
    color: #fff;
    border-radius: 2px;
    margin-left: 10px;
  }
  

  form table.tbl_02  input,
  form table.tbl_02  textarea{
    width: 100%;
    padding: 5px 10px;
  }
  form table textarea{
    height: auto;
    min-height: 200px;
    resize: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
  }
  

  form button[type="submit"]{
    display: block;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    width: 300px;
    height: 50px;
    position: relative;
    border-radius: 4px;
    margin: 50px auto 0;
    border: 1px solid;
    background-color: #1c2e44;
    color: #fff;  
  }
  form button[type="submit"]::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-top: 1px solid;
    border-right: 1px solid;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 18px;
    top: 20px; 
  }
  form button[type="submit"]:hover{
    color: #1c2e44;
    background-color: #fff;  
  }
  
  form table.tbl_02 input[name="name"],
  form table.tbl_02 input[name="kana"]{
    width: 30%;
  }
  form table.tbl_02 input[name="tel"],
  form table.tbl_02 input[name="postal-code"]{
    width: 20%;
  }
  form table.tbl_02 input[name="email"],
  form table.tbl_02 input[name="email-check"]{
    width: 60%;
  }
  
  
  

  .sec_02 p:not(:last-of-type){
    margin-bottom: 40px;
  }
}

/* =================================
 SP contact
================================= */

@media (max-width: 767px) {
  body.contact{
    background-image: url(../img/contact_bg.jpg);
  }
  .contact .page_main .page_main_img {
    background: url(../img/contact_main.jpg) no-repeat center;
    background-size: cover;
  }
  .sec_01,.sec_02{
    margin-bottom: 100px;
  }
  .sec_01 .wrap03{
    padding: 0;
  }

  .form-cont{
    padding: 20px 0;
    border-bottom: 1px solid #333;
  }
  .form-cont:first-of-type{
    padding-top: 0;
  }
  .form-cont label{
    width: 100%;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    color: #1c2e44;
    padding-left: 10px;
    border-left: 4px solid;
  }
  .form-cont label .required{
    font-size: 10px;
    background-color: red;
    padding: 0 5px;
    color: #fff;
    border-radius: 2px;
    margin-left: 10px;
  }
  .form-cont .form-input{
    width: 100%;
  }
  .form-cont .form-input input,
  .form-cont .form-input textarea{
    width: 100%;
    padding: 5px 10px;
  }
  .form-cont .form-input textarea{
    height: 200px;
  }
  form button[type="submit"]{
    display: block;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    width: 100%;
    height: 40px;
    position: relative;
    border-radius: 4px;
    margin-top: 20px;
    border: 1px solid;
    background-color: #1c2e44;
    color: #fff;
  }
  form button[type="submit"]::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-top: 1px solid;
    border-right: 1px solid;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 16px;
    top: 16px;
  }
  
  form table.tbl_02 th{
    width: 100px;
    font-weight: bold;
    text-align: left;
  }
  form table.tbl_02  .required{
    font-size: 0.8em;
    background-color: red;
    padding: 0 5px;
    color: #fff;
    border-radius: 2px;
    margin-left: 10px;
  }
  form table.tbl_02  input,
  form table.tbl_02  textarea{
    width: 100%;
    padding: 5px 10px;
  }
  form table textarea{
    min-height: 200px;
  }
  
  
  .sec_02 p:not(:last-of-type){
    margin-bottom: 20px;
  }
}
