body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,textarea,p,blockquote,th,td,img,div,span {
  margin: 0;
  padding: 0;
  border:0;
  vertical-align:middle;
  box-sizing: border-box;
}

body {
  margin:0 auto;
  position:relative;
  font-size:14px;
  color:#000;
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-weight: 400;
  width:100%;
  overflow-x: hidden;
}

img {
  width:100%;
  display:block;
  margin: 0 auto;
}
  
#contents {
  position: relative;
  width:800px;
  height: auto;
  background:#e0f2f5;
  border-radius: 20px;
  margin:0 auto;
  margin-top:40px;
}

.widthset {
  width:90%;
  margin:0 auto;
  overflow-x: hidden;
}

.contents-header {
  position: absolute;
  top:-40px;
  width: 90%;
  height:180px;
  padding-top:5%;
  background-image: url("../img/navigater.png");
  background-size: 20%;
  background-position: bottom right 5%;
  background-repeat: no-repeat;
  overflow-y: visible !important;
}

.title-area {
  width:72%;
}

.title01 {
  width:90%;
  display: flex;
  align-items: center;
  justify-content: center;
  height:30px;
  border-radius: 15px;
  background: #69a4c2;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 20px;
  margin:0 auto;
  margin-top:20px;
  margin-bottom:10px;
}

.title02 {
  width:100%;
  font-weight: bold;
  font-size: 24px;
  margin-bottom:20px;
  text-align: center;
}

#stage {
  display: grid;
  position: relative;
  width:100%;
  height: auto;
  margin:0 auto;
  margin-top: 140px;
  margin-bottom:20px;
}

#stage:before {
    content: "";
    display: block;
    padding-top: 52%;
    padding-bottom:20px;
}

#resulta,
#resultb,
#resultc {
  display: grid;
  position: relative;
  width:100%;
  height: auto;
  margin:0 auto;
  margin-top: 140px;
  margin-bottom:20px;
}

#resulta:before {
    content: "";
    display: block;
    padding-top: 60%;
}

#resultb:before {
    content: "";
    display: block;
    padding-top: 70%;
}

#resultc:before {
    content: "";
    display: block;
    padding-top: 70%;
}

.step {
  position: absolute;
  top:0%;
  left:0%;
  width:100% !important;
  z-index: 999;
  overflow: hidden;
  display:flex;
  flex-wrap: wrap;
  border:2px solid #69a4c2;
  border-radius: 20px;
  background: #fff;
}

.active {
  display:block !important;
}

.start-text,
.q-block,
.result-text {
  margin: 0 auto;
  margin-top:20px;
  padding: 0;
  width:90%;
}

.start-text {
  text-align: center;
}

.q-block {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-size:18px;
}

.q-number {
  display: inline-block;
  color: #69a4c2;
  font-size:28px;
  font-weight: bold;
  margin-right:4px;
  margin-top:-4px;
}

.q-text {
  text-align: left;
  padding-right:28px;
}

.q-count {
  position: absolute;
  top:2px;
  right:0;
  font-size:14px;
}

.lpFormAnswer {
  width:100%;
  margin:0 auto;
  padding: 10px;
  box-sizing: border-box;
}

.buttons-wrap {
  margin:0 auto;
  margin-top:20px;
  margin-bottom:20px;
  width:90%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.button {
  display: block;
}

.start-btn {
  max-width:333px;
  width:60%;
  margin:0 auto;
}

.button img {
  width:100%;
  display: block;
}


.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
  opacity: 0;
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
}


.radio-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 96%;
  margin: 0 auto;
}

.radio-group label {
  background-color: #e0f2f5;
  display: flex;
  justify-content: flex-start;
  align-items:center;
  cursor: pointer;
  margin:0 auto;
  padding:5px 6px;
  border-radius:2px;
  font-size:14px;
  font-weight: bold;
  box-sizing: border-box;
  width:32%;
}

.radio-group input[type="radio"]:checked + label {
  background-color: #69a4c2;
  color: #fff;
}

