/* 【co.jp】QUADRASPIRE ご注文フォーム用css */
body {
  font-size: 12px;
  width: min(100%,1024px);
  margin: 0 auto;
  padding: 0;
  text-align: center;
  background-color: #333333;
}

header,main,footer {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  background-color: #FFFFFF;
  box-sizing: border-box;
  padding: 20px;
  text-align: left;
}

h1 {
  font-size: 15px;
  line-height: 20px;
  color: #666;
  border-right-width: 5px;
  border-bottom-width: 1px;
  border-right-style: solid;
  border-bottom-style: solid;
  border-right-color: #666;
  border-bottom-color: #666;
  text-align: right;
  padding-right: 1em;
}

h2 {
  color: white;
  background-color: #4C7099;
  width: 100%;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  padding: .3em 0 .2em;
}

h4 {
  color: #FFFFFF;
  background-color: #666;
  text-align: center;
  font-size: 1.5em;
  line-height: 34px;
  padding: .3em 0 .2em;
}

p {
  font-size: 14px;
  line-height: 150%;
}

ul#nav2,
ul#nav2 * {
  font: bold 11px Verdana, sans-serif;
  line-height: 1.8em;
  text-align: center;
}
ul#nav2 {
  list-style: none;
  margin: 1em 0;
  padding: 0;
}
ul#nav2 li {
  display: inline;
  text-align: center;
  padding: 0 0 0 .5em;
}
ul#nav2 a:hover,
ul#nav2 a#current {
  color: #8ea084;
  border-bottom: 3px solid #FFCC66;
  text-decoration: none;
}
ul#nav2 a {
  color: #848684;
  font-weight: bold;
  border-bottom: 3px solid #eee;
  text-decoration: none;
}
table{
  width: 100%;
  font-size: 13.3px;
  border-collapse: collapse;
  box-sizing: border-box;
}
.black{
  color: white;
  background-color: black;
}
.silver{
  color: white;
  background-color: #808080;
}
.set-name,
.secret tr:not(:first-of-type):not(:last-of-type),
.none{
  display: none;
}

#customer-info,
#payment, #order , #delivery , #other{
  th {
    width: 100px;
    background-color: #CCC;
    padding: 2px;
    margin: 2px;
    font-size: 12px;
    line-height: 20px;
    border: 1px solid #666;
    border-collapse: collapse;
    text-align: center;
  }
  td {
    font-size: 12px;
    padding: .3em .5em;
    border: 1px solid #CCC;
    border-collapse: collapse;
  }
  td img{
    display: block;
    text-align: center;
    margin: 0 auto;
  }
}

#set-info{
  table{
    margin-bottom: 1em;
  }
  .set tr:first-of-type th,
  .option tr:first-of-type th{
    font-size: 1.2em;
    color: white;
    background-color: #7a7b8c;
    padding: .3em 0 .2em;
  }
  table:first-of-type,
  table:nth-of-type(2) {
    text-align: center;
  }
  tr th {
    background-color: #FFFFCC;
    padding: 2px;
    margin: 2px;
    font-size: 1em;
    line-height: 20px;
    border: 1px solid #666;
    border-collapse: collapse;
    text-align: center;
  }
  tr th:first-of-type{
    width: 25%;

  }
  td {
    font-size: 12px;
    padding: .3em .5em;
    border: 1px solid #CCC;
    border-collapse: collapse;
  }
  tr.black{
    background-color: #000;
  }
  tr.silver{
    background-color: #808080;
  }
  td img{
    text-align: center;
    margin: 0 auto;
    width: min(100%,80px);
    height: auto;
  }
  td select option{
    padding: .2em 1em .1em;
  }
}
#payment, #order{
  tr td:first-of-type{
    text-align: center;
  }
}
#delivery{
  text-align: center;
}
#delivery ul{
  text-align: left;
  width: fit-content;
  margin: .5em auto;
  padding: 0;
  text-indent: -1em;
  list-style: none;
}
li {
  font-size: 14px;
  line-height: 150%;
}
.f-clear {
  clear: both;
}

textarea{
  display: block;
  margin: .5em auto;
}
.scroll-box {
  width: 100%;
  box-sizing: border-box;
  height: 200px;
  border: 1px solid #000;
  overflow-y: scroll;
  margin: .5em auto;
  padding: .5em .5em .5em 1em;
}

/* footer */
footer{
  text-align: center;
}