@charset "utf-8";

/* contact
****************************************************/
#contact table {
  border-collapse: collapse;
  width: 100%;
  border-top: 2px solid #e50013;
  border-bottom: 2px solid #e50013;
}
#contact table th {
  white-space: nowrap;
  width: 200px;
}
#contact table th,
#contact table td {
  padding: 1em 1em;
  border-top: 1px dashed #ccc;
}
#contact table tr:first-child th,
#contact table tr:first-child td {
  border-top: 0px dashed #ededed;
}
#contact table tr:nth-of-type(2n + 1) th,
#contact table tr:nth-of-type(2n + 1) td {
  background-color: #f1f1f1;
}
#contact table td input,
#contact table td select {
  padding: 0.3em;
  margin-bottom: 0.3em;
}
#contact .btn input[type="submit"],
#contact .btn input[type="button"] {
  padding: 0.5em 1.5em;
}
#contact .must {
  color: #fff;
  padding: 0.1em 0.3em;
  float: right;
  vertical-align: top;
  background-color: #e50013;
}
#contact .btn a {
  color: #c50011;
  border: 1px solid #c50011;
  text-decoration: none;
  transition: all 0.3s linear;
  padding: 1em;
}
#contact .btn a:hover {
  color: #fff;
  background-color: #c50011;
}
.thanks {
  text-align: center;
  margin-bottom: 2.5em;
}
.for-pc {
  display: block;
}
.for-sp {
  display: none;
}

.addText {
  margin: 0.3em 0 0;
}
.addText li {
  text-indent: -1em;
  margin-left: 1em;
}

span.view0 {
  background-color: rgba(60%, 60%, 60%, 1) !important;
  pointer-events: none;
}

div.errortext {
  color: #e50011;
  border: 1px solid #e50011;
  padding: 10px 0;
  margin: 30px 0;
}

/* etc
*********************************************************************/
@media screen and (max-width: 1200px) {
  #mainvisual img,
  .topicpath,
  .sec {
    max-width: 768px;
    margin: auto;
  }
}
@media screen and (max-width: 767px) {
  #mainvisual img {
    height: 8rem;
    margin-left: 0.5rem;
    overflow: hidden;
  }
  .topicpath {
    margin: 0.5rem;
  }
  .topicpath,
  .sec {
    max-width: 425px;
  }
  #contact .must {
    color: #fff;
    padding: 0.1em 0.3em;
    margin: 0 5px 0 1em;
    float: none;
    vertical-align: top;
    background-color: #e50013;
  }
  #contact table tr th,
  #contact table tr td {
    display: block;
    width: calc(100% - 2em);
    border-top: none;
  }
  #contact table tr th {
    background-color: #f1f1f1 !important;
  }
  #contact table tr td {
    background-color: white !important;
  }
  #contact table tr:not(:last-child) {
    border-bottom: 1px solid #333;
  }
  .for-pc {
    display: none;
  }
  .for-sp {
    display: block;
  }
  #contact .btn {
    margin: 1rem 0 4rem;
  }
  #contact .btn input[type="submit"],
  #contact .btn input[type="button"] {
    display: block;
    margin: 0 auto;
    width: 17rem;
  }
}

textarea {
  box-sizing: border-box;
}

select {
  height: 2.5rem;
}