.checkbox-group {
  width: 96%;
  margin: 0 auto;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 26px;
  margin-bottom:5px;
}

.checkbox-group label::before {
  display: inline-block;
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-color: #e0f2f5;
  border-radius: 4px;
}

.checkbox-group input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 18px;
  height: 12px;
  background-image: url("../img/check.png");
  background-repeat: no-repeat;
  background-size: contain;
}

.buttons-wrap-next {
  justify-content: flex-end;
}

.buttons-wrap-prev {
  justify-content: space-between;
}

.nextBtn,
.prevBtn {
  display: block;
  width:30vw;
  max-width: 120px;
}

.submitBtn {
  display: block;
  border:none;
  background: none;
  padding:0;
  width:30vw;
  max-width: 120px;
}


.result-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size:30px;
  font-weight: bold;
  max-width: 420px;
  margin:0 auto;
}

.result-title img {
  display: block;
  width:32px;
  margin-left:0;
  margin-right:10px;
}

.result-subtext {
  text-align: center;
  margin-bottom:20px;
  font-size:14px;
}

.blue {
  color:#69a4c2;
}

.pink {
  color:#d07184;
}

.result-btn {
  width:360px;
  margin:0 auto;
}


@media screen and (min-width: 481px) {
  .sp {
    display: none;
  }
}

@media screen and (max-width: 480px) {

  .pc {
    display: none;
  }

  body {
    font-size:14px;
  }

  #contents {
    width:100%;
    margin-top:0;
  }

  .widthset {
    width:96%;
  }

  .contents-header {
    margin-top:20px;
    width: 96%;
    height:auto;
    background-size: 15%;
    background-position: bottom right 5%;
  }

  .title-area {
    width:100%;
  }

  .title01 {
    width:80%;
    height:24px;
    border-radius: 12px;
    font-size: 13px;
  }

  .title02 {
    width:80%;
    font-weight: bold;
    margin-bottom:10px;
    font-size: 18px;
    text-align: center;
  }

  .start-text,
  .q-block,
  .result-text {
    font-size: 14px;
  }

  #stage,
  #resulta,
  #resultb,
  #resultc {
    margin-top: 120px;
    margin-bottom:20px;
  }

  #stage:before {
      padding-top: 100%;
  }

  #resulta:before {
      padding-top: 110%;
  }

  #resultb:before {
      padding-top: 110%;
  }

  #resultc:before {
      padding-top: 110%;
  }

  .q-text p {
    font-size:14px;
    text-align: center;
  }

  .q-number {
    font-size:22px;
    margin-right:4px;
    margin-top:-4px;
  }
  
  .radio-group label {
    margin-bottom:10px;
    width:100%;
  }

  .result-title {
    font-size:22px;
    font-weight: bold;
    width: 300px;
    margin:0 auto;
  }

  .result-title img {
    display: block;
    width:24px;
    margin-left:0;
    margin-right:10px;
  }

  .result-subtext {
    text-align: center;
    margin-bottom:18px;
    font-size:12px;
  }

  .result-text p {
    font-size:14px;
    max-height:160px;
    overflow-y: scroll;
  }

  .result-btn {
    width:100%;
  }
}

@media screen and (max-width: 380px) {

  .title02 {
    width:80%;
    font-weight: bold;
    margin-bottom:10px;
    font-size: 17px;
    text-align: center;
  }

}

.required {
color:#ec5840;
font-size:0.9rem;
}

.error-message {
display:inline-block;
color:#ec5840;
font-size:0.8rem;
margin-left:5%;
margin-bottom:5px;
}


.footer-text {
color:#000;
font-weight: 400;
font-size:0.8rem;
margin-bottom:10px;
}

.lpForm02,
.lpForm03,
.lpForm04,
.lpForm05,
.lpForm06,
.lpForm07,
.lpForm08 {
display: none;
}
.lpForm01 .start-text,
.lpForm01 .lpFormAnswer,
.result-text {
opacity: 0;
}
