/***********************************
contact
************************************/

#contact-box {
}

#contact-box .req {
  color: #ff0000;
}

#contact-box textarea,
#contact-box input.l-box {
  width: 100%;
}

#contact-box textarea,
#contact-box input {
  margin: 0;
  font-size: 14px;
}

#contact-box .send-box p,
#contact-box p.read-box {
  display: block;
}

#contact-box strong {
  display: block;
}

#contact-box table {
  background: #eee;
  width: 100%;
}

#contact-box table th, 
#contact-box table td {
  border-bottom: 2px solid #fff;
  text-align: left;
  position: relative;
}

#contact-box ul#choice-type {
  position: relative;
  /* overflow: hidden; */
}

#contact-box ul#choice-type input {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

#contact-box ul#choice-type label {
  /* width: 100%; */
  border: 1px solid #ccc;
  background-color: #fff;
  display: block;
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 2px;
  margin-left: 2px;
  margin-right: 2px;
}

#contact-box ul#choice-type input:checked + label {
  text-shadow: 0 0 1px rgba(0,0,0,.7);
  border: 3px solid #0a75d8;
  margin: 0 !important;
}

#contact-box ul#choice-type label h3 {
  display: block;
  margin-bottom: 5px;
}

#contact-box ul#choice-type label img {
  float: left;
  margin-right: 15px;
}

/*PC CSS*/
@media print,screen and (min-width:769px) {
  
  #contact-box {
    font-size: 14px;
  }
  
  #contact-box strong {
    text-align: center;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  
  #contact-box p.read-box {
    padding-top: 40px;
    padding-bottom: 50px;
  }
  
  #contact-box ul#choice-type li {
    float: left;
    width: 49%;
    margin-bottom: 10px;
  }
  
  #contact-box ul#choice-type li:nth-child(even) {
    float: right;
  }
  
  #contact-box ul#choice-type label {
    padding: 20px;
  }
  
  #contact-box ul#choice-type label img {
    width: 100px;
  }
  
  #contact-box table {
    margin-bottom: 50px;    
  }
  
  #contact-box table th,
  #contact-box table td {
    padding: 20px;
  }
  
  #contact-box table th {
    width: 30%;
  }
  
  #contact-box table td {
  }
  
  #contact-box table td:first-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  #contact-box table .line_w {
    border-bottom: 50px solid #fff;;
  }
  
  #contact-box .send-box {
    text-align: center;
  }
  
  #contact-box .send-box p {
    margin-bottom: 25px;
    text-align: center;
  }
  
}

/*sp*/
@media screen and (max-width:768px){
  
  #contact-box {
    font-size: 14px;
  }
  
  #contact-box strong {
    text-align: center;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 15px;
    margin-top: 10px;
  }
  
  #contact-box textarea,
  #contact-box input {
    margin: 0;
    min-height: 30px;
  }
  
  #contact-box input.m-box {
    width: 69%;
  }
  
  #contact-box p.read-box {
    padding-top: 20px;
    padding-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
  
  #contact-box ul#choice-type li {
    width: 100%;
    margin-bottom: 10px;
  }
  
  #contact-box ul#choice-type li:nth-child(even) {
    float: right;
  }
  
  #contact-box ul#choice-type label {
    padding: 10px;
  }
  
  #contact-box ul#choice-type label img {
    width: 100px;
  }
  
  #contact-box table {
    margin-bottom: 0px;
  }
  
  #contact-box table th {
    padding-top :10px;
    padding-left: 10px;
    display :block;
  }

  #contact-box table td {
    padding: 10px;
    display :block;
  }
  
  #contact-box table th {
    border-bottom: none;
  }
  
  #contact-box table td {
    border-bottom: 2px solid #fff;
  }
  
  #contact-box table td:first-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  #contact-box .send-box {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
  }
  
  #contact-box .send-box p {
    margin-bottom: 25px;
    text-align: left;
  }
  
  #contact-box .send-box input {
    width: 60%;
    line-height: 35px;
  }
  
  #contact-box .tmg {
    margin-top: 5px;
  }

}
   