@charset "UTF-8";

body {
  background-color: #f5f5f5;
  font-size: 13px;
  margin-bottom: 100px;
}

img {
  width: 768px;
}

input[type="text"],
input[type="password"] {
  height: 30px;
  margin: 3px 8px;
  padding: 0 8px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
  transition: all .1s linear;
}

input[type="radio"] {
  margin: 8px;
}

select {
  height: 30px;
  margin: 3px 0;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #fff;
  font-size: 13px;
  transition: all .1s linear;
}

input[type="submit"] {
  margin-bottom: 120px !important;
  width: 30%;
  height: 44px;
  padding: 0;
  border: 0;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 44px;
  cursor: pointer;
  transition: all .1s linear;
}

input[type="text"]:hover,
input[type="text"]:focus,
input[type="password"]:hover,
input[type="password"]:focus,
select:hover,
select:focus {
  border-color: #aaa;
}

input[type="submit"]:hover {
  background-color: #444;
}

.fm-messagebox {
  box-sizing: border-box;
  color: #d00;
  list-style-type: disc;
  margin: 40px auto 0;
  padding: 0 0 40px 2em;
  border-bottom: 24px solid #f8f8f8;
}

.fm-messagebox li {
  box-sizing: border-box;
  width: 620px;
  margin: 0 auto;
}

.fm-enqueteout {
  background-color: #fff;
}

.fm-enquete {
  margin: 24px auto;
  width: 620px;
  border-spacing: 0 !important;
}

.fm-question {
  box-sizing: border-box;
  width: 170px;
  padding: 10px 16px 10px 2px;
  font-weight: bold;
}

.fm-answer {
  padding: 10px 16px;
}

.fm-answer .order-table {
  margin-bottom: auto;
  margin-top: auto;
}

.fm-enquete .fm-verticalanswer {
  border: 0;
  padding: 60px 0 0;
  font-size: 14px;
}

.fm-verticalanswer p {
  margin: 24px 0;
}

.fm-enquete td {
  border-top: 1px solid #eee;
}

.email_1_text,
.email_1_confirm,
.password_2_text {
  width: 200px;
}

.name_3_first,
.name_3_second,
.name_4_first,
.name_4_second {
  width: 120px;
}

input[type="text"].email_1_text,
input[type="text"].email_1_confirm,
input[type="password"].password_2_text,
input[name="date_6_year"],
input[name="select_5"]:first-of-type,
input[name="select_16"]:first-of-type,
input[type="text"].text_19_text,
input[name="select_17"]:first-of-type,
input[type="text"].text_18_text {
  margin-left: 0;
}

@media screen and (max-width: 768px) {
  body {
    margin: 0;
  }

  img {
    width: 100%;
  }

  input[type="text"],
  input[type="password"] {
    max-width: 100%;
    margin: 0 4px 4px;
  }

  select {
    width: 100%;
  }

  input[type="submit"] {
    margin-bottom: 60px !important;
    width: 33.3%;
  }

  .fm-messagebox {
    box-sizing: border-box;
    color: #d00;
    list-style-type: disc;
    margin: 24px auto 0;
    padding: 0 0 24px 2em;
    border-bottom: 24px solid #f8f8f8;
  }

  .fm-messagebox li {
    box-sizing: border-box;
    width: 100%;
    margin: 0 16px;
  }

  .fm-enqueteout {
    width: 100%;
  }

  .fm-enquete {
    box-sizing: border-box;
    margin: 0;
    padding: 0 16px;
    width: 100%;
  }

  .fm-question {
    box-sizing: border-box;
    padding: 8px 8px 8px 16px;
  }

  .fm-answer {
    padding: 8px 16px 8px 8px;
  }

  .fm-enquete .fm-verticalanswer {
    padding: 40px 16px 0;
  }

  .fm-enquete .fm-verticalanswer p {
    margin: 10px 0;
  }

  .name_3_first,
  .name_3_second,
  .name_4_first,
  .name_4_second {
    width: 20%;
  }
}

@media screen and (max-width: 480px) {
  .fm-enquete .fm-verticalanswer br {
    display: none;
  }
}
