.ctt {
  max-width: 832px;
  margin: 1rem auto 9rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.ctt-title {
  margin-bottom: 5.6rem;
  color: #51308d;
  font-size: 4rem;
  font-style: italic;
  text-align: center;
}

.ctt-form {
  margin-bottom: 6.8rem;
}

.ctt-form-list {
  border-bottom: 1px solid #51308d;
}
.ctt-form-list:first-child {
  border-top: 1px solid #51308d;
}
@media print,screen and (min-width: 769px) {
  .ctt-form-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.ctt-form-term {
  background-color: #edeff2;
  padding: 1.2rem 4%;
}
@media print,screen and (min-width: 769px) {
  .ctt-form-term {
    width: 31.25%;
    padding: 2.8rem 2.5%;
  }
}

.ctt-form-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
}
@media print,screen and (min-width: 769px) {
  .ctt-form-name {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 1.5rem;
  }
}

.ctt-form-tag {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 4rem;
  height: 2.2rem;
  margin-left: 2rem;
  background-color: #51308d;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
}
@media print,screen and (min-width: 769px) {
  .ctt-form-tag {
    margin-left: 0;
  }
}

.ctt-form-data {
  padding: 1.2rem 2.5% 2.8rem;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-align: left;
}
@media print,screen and (min-width: 769px) {
  .ctt-form-data {
    width: 68.75%;
    padding: 1.9rem 2.5%;
  }
}

.ctt-form-select {
  position: relative;
  display: inline-block;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.ctt-form-select::after {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: 4%;
  display: block;
  width: 3%;
  height: 0;
  padding-top: 3%;
  border-bottom: 1px solid #51308d;
  border-right: 1px solid #51308d;
  transform: rotate(45deg);
}
@media print,screen and (min-width: 769px) {
  .ctt-form-select::after {
    width: 2%;
    padding-top: 2%;
  }
}

.mw_wp_form_confirm .ctt-form-select::after {
  content: none;
}

.ctt-form-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.ctt-form-select select::-ms-expand {
  display: none;
}

.ctt-form-textbox {
  width: 100%;
  padding: 0.6rem 3%;
  border: 1px solid #cbc1dd;
  font-size: 1.7rem;
}
@media print,screen and (min-width: 769px) {
  .ctt-form-textbox {
    padding: 0.6rem 1.82%;
    font-size: 1.5rem;
  }
}

.ctt-form-description {
  margin-top: 0.8em;
  font-size: 1.3rem;
  line-height: 1.69;
  letter-spacing: 0.03em;
  text-align: left;
}

.mw_wp_form_confirm .ctt-form-description {
  display: none;
}

.ctt-button-box {
  margin-top: 6.8rem;
}
@media print,screen and (min-width: 769px) {
  .ctt-button-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

.ctt-button {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 5rem;
  border: 2px solid #856eaf;
  background-color: #fff;
  padding: 0 10px;
  color: #333;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-align: center;
  transition: 0.2s;
  outline: 0;
  cursor: pointer;
}
@media screen and (min-width: 769px) {
  .ctt-button {
    width: 31.2rem;
    height: 7.8rem;
  }

  .ctt-button:hover {
    background-color: #dcd6e8;
  }
}

.ctt-button:not(:first-child) {
  margin-top: 2.8rem;
}
@media screen and (min-width: 769px) {
  .ctt-button:not(:first-child) {
    margin-top: 0;
    margin-right: 2.4rem;
  }
}

.ctt-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0.8rem, 0.8rem);
  display: block;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #856eaf;
  border-right: 2px solid #856eaf;
}

.ctt-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.8rem;
  transform: translateY(-50%);
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  background: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTggMGE4IDggMCAxIDAgOCA4IDggOCAwIDAgMCAtOC04em0tMS40MDcgMTEuMDU5di02LjExOGw0LjQ0OSAzLjA1OXoiIGZpbGw9IiM4NTZlYWYiLz48L3N2Zz4=') center no-repeat;
  background-size: contain;
}

.ctt-button--back::after {
  left: 1.8rem;
  right: auto;
  transform: translateY(-50%) rotate(180deg);
}


.ctt-subtitle {
  margin-bottom: 4rem;
  color: #1e1e1e;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ctt-description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-align: left;
}

.ctt-is-error {
  background-color: #fee;
}

.mw_wp_form .ctt-form .error {
  margin-top: 0.3em;
  color: #e60012;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0;
}
