@charset “UTF-8”;


/* =============================================
 contact.html
============================================= */

.p_title h1.contact_p_tit {
  background-image: url(../img/contact_p_tit_bg.png);
}

/* お問い合わせ
============================================= */
.contact {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact p {
  line-height: 1.5em;
  width: 100%;
  margin: 0 auto 1em;
  color: #333;
}

.tel {
  font-size: 3em;
  font-weight: bold;
  line-height: 1.5em;
  padding: 5%;
  text-align: center;
  color: #261a16;
  border-radius: 10px;
  background-color: #f7f1b5;
}

.tel span {
  font-size: .7em;
  font-weight: normal;
  color: #261a16;
}

.tel a:link,
.tel a:visited {
  text-decoration: none;
  color: #261a16;
}

.tel a:hover,
.tel a:focus {
  text-decoration: none;
  color: #261a16;
}

@media screen and (max-width:768px) {
  .tel {
    font-size: 2em;
  }
}

/* お問い合わせフォーム
============================================= */
#formWrap {
  line-height: 120%;
  width: 100%;
  margin: 0 auto;
  color: #555;
}

table.formTable {
  width: 100%;
  margin: 0 auto 35px;
  border-collapse: collapse;
}

table.formTable td,
table.formTable th {
  padding: 20px;
  color: #333;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
}

table.formTable th {
  font-weight: normal;
  width: 30%;
  text-align: left;
  background-color: #f7f1b5;
}
table.formTable td {
  background-color: #fff;
}

#formWrap input,
#formWrap textarea {
  padding: 7px 5px 5px 5px;
  color: #333;
  border: 1px solid #aaa;
  border-radius: 5px;
}

@media screen and (max-width:768px) {
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }

  table.formTable th,
  table.formTable td {
    display: block;
    width: auto;
  }

  table.formTable th {
    margin-top: 15px;
    border-bottom: 0;
  }

  table.formTable td {
    border-bottom: 0;
  }

  input[type='text'],
  textarea {
    font-size: 1.2em;
    display: block;
    width: 80%;
    padding: 5px;
  }

  input[type='submit'],
  input[type='reset'],
  input[type='button'] {
    display: block;
    width: 100%;
    height: 40px;
    margin-bottom: 35px;
  }
}

.btn {
  width: 300px;
  margin: 70px auto 35px;
  text-align: center;
}

.btn a {
  display: block;
  padding: 20px 0;
  border-radius: 20px;
  background-color: #0060a3;
}

.btn a:link,
.btn a:visited {
  text-decoration: none;
  color: #fff;
}

.btn a:hover,
.btn a:focus {
  text-decoration: none;
  opacity: .8;
  color: #fff;
}
