/* media query */
#contents {
  color: #000;
}

nav.navStd ul li.enquete a {
  background-color: #f5f5f5;
  color: #222;
}

nav.navStd.mypage > ul li a {
  padding: 10px 14px 10px 20px;
}

.firstText {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
}
@media all and (max-width: 1200px) {
  .firstText {
    max-width: 100%;
    margin-left: 30px;
    margin-right: 30px;
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .firstText {
    max-width: 100%;
    margin-left: 25px;
    margin-right: 25px;
  }
}
@media screen and (max-width: 668px) {
  .firstText {
    text-align: left;
  }
}
.firstText > p:last-child {
  margin-top: 10px;
  font-size: 0.9em;
}
.firstText div.boxArea {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  border: 2px solid #ccc;
}
.firstText div.boxArea p:first-child {
  font-size: 1.2em;
}
.firstText div.boxArea p:first-child + p {
  text-align: left;
  font-size: 1em;
}

.formLayout {
  max-width: 1200px;
  margin: 0 auto;
}
@media all and (max-width: 1200px) {
  .formLayout {
    max-width: 100%;
    margin-left: 30px;
    margin-right: 30px;
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .formLayout {
    max-width: 100%;
    margin-left: 25px;
    margin-right: 25px;
  }
}
.formLayout section.formSet {
  margin-bottom: 50px;
}
.formLayout section.formSet h5 {
  font-size: 1.6em;
  border-bottom: 2px solid #222;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.formLayout section.formSet p {
  text-indent: -1em;
  padding-left: 1em;
  margin-bottom: 20px;
}
.formLayout section.formSet p span.red {
  color: #CB4B4B;
  margin: 0 5px;
  font-size: 1.3em;
}
.formLayout section.formSet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1em;
}
.formLayout section.formSet table th,
.formLayout section.formSet table td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #222;
  box-sizing: border-box;
}
@media screen and (max-width: 668px) {
  .formLayout section.formSet table th,
  .formLayout section.formSet table td {
    display: block;
  }
}
.formLayout section.formSet table th {
  width: 250px;
  padding: 20px 20px 20px 24px;
}
.formLayout section.formSet table th.req::after {
  content: "*";
  color: #CB4B4B;
  font-size: 1.2em;
  padding-left: 5px;
}
@media screen and (max-width: 960px) {
  .formLayout section.formSet table th {
    padding: 20px 0 0;
    width: 210px;
  }
}
@media screen and (max-width: 668px) {
  .formLayout section.formSet table th {
    padding-bottom: 0;
    border-bottom: 0;
  }
}
.formLayout section.formSet table td {
  padding: 20px;
}
@media screen and (max-width: 668px) {
  .formLayout section.formSet table td {
    padding: 10px 0 20px;
  }
}
.formLayout section.formSet table td input {
  background-color: transparent;
  border: 1px solid #222;
  padding: 10px;
  font-size: 1.2em;
}
.formLayout section.formSet table td input.sizeL {
  width: 500px;
}
.formLayout section.formSet table td input.sizeM {
  width: 300px;
}
.formLayout section.formSet table td input.sizeS {
  width: 120px;
}
.formLayout section.formSet table td input.sizeXS {
  width: 70px;
}
@media screen and (max-width: 960px) {
  .formLayout section.formSet table td input.sizeL {
    width: calc(100% - 160px);
  }
  .formLayout section.formSet table td input.sizeM {
    width: 200px;
  }
}
@media screen and (max-width: 668px) {
  .formLayout section.formSet table td input.sizeL {
    width: 100%;
  }
  .formLayout section.formSet table td input.sizeM {
    width: 100%;
  }
}
.formLayout section.formSet table td textarea {
  background-color: transparent;
  border: 1px solid #222;
  padding: 10px;
  font-size: 1.2em;
}
.formLayout section.formSet table td textarea.sizeM {
  width: 300px;
}
@media screen and (max-width: 960px) {
  .formLayout section.formSet table td textarea.sizeM {
    width: 200px;
  }
}
@media screen and (max-width: 668px) {
  .formLayout section.formSet table td textarea.sizeM {
    width: 100%;
  }
}
.formLayout section.formSet table td input[type="submit"] {
  padding: 7px 15px;
  display: inline-block;
  color: #222;
  margin: 10px 5px 0 0;
  border-radius: 8px;
  box-shadow: 3px 3px 0 0 rgba(34, 34, 34, 0.05);
  font-size: 1em;
}
.formLayout section.formSet table td input[type="submit"]:hover {
  background-color: #3E577E;
  color: #fff;
}
.formLayout section.formSet table td select {
  padding: 7px 35px 7px 10px;
  border: 1px solid #222;
  color: #000;
  font-size: 1em;
  max-width: 100%;
}
@media screen and (max-width: 668px) {
  .formLayout section.formSet table td select.selectS {
    font-size: 1em;
    width: 100%;
  }
}
.formLayout section.formSet table td > ul.caution {
  margin-top: 10px;
}
.formLayout section.formSet table td > ul.caution li {
  font-size: 0.95em;
  text-indent: -1em;
  padding-left: 1em;
  line-height: 150%;
}
.formLayout section.formSet section:not(:last-child) {
  margin-bottom: 20px;
}
.formLayout section.formSet section h6 {
  font-size: 1.1em;
  font-weight: bold;
  width: 100%;
  margin-bottom: 20px;
  letter-spacing: 1px;
  padding: 0.2rem 1rem;
  border-left: 8px solid #000;
  background-color: #f0f0f0;
}
.formLayout section.formSet section table th {
  width: 55%;
}
@media screen and (max-width: 668px) {
  .formLayout section.formSet section table th {
    width: 100%;
  }
}
.formLayout section.formSet section table.youbou th,
.formLayout section.formSet section table.youbou td {
  display: block;
  width: 100%;
  padding-bottom: 0;
  border-bottom: 0;
}
@media screen and (max-width: 960px) {
  .formLayout section.formSet section table.youbou th,
  .formLayout section.formSet section table.youbou td {
    padding: 0;
  }
}
.formLayout section.formSet section table.youbou td textarea {
  width: 100%;
}
.formLayout div.linkBtn {
  text-align: center;
}
.formLayout div.linkBtn:not(:first-of-type) {
  margin-top: 20px;
}
.formLayout div.linkBtn input[type="submit"],
.formLayout div.linkBtn input[type="button"] {
  padding: 15px;
  display: block;
  width: 100%;
  font-size: 1.1em;
}
.formLayout div.linkBtn input[type="button"] {
  background-color: #222;
  border: 1px solid #fff;
  color: #fff;
  transition: 0.5s;
  cursor: pointer;
}

.formLayout.input_now .display_check,
.formLayout.check_now .display_input {
  display: none;
}

.formLayout .errmsg {
  width: 100%;
  background: #FFF;
  border: 3px solid #f00;
  padding: 20px;
  margin: 0 auto 10px auto;
  box-sizing: border-box;
}

.formLayout .errmsg,
.formLayout .errmsg a,
.formLayout .errmsg a:link,
.formLayout .errmsg a:visited,
.formLayout .errmsg a:hover,
.formLayout .errmsg a:active {
  color: #F00;
}
