@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: 800px;
  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 .logo {
  margin: 10px auto;
  line-height: 1;
  max-width: 800px;
}
header .logo img {
  width: 300px;
}
header h1 {
  background-color: #2e9973;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  padding: 10px;
  margin: 0;
  font-weight: 400;
}
header h1 small {
  font-size: 18px;
}
header h1 span {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.image {
  margin: 10px 20px;
  margin-bottom: 0;
  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: 8px 20px;
}
.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;
}
.submitbox.step {
  text-align: right;
  margin-right: 0;
}
.submitbox .submit {
  /* background-color: #AAA; */
  background-color: #2e9973;
  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: #42b18a;
}
/* .submitbox .submit.activ{
	background-color: #2E9973;
} */
.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 #2e9973;
  height: 30px;
  border-radius: 15px;
}
.lenge .step1 {
  display: inline-block;
  width: 25%;
  border-radius: 15px 0 0 15px;
  height: 100%;
  background-color: #2e9973;
}
.lenge .step2 {
  display: inline-block;
  width: 50%;
  border-radius: 15px 0 0 15px;
  height: 100%;
  background-color: #2e9973;
}
.lenge .step3 {
  display: inline-block;
  width: 75%;
  border-radius: 15px 0 0 15px;
  height: 100%;
  background-color: #2e9973;
}
.lenge .step4 {
  display: block;
  border-radius: 15px;
  height: 100%;
  background-color: #2e9973;
}

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

footer {
  background-color: #2e9973;
  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: #54b273;
}
.thanks {
  text-align: center;
  font-size: 18px;
  margin: 100px 0;
}
.link {
  text-align: center;
}
.link a {
  display: inline-block;
  color: #fff;
  background-color: #2e9973;
  text-align: center;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  line-height: 1;
  margin-top: 20px;
}
select[name="siryou"] {
  height: 100px;
}

/**/
.imagebox {
  position: relative;
}
.imagebox p {
  text-align: center;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
}
.otameshibox {
  border: solid 4px #e85613;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
}
.otameshibox p {
  margin: 0;
}

/* エラー表示 */
.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;
  font-weight: bold;
  color: #ff0000;
  background-color: #ffe3e3;
}
#name.is_checked,
#kana.is_checked,
#address.is_checked,
#address2.is_checked,
#admail.is_checked,
#phone.is_checked,
#age.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,
#age.is_checked:focus {
  outline: solid 2px #ff5252;
}
.plybacybutton:has(#plybacy.is_checked) {
  border-color: #ff5252;
}
