@charset "UTF-8";
/*-----------------------*/
/*     1.Initialize      */
/*-----------------------*/
/*CSSリセット*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

html {
  font-size: 93.75%;
  line-height: 1.2em;
}

html, body, div, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, code, em, img, small,
strong, sub, sup, tt, center, dl, dt, dd,
ol, ul, li, fieldset, form, label, table,
caption, tbody, tfoot, thead, tr, th, td,
article, aside, embed, figure, figcaption,
input, button, textarea, canvas, audio, video,
footer, header, hgroup, menu, nav, section {
  box-sizing: border-box;
}

/*-----------------------*/
/*     2. Variables      */
/*-----------------------*/
/*-----------------------*/
/*  3. Global settings   */
/*-----------------------*/
.align-center {
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  -webkit-appearance: none;
  font-family: sans-serif !important;
}

input[type="submit"] {
  -webkit-appearance: none;
}

a {
  text-decoration: none;
}

.span_red {
  color: #e34a79;
}

.span_navy {
  color: #4355a4;
}

a.none-decoration:link {
  color: #698cd4;
}
a.none-decoration:hover {
  color: #698cd4;
}
a.none-decoration:focus {
  color: #698cd4;
}
a.none-decoration:active {
  color: #698cd4;
}
a.none-decoration:visited {
  color: #698cd4;
}

/*-----------------------*/
/*      4. Overview      */
/*-----------------------*/
html {
  height: 100%;
  background-color: #f7f9fa;
}

body {
  -webkit-text-size-adjust: 100%;
  width: 100%;
  height: 100%;
  color: #636e82;
  font-family: "Maru Folk Regular", sans-serif;
  font-weight: normal;
  font-weight: 300;
}

#wrap {
  position: relative;
  height: auto;
  min-width: 320px;
  min-height: 100%;
  padding-bottom: 49px;
  background-color: #f7f9fa;
}

header, footer {
  width: 100%;
}

header {
  position: relative;
  z-index: 1500;
  padding: 20px 0;
  background-color: #dce5f7;
  border-bottom: solid 1px #a2b8e4;
  text-align: left;
}
header h1 {
  font-family: "Pretty Momo", sans-serif;
  color: #4e76c9;
  font-weight: normal;
  font-size: 158%;
  text-align: center;
  max-width: 864px;
  padding: 0 12px;
  margin: 0 auto;
}
@media screen and (max-width: 540px) {
  header h1 {
    font-size: 143%;
    padding: 0 14px;
  }
}

p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 25px 12px 15px;
  line-height: 160%;
}
@media screen and (max-width: 540px) {
  p {
    font-size: 93%;
  }
}
p.result {
  text-align: center;
  padding-top: 45px;
}
@media screen and (max-width: 540px) {
  p.result {
    padding-top: 50px;
  }
}

h2 {
  width: 100%;
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 115%;
  color: #1f9692;
  font-family: "Maru Folk Medium", sans-serif;
}
@media screen and (max-width: 540px) {
  h2 {
    font-size: 100%;
    padding: 15px 0 15px 12px;
    margin-bottom: -12px;
    text-align: left;
    background-color: #dff9f2;
  }
}
h2.result_ok {
  color: #e34a79;
  background-color: #f8e5eb;
  padding: 30px;
  font-size: 179%;
}
@media screen and (max-width: 540px) {
  h2.result_ok {
    font-size: 158%;
    padding: 20px;
    text-align: center;
  }
}
h2.result_ng {
  color: #4d4c55;
  background-color: #e1e1e7;
  padding: 30px;
  font-size: 179%;
}
@media screen and (max-width: 540px) {
  h2.result_ng {
    font-size: 158%;
    padding: 20px;
    text-align: center;
  }
}

h3 {
  width: 100%;
  padding: 25px 0 0 0;
  text-align: center;
  font-size: 108%;
  color: #698cd4;
  font-family: "Maru Folk Medium", sans-serif;
}
@media screen and (max-width: 540px) {
  h3 {
    font-size: 100%;
    padding: 10px 0 10px 12px;
    margin-bottom: -12px;
    text-align: left;
    background-color: #e6ecf8;
  }
}

.line-box {
  margin: 20px auto 2px;
  padding: 20px 15px;
  border: solid 1px #d2bf74;
  border-radius: 6px;
  background-color: #f5f4f0;
  color: #aa9336;
}
@media screen and (max-width: 800px) {
  .line-box {
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media screen and (max-width: 540px) {
  .line-box {
    font-size: 93%;
    margin: 0;
    border-top: 0;
    border-bottom: solid 1px #d2bf74;
    border-left: 0px;
    border-right: 0px;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

footer {
  display: block;
  position: absolute;
  bottom: 0;
  background-color: #dce5f7;
  padding: 15px 0;
  border-top: solid 1px #a2b8e4;
  min-width: 320px;
}
footer p {
  font-family: "Maru Folk Medium", sans-serif;
  color: #698cd4;
  font-size: 72%;
  text-align: center;
  max-width: 1864px;
  padding: 0 12px;
  margin: 0 auto;
}

/*-----------------------*/
/*    4. form layouts    */
/*-----------------------*/
form {
  text-align: center;
}

input[type="submit"] {
  border: solid 1px #6f90d1;
  background-color: #e5ecf9;
  color: #4e76c9;
  font-family: "Maru Folk Medium", sans-serif;
  font-size: 93%;
  padding: 10px 24px;
  border-radius: 24px;
  margin: 20px auto;
  transition: background-color,0.3s color,0.3s;
}
input[type="submit"]:hover {
  background-color: #6f90d1;
  color: #fff;
}

input[type="radio"] {
  -webkit-appearance: none;
}

.answer-1, .answer-2, .answer-3, .answer-4, .answer-5 {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.answer-1 + label, .answer-2 + label, .answer-3 + label, .answer-4 + label, .answer-5 + label {
  display: block;
  position: relative;
  background-color: #f7f9fa;
  max-width: 800px;
  border: solid 1px #c2c7d1;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  line-height: 160%;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  z-index: 1;
}
@media screen and (max-width: 800px) {
  .answer-1 + label, .answer-2 + label, .answer-3 + label, .answer-4 + label, .answer-5 + label {
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media screen and (max-width: 540px) {
  .answer-1 + label, .answer-2 + label, .answer-3 + label, .answer-4 + label, .answer-5 + label {
    font-size: 93%;
    border-top: 0;
    border-bottom: solid 1px #c2c7d1;
    border-left: 0px;
    border-right: 0px;
    border-radius: 0;
    margin: 0;
  }
}
.answer-1 + label:hover, .answer-2 + label:hover, .answer-3 + label:hover, .answer-4 + label:hover, .answer-5 + label:hover {
  background-color: #fcfdfe;
  color: #c2c7d1;
}

.answer-1:checked + label, .answer-2:checked + label, .answer-3:checked + label, .answer-4:checked + label, .answer-5:checked + label {
  background-color: #dff9f2;
  color: #1f9692;
  border-color: #60b6b3;
}
@media screen and (max-width: 540px) {
  .answer-1:checked + label, .answer-2:checked + label, .answer-3:checked + label, .answer-4:checked + label, .answer-5:checked + label {
    margin-top: -1px;
    border-top: solid 1px #60b6b3;
  }
}
