.form-section-wrapper {
  margin-bottom: 100px;
}

.form-section {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 100px;
  padding: 0 20px;
}

.form-section h3 {
  border-left: solid 5px #ed9ba9;
  padding-left: 15px;
  margin-bottom: 30px;
  font-weight: bold;
}
.form-section h3 .note {
  display: inline-block;
  font-size: 70%;
  color: #777070;
  margin-left: 10px;
  font-weight: normal;
}
.form-section .text {
  margin-bottom: 30px;
}

.form-section .input-row {
  margin: 20px 30px;
}
.form-section .input-row .input {
  width: 100%;
  margin-bottom: 0;
}
.form-section .input-row input {
  width: 100%;
}
.form-section .input-row .note {
  font-size: 80%;
  line-height: 1.4;
  margin-top: 5px;
}
.form-section .button-row {
  margin: 20px 30px;
  text-align: center;;
}

.form-section dl.item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.form-section dl.item dt {
  position: relative;
  width: 285px;
  padding: 10px 50px 40px 20px;
  text-align: left;
  background: #ffecf0;
}
.form-section dl.item dd {
  position: relative;
  width: calc(100% - 285px - 10px);
  font-size: 100%;
  color: #1e1a1a;
  text-align: left;
  background: #f4f4f4;
  padding: 10px 20px 40px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
}
.form-section .error-message {
  color: #ff0000;
  font-size: 90%;
  display: block;
  width: 100%;
  margin: 5px 0;
}

.form-section dl.item dt .label {
  font-weight: bold;
  font-size: 90%;
}
.form-section dl.item dt .required {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 1px 5px;
  color: #fff;
  float: right;
  border-radius: 8px;
  background: #ed9ba9;
  font-size: 80%;
}
.form-section dl.item dt .optional {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 1px 5px;
  color: #fff;
  float: right;
  border-radius: 8px;
  background: #999;
  font-size: 80%;
}
.form-section dl.item dt .label {
  display: inline-block;
  margin-right: 10px;
}
.form-section dl.item dt .note {
  display: inline-block;
  font-size: 80%;
  color: #777070;
}

.form-section dl.item dd p {
  width: 100%;
}
.form-section dl.item dd input[type=text],
.form-section dl.item dd input[type=password],
.form-section dl.item dd input[type=email] {
  display: inline-block;
  font-size: 16px;
  font-weight: inherit;
  padding: 3px;
  vertical-align: middle;
  line-height: 1.4em;
  width: 100%;
}

.form-section dl.item dd .note {
  font-size: 80%;
  color: #777070;
  margin-top: 3px;
}

.form-section dl.item dd .row {
  width: 100%;
  margin-bottom: 10px;
}
.form-section dl.item dd .row .caption {
  display: inline-block;
  font-size: 90%;
}

.form-section dl.item dd .box2col {
  width: calc(50% - 10px);
  margin-right: 10px;
  display: flex;
  justify-content: left;
  align-items: center;
}
.form-section dl.item dd .box2col .caption {
  display: block;
  padding-right: 10px;
  white-space: nowrap;
}
.form-section dl.item dd .box2col input[type=text] {
  display: block;
}

.form-section dl.item dd .zipcode {
  margin-bottom: 10px;
}
.form-section dl.item dd .zipcode .pre {
  display: inline-block;
  margin-right: 5px;
}
.form-section dl.item dd .zipcode input[type=text] {
  display: inline-block;
  width: 100px;
}
.form-section dl.item dd .zipcode .info {
  display: inline-block;
  margin-left: 10px;
}
.form-section dl.item dd .zipcode .info a {
  color: #ed9ba9;
  font-size: 80%;
  text-decoration: none;
}
.form-section dl.item dd .zipcode .info img {
  display: inline-block;
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-right: 5px;
}
.form-section dl.item dd .address {
  margin-bottom: 10px;
}
.form-section dl.item dd .address .caption {
  font-size: 90%;
}

.form-section dl.item dd .checkbox {
  font-size: 90%;
  display: block;
  width: 100%;
}
.form-section dl.item dd .radiobox {
  font-size: 90%;
  display: block;
  width: 100%;
}
.form-section dl.item dd input[type=checkbox],
.form-section dl.item dd input[type=radio] {
  margin-right: 5px;
}

.form-section dl.item dd textarea {
  width: 100%;
  padding: 3px;
  font-size: 16px;
}


@media screen and (max-width: 767px) {
  .form-section dl.item {
    display: block;
    margin: 10px 0 30px 0;
  }
  .form-section dl.item dt {
    width: 100%;
    margin-bottom: 10px;
  }
  .form-section dl.item dd {
    width: 100%;
  }
}


.rule-section {
  max-width: 900px;
  margin: 0 auto;
  border-top: solid 1px #c9c3c0;
  padding: 0 20px;
  padding-top: 30px;
}
.rule-section .text {
  font-size: 90%;
  margin-bottom: 50px;
}
.rule-section .condition-block {
  margin-bottom: 30px;
}
.rule-section .condition-block h4 {
  font-weight: bold;
}
.rule-section .condition-block ol {
  font-weight: bold;
  border: solid 1px #aaaaaa;
  background: #fefefe;
  padding: 15px;
  list-style: decimal;
}
.rule-section .condition-block ol li {
  margin-bottom: 10px;
  font-size: 80%;
  margin-left: 20px;
  font-weight: normal;
}
.rule-section .condition-block ol li:last-child {
  margin-bottom: 0;
}
.rule-section .condition-block ol li em {
  color: #ed9ba9;
  font-weight: bold;
}

.rule-section .rule-block {
  margin-bottom: 30px;
}
.rule-section .rule-block h4 {
  color: #ed9ba9;
  font-weight: bold;
}
.rule-section .rule-block .kiyaku {
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #c9c3c0;
  line-height: 1.4em;
  background: #fff;
  height: 180px;
  overflow: auto;
}
.rule-section .rule-block .kiyaku-inner {
  padding: 15px;
}

.button-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.button-section .agreement {
  margin-bottom: 20px;
}
.button-section input[type=submit],
.button-section input[type=button] {
  display: inline-block;
  width: auto !important;
  height: auto !important;
  padding: 10px;
  background: #1e1a1a;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  border-style: none;
  margin-bottom: 20px;
}
.button-section input[type=submit].gray,
.button-section input[type=button].gray {
  background: #999;
}
.button-section .text {
  font-size: 90%;
}
.button-section .text a {
  color: #ed9ba9;
  font-weight: bold;
}
