@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

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

html, body {
  height: 100%;
  background-color: #e5f7ff;
}

.simulatePage-h1 {
  padding: 5px 10px;
  color: #fff;
  background-color: #1c1c1d;
}

.simulatePage-h2 {
  padding: 20px 30px;
  font-size: 27px;
  text-align: center;
  color: #ffffff;
  border-radius: 36px;
  background-color: #50a5c7;
}

.simulatePage-h3 {
  text-align: center;
  font-size: 27px;
  font-weight: 600;
  color: #2596c3;
}

.marginTop-small {
  margin-top: 10px !important;
}

.marginTop-middle {
  margin-top: 25px !important;
}

.marginTop-large {
  margin-top: 45px !important;
}

main {
  width: 100%;
  padding-bottom: 50px;
}

#container {
  width: 900px;
  margin: auto;
  line-height: 1.2;
}

table {
  width: 100%;
  margin: auto;
}

table caption {
  margin-bottom: 5px;
  text-align: left;
}

table th {
  position: relative;
  padding: 25px 52px;
  background: #50a5c7;
  border: solid 1px #ccc;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  vertical-align: middle;
}

table th.hissu {
  font-size: 16px;
  padding: 15px 52px;
}

table th.hissu:before {
  display: block;
  position: absolute;
  height: 17px;
  top: 0;
  bottom: 0;
  left: 20px;
  margin: auto;
  padding: 0 6px;
  line-height: 17px;
  border-radius: 4px;
  font-size: 0.6em;
  color: white;
  background-color: #d84141;
  content: "必須";
}

table td {
  position: relative;
  padding: 15px;
  border: solid 1px #ccc;
  vertical-align: middle;
}

table td li {
  line-height: 1.5;
}

table #result {
  font-size: 32px;
  font-weight: 600;
  text-align: right;
  background-color: #fff;
}

table #result:after {
  content: "円";
}

.error{
  font-size:10px;color:red; visibility: hidden;display: block;position: absolute;bottom: 0;
}

#bt-simulate {
  width: 65%;
  margin: auto;
  padding: 30px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  border-radius: 7px;
  background-color: #3a4147;
  text-align: center;
  -webkit-box-shadow: 0 6px #1f2123;
          box-shadow: 0 6px #1f2123;
  -webkit-transition: .2s box-shadow,.2s top,.4s background;
  transition: .2s box-shadow,.2s top,.4s background;
}

#bt-simulate:hover {
  -webkit-box-shadow: 0 5px #1f2123;
          box-shadow: 0 5px #1f2123;
  top: 1px;
}

#bt-simulate:active {
  background-color: #3a4147;
  -webkit-box-shadow: 0 0 #1f2123;
          box-shadow: 0 0 #1f2123;
  top: 6px;
}

@media screen and (max-width: 640px) {
  #container {
    width: 90%;
  }
  table {
    width: 95%;
  }
  table tr:last-child td:last-child {
    width: 100%;
    border-bottom: solid 1px #ccc;
  }
  table th, table td {
    display: block;
    width: 100%;
    border-bottom: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
}
