@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}
* {
  box-sizing: border-box;
}
main {
  max-width: 700px;
  margin: 0 auto;
}
.formbox {
  position: relative;
  margin: 20px;
}
input[type="checkbox"] + label,
input[type="checkbox"],
input[type="submit"],
select {
  cursor: pointer;
}
select,
.plybacybutton {
  transition: 0.2s;
}
select:hover,
.plybacybutton:hover {
  background-color: #f4f4f4;
}

header {
  background-color: #fd5874;
  padding: 10px 0;
  text-align: center;
}
.head {
  color: #fff;
  font-weight: 700;
  font-size: 36px;
  max-width: 700px;
  margin: 0 auto;
}
.head span {
  display: inline-block;
  background-color: #fff;
  border-radius: 6px;
  color: #fd5874;
  line-height: 1;
  padding: 5px 10px;
}
.head small {
  font-size: 30px;
}

h1 {
  line-height: 1;
  margin: 0;
}
.kantan {
  background-color: #ff869d;
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  padding: 10px;
  margin: 0 10px;
  border-radius: 10px;
}
.kantan span {
  display: inline-block;
  border-bottom: solid 10px #fff300;
}

.image {
  margin: 0;
  margin-top: 20px;
  line-height: 1;
  text-align: center;
}
img {
  max-width: 100%;
}
.main {
  min-height: calc(100vh - 150px);
}
.form {
  border-radius: 6px;
  margin: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 5px 15px;
}
.form .q {
  font-weight: 700;
  font-size: 16px;
}
.form .q span {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  line-height: 1;
  padding: 2px 4px;
  margin-left: 5px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 4px;
}
.form .q span.nini {
  background-color: #888;
}

.form textarea,
.form input[type="email"],
.form input[type="tel"],
.form input[type="text"] {
  font-size: 18px;
  width: 100%;
  box-sizing: border-box;
  margin: 5px 0;
  padding: 10px;
  border-radius: 6px;
  border: solid 1px #aaa;
}
.form textarea {
  height: 100px;
}
.form select {
  margin-top: 10px;
  width: 100%;
  font-size: 18px;
  padding: 10px;
  border-radius: 6px;
  border: solid 1px #aaa;
}
.form input[type="checkbox"] {
  width: 30px;
  height: 30px;
}
.form label {
  font-size: 18px;
}
.plybacybutton {
  border: solid 2px #aaa;
  padding: 5px;
  border-radius: 6px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.form .box2,
.form .box {
  margin: 10px 0;
}
.submitbox {
  text-align: center;
  margin: 20px auto;
  width: 100%;
}
.submitbox.step {
  text-align: right;
  margin-right: 0;
}
.submitbox .submit {
  background-color: #fd5874;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 25px;
  line-height: 1;
  height: 50px;
  text-align: center;
  border: 0;
  padding: 10px 20px;
  opacity: 1;
  width: 100%;
  transition: 0.2s;
}
.submitbox .submit:hover {
  background-color: #ff768d;
}
.backbutton {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #fff;
  border: solid 1px #aaa;
  color: #aaa;
  font-size: 18px;
  font-weight: 700;
  border-radius: 25px;
  line-height: 1;
  height: 50px;
  text-align: center;
  padding: 10px 20px;
  opacity: 1;
  font-weight: normal;
}

.form input[type="tel"].zip {
  width: 5em;
}
.lengebox {
  margin: 20px;
}
.langecopy {
  display: flex;
  justify-content: space-between;
  text-align: left;
}
.langecopy div:last-child {
  text-align: right;
}
.lenge {
  border: solid 1px #fd5874;
  height: 30px;
  border-radius: 15px;
}
.lenge .step1 {
  display: inline-block;
  width: 25%;
  border-radius: 15px 0 0 15px;
  height: 100%;
  background-color: #fd5874;
}
.lenge .step2 {
  display: inline-block;
  width: 50%;
  border-radius: 15px 0 0 15px;
  height: 100%;
  background-color: #fd5874;
}
.lenge .step3 {
  display: inline-block;
  width: 75%;
  border-radius: 15px 0 0 15px;
  height: 100%;
  background-color: #fd5874;
}
.lenge .step4 {
  display: block;
  border-radius: 15px;
  height: 100%;
  background-color: #fd5874;
}

.msss {
  text-align: center;
  margin: 5px 0;
}

footer {
  background-color: #fd5874;
  color: #fff;
  padding: 10px;
}
footer p {
  margin: 0;
  text-align: center;
}

label {
  margin: 10px;
  margin-left: 0;
}

.checktext {
  border: solid 1px #aaa;
  border-radius: 6px;
  padding: 10px;
  font-size: 16px;
  margin-top: 5px;
}

::placeholder {
  color: #ff869d;
}
.thanks {
  text-align: center;
  font-size: 18px;
  margin: 100px 0;
}
.link {
  text-align: center;
}
.link a {
  display: inline-block;
  color: #fff;
  background-color: #fd5874;
  text-align: center;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  line-height: 1;
  margin-top: 20px;
}

.seirekiRequired {
  margin: 5px 0;
}
.seirekiRequired p {
  text-align: center;
  margin: 5px 0;
}

.form select.niti,
.form select.gatu {
  width: calc(33% - 1.5em);
  min-width: 3.5em;
  margin: 0;
}
.form select.nen {
  width: 33%;
  min-width: 4.5em;
  margin: 0;
}
.msss span {
  display: block;
  text-align: left;
  margin-left: 1em;
  text-indent: -1em;
}

/* エラー表示 */
.errText1,
.errText2,
.errText3,
.errText4,
.errText5,
.errText6,
.errText7,
.errText8 {
  display: none;
}
.errText1.is_checked,
.errText2.is_checked,
.errText3.is_checked,
.errText4.is_checked,
.errText5.is_checked,
.errText6.is_checked,
.errText7.is_checked,
.errText8.is_checked {
  display: block;
  margin: 5px 0;
  padding: 6px;
  color: #ff0000;
  background-color: #ffe3e3;
}
#name.is_checked,
#kana.is_checked,
#address.is_checked,
#address2.is_checked,
#admail.is_checked,
#phone.is_checked,
#nen.is_checked,
#gatu.is_checked,
#niti.is_checked {
  border-color: #ff5252;
}
#name.is_checked:focus,
#kana.is_checked:focus,
#address.is_checked:focus,
#address2.is_checked:focus,
#admail.is_checked:focus,
#phone.is_checked:focus,
#nen.is_checked:focus,
#gatu.is_checked:focus,
#niti.is_checked:focus {
  outline: solid 2px #ff5252;
}
.plybacybutton:has(#plybacy.is_checked) {
  border-color: #ff5252;
}
