@charset "utf-8";

html, body {
  padding: 0;
  margin: 0;
}

body {
  font-size: 16px;
  line-height: 160%;
  font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


#pages {
  width: 800px;
  margin: 0 auto;
}

#pages > [id^=page-] {
  display: none;
}

span.note {
  color: #EE0000;
}

.order-form {
  margin-bottom: 80px;
}


.order-form table {
  /*! border-spacing: 0; */
  width: 100%;
  margin: 20px 0 10px 0;
}
.order-form table th,
.order-form table td {
  border-spacing: 0;
  vertical-align: top;
}

.order-form table.fields th, 
.order-form table.fields td {
  padding: 10px 0;
} 
.order-form table.fields td {
  padding-left: 10px;
  vertical-align: middle;
}

.order-form table.fields th.label,
.order-form table.fields td.category {
  padding-top: 16px;
  text-align: left;
  color: #666;
  font-weight: bold;
}
.order-form table.fields th.label {
  width: 200px;
  padding-left: 10px;
}
.order-form table.fields td.category {
  width: 100px;
  border-bottom: 2px solid #FFF;
  background: #F1F1F1;
}

.order-form table.products th, 
.order-form table.products td,
.order-form table.installation-sites th, 
.order-form table.installation-sites td {
  border: 1px solid #444;
  padding: 4px 8px;
  font-size: 14px;
  vertical-align: middle;
}
.order-form table.products th,
.order-form table.installation-sites th {
  background: #CDCDCD;
}
.order-form table.installation-sites th:first-of-type {
  width: 40px;
}
.order-form table.installation-sites td:first-of-type {
  text-align: right;
}
.order-form table.products th.num {
  width: 100px;
}
.order-form table.products th.total {
  width: 100px;
}
.order-form table.products th.price {
  width: 100px;
}
.order-form table.products tr.footer th {
  text-align: right
}

.order-form table td input[type=text],
.order-form table td input[type=number],
.order-form table td textarea,
.order-form table select {
  box-sizing: border-box;
  padding: 6px 12px;
  font-size: 16px;
  color: #444;
  
  border: solid 1px #a0a0a0;
}

.order-form table td input[readonly] {
  border: none;
}

.order-form table td input[type=text],
.order-form table td input[type=number],
.order-form table td textarea {
  width: 100%;
}
.order-form table td textarea {
  resize: vertical;
  height: 100px;
}

.order-form table td.price {
  text-align: right;
}

.order-form table tr.required .label:after {
  content: "必須";
  display: inline-block;
  margin: 0 0 0 10px;
  padding: 1px 4px;
  border-radius: 3px;
  color: #FFFFFF;
  background: #FF0000;
  line-height: 1.5;
  font-size: 11px;
  font-weight: normal;
}

.order-form .agreement-description .title {
  font-weight: bold;
  margin: 10px 0 0 20px;
}
.order-form .agreement-description .scroll-content {
  font-size: 12px;
  line-height: 150%;
  height: 150px;
  overflow-y: scroll;
  margin: 8px 12px;
  padding: 8px;
  border: 1px solid #a0a0a0;
  
  resize: vertical;
}
.order-form .agreement-description .art {
  font-weight: bold;
} 
.order-form .agreement-description .description,
.order-form .agreement-description ol,
.order-form .agreement-description ul {
  margin: 8px 0 8px 10px;
}
.order-form .agreement-description ol,
.order-form .agreement-description ul {
  list-style: none;
}
.order-form .agreement-description li {
  margin-top: 4px;
  margin-bottom: 4px;
}
.order-form .agreement-description .end {
  text-align: right;
} 

.order-form .submit-button-section {
  text-align: center;
}

.order-form input[type=button] {
  cursor: pointer;
  
  padding: 10px 15px;
  min-width: 200px;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.3333333;
  border-radius: 6px;

  color: #fff;
  background-color: #2ba6e0;
  border-color: #1f99d3;
  
  display: inline-blockck;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  
  user-select: none;
}

.order-form input[type=button]:hover {
  background-color: #1c89bc;
  border-color: #17729d;
}

.order-form input[type=button]:active {
  background-color: #17729d;
  border-color: #0f4863;
}

.order-form .error {
  background: #FFE1E1;
}

#page-thankyou p {
  margin-bottom: 14px;
}

#error-section {
  background: #BB0000;
  color: #FFF;
  padding: 8px 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}

#error-section > .inner {
  width: 800px;
  margin: 0 auto;
  display: block;
}


/* ----------------------------------------
 * Dialog
 * ---------------------------------------- */
 .dialog-background {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  
  z-index: 10000;
  
  background: transparent;
  background-color: rgba(0, 0, 0, 0.5);
}

.cd-dialog {
  border-radius: 8px;
  background: #FFF;
  max-width: 90%;
  width: 700px;
  max-height: 90vh;
  margin: 5vh auto 0 auto;
  text-align: center;
  padding: 20px;
  overflow: auto;
}
.cd-dialog .cd-buttons {
  margin: 20px;
}
.cd-dialog .cd-buttons input {
  padding:8px 20px;
  min-width: 140px;
  font-size: 18px;
}
.cd-dialog .cd-buttons input+input {
  margin-left: 40px;
}

.cd-dialog .cd-content {
  text-align: center;
}

.cd-dialog table.cd-values {
  display: inline-block;
  max-width: 100%;
}

.cd-dialog table.cd-values th,
.cd-dialog table.cd-values td {
  padding: 4px 10px;
  border: 1px solid #666;
  vertical-align: top;
}

.cd-dialog table.cd-values th {
  background: #EAEAEA;
}
.cd-dialog table.va-lues th.cd-label,
.cd-dialog table.cd-values td.cd-label {
  max-width: 30%;
  width: 30%;
}

.cd-dialog table.cd-values td.cd-value {
  text-align: left;
}



@media screen and (max-width:840px) {
  #pages {
    width: auto;
    box-sizing: border-box;
    margin: 0 20px 0 20px;
  }
  
  .order-form table.fields th.label {
    width: 150px;
  }
  .order-form table.products th.total {
    width: 80px;
  }
}

