@charset "UTF-8";
/*********************************************************
共通
*********************************************************/
#contact {
  font-family: Avenir, 'Helvetica neue', Helvetica, '游ゴシック', YuGothic, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

@media screen and (min-width: 981px) {
  #contact {
    margin: 0 auto;
    max-width: 1024px;
    width: 90%;
  }
}

@media screen and (max-width: 980px) {
  #contact {
    margin: 0 auto;
    max-width: 940px;
  }
}

/*--タイトル・説明文--*/
#contact .title {
  font-size: 24px;
  border-bottom: dotted #C8C8C8 1px;
  margin: 3% 0 2% 0;
}

#contact .note {
  color: #4E4E4E;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 3% 0;
}

#contact .note span {
  display: block;
  font-weight: normal;
}

#contact .note span span {
  color: #F00;
  display: inline;
}

@media screen and (max-width: 768px) {
  #contact .title {
    font-size: 18px;
  }
}

/*--テーブル--*/
#contact table,
#contact tbody,
#contact tr,
#contact th,
#contact td {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
}

#contact tr {
  margin: 0 0 1rem 0;
}

#contact table {
  width: 95%;
  font-size: 14px;
  position: relative;
  margin: 0 auto 10px;
  padding: 8px;
  background-color: #F4F4F4;
  border: #CCC solid 1px;
  border-radius: 10px;
}

#contact th {
  background-image: url(http://repair-iphone-oyama.com/image.php?id=036);
  background-position: 0 .3rem;
  background-repeat: no-repeat;
  font-weight: normal;
  padding-left: 1.5em;
  text-align: left;
}

#contact th span {
  color: #F00;
  font-size: 12px;
  margin: 0 0 0 5px;
}

#contact th p {
  margin: .3em 0;
}

@media screen and (max-width: 768px) {
  #contact th p {
    margin: .5em 0;
  }
}

#contact td br {
  display: none;
}

@media screen and (max-width: 768px) {
  #contact td br {
    display: block;
    line-height: 2;
  }
}

#contact td input {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 2em;
}

#contact td [type=radio],
#contact td [type=checkbox] {
  width: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: auto;
}

#contact td textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 10em;
}

/*--ボタン--*/
#contact .submit {
  width: 20%;
  margin: 3% auto;
}

#contact .answerbutton {
  background: #000;
  border-radius: 5px;
  line-height: 50px;
  width: 100%;
  margin: 0 auto;
  color: #FFF;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#contact .returnbutton {
  background: #000;
  border-radius: 5px;
  line-height: 50px;
  width: 100%;
  margin: 0 auto;
  color: #FFF;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#contact .answerbutton:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  #contact .submit {
    width: 30%;
  }
}

@media screen and (max-width: 500px) {
  #contact .submit {
    width: 40%;
  }
}