@charset "utf-8";


/* ---------------------------------------------------------------------------------------------

    contact

--------------------------------------------------------------------------------------------- */
header {
  background: rgba(59,59,59,1);
}
table {
  text-align: left;
  margin: auto;
}
.must {
  color: #cc0000;
  font-size: .8em;
  line-height: 2.5;
}
tr {
  border-top: 1px solid #d4af9b;
  border-bottom: 1px solid #d4af9b;
}
.privacy_text{
  border-bottom: none;
}
.privacy_btn {
  border-top: none;
}
input, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #acacac;
}
input[type="checkbox"] {
  margin-right: 1em;
  vertical-align: middle;
}
.scroll {
  background: #fff;
  overflow: auto;
  height: 250px;
  border: 1px solid #acacac;
  max-width: 580px;
  font-size: 16px;
  padding: 10px;
}
h3 {
  margin-top: 16px;
  margin-bottom: 4px;
}

.submit,.back {
  width: 100%;
  cursor: pointer;
  margin-top: 2em;
}
/* Window size ～767pxまで */
@media only screen and ( max-width : 767px ) {
  section:first-of-type {
    padding-top: 160px;
  }
  .box {
    margin-bottom: 10px;
    margin-left: 1em;
  }
  table {
    width: 90%;
  }
  tr {
    padding: 10px 0;
  }
  th {
    padding-top: 10px;
  }
  td {
    padding-bottom: 30px;
  }
  th, td {
    display: block;
  }
  textarea {
    height: 150px;
  }
  input[type="checkbox"] {
    width: 24px;
    height: 24px;
  }
  label {
    font-size: 18px;
  }
  .bg {
    padding: 24px 0;
  }
}
/* Window size 768px から */
@media print, screen and ( min-width : 768px ) {
  section:first-of-type {
    padding-top: 190px;
  }
  .bg {
    padding: 3em;
  }
  .box {
    margin-bottom: 1em;
  }
  .box p {
    margin-left: 8%;
  }
  table {
    width: 90%;
  }
  th, td {
    padding: 2em;
    vertical-align: top;
  }
  th {
    width: 40%;
  }
  textarea {
    height: 250px;
    font-size: 20px;
  }
  input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
}
