body {
  /*background-color: rgb(255, 198, 198); */
  background-image: url("../img/step_bg.jpg");
  font-family: YuGothic Medium, "Yu Gothic Medium", -apple-system,BlinkMacSystem, "ヒラギノ角ゴシック", "Hiragino Sans",
    sans-serif;
}

article#main {
  background-image: url("../img/step_bg.jpg");
  width: 100%;
  max-width: 500px;
  height: 100vh;
  margin: auto;
}
p {
  margin: 0;
}

section#step1,
section#step2,
section#step3 {
  width: 100%;
  height: 100%;
  max-width: 500px;
  display: none;
  position: relative;
  top: 0;
  left: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}
section#result {
  width: 100%;
  max-width: 500px;
  display: none;
  position: relative;
  top: 0;
  left: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}
.button {
  display: block;
  background-color: #b6360c;
  color: #fff;
  width: 90%;
  max-width: 350px;
  text-align: center;
  padding: 30px 0;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 2px;
  margin: auto;
  position: relative;
}
.button::after {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  top: 50%;
  right: 40px;
  transform: translateY(-50%) rotate(45deg);
  animation: moveArrow 2s infinite;
}
/**************************************************/
/**************************************************/
/* タイトル画面 */

section#title {
  width: 100%;
  height: 100%;
  background-image: url("../img/title_bg.jpg");
}
section#title .titleimg {
  margin: auto;
  text-align: center;
  position: relative;
  top: 40%;
  transform: translateY(-60%);
}
section#title .titleimg > img {
  margin-bottom: 20px;
  width: 80%;
}

section#title .titleimg > h1 > img {
  width: 55%;
}
section#title #start {
  margin: auto;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  animation: buttonshadow 3s infinite;
}

@keyframes buttonshadow {
  0% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
  }

  100% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }
}
@keyframes moveArrow {
  0% {
    right: 40px;
  }
  10% {
    right: 35px;
  }
  20% {
    right: 40px;
  }
  30% {
    right: 35px;
  }
  40% {
    right: 40px;
  }
  100% {
    right: 40px;
  }
}

section div {
  padding: 10px 0;
}
/**************************************************/
/**************************************************/
/* 質問画面 */
.question_wrap {
  width: 90%;
  margin: 0 auto 10px;
  background-color: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
}

.question_wrap .category {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 3px;
  border-left: solid 7px #b6360c;
  padding-left: 5px;
}
.question_wrap .category:not(:first-of-type) {
  margin-top: 10px;
}

.question_wrap .question {
  text-align: center;
}
.question_wrap .question img {
  width: 100%;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label.checkbox {
  position: relative;
  padding-left: 28px;
  display: inline-block;
  line-height: 1;
}

input[type="checkbox"] + label.checkbox::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: solid 1px #999999;
  border-radius: 2px;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
}
input[type="checkbox"]:disabled + label.checkbox::before {
  background-color: #cccccc;
}
input[type="checkbox"]:checked + label.checkbox::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 10px;
  height: 20px;
  border-right: solid 4px #b6360c;
  border-bottom: solid 4px #b6360c;
  border-radius: 2px;
  top: 30%;
  left: 7px;
  transform: translateY(-50%) rotate(45deg);
}

#step1next,
#step2next,
#step3next {
  display: none;
}

/******************************************/
/******************************************/
/** 診断結果ブロック **/
#result {
  padding: 10px;
}

.result_wrap {
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
  padding: 15px;
  margin: 0 auto 40px;
}
#result .resulttitle {
  text-align: center;
}
#result .resulttitle img {
  width: 100%;
}
.result_wrap .planabout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.result_wrap .planabout > .detail {
  width: 40%;
}

.result_wrap .planabout > .detail.secret {
  width: 55%;
}
.result_wrap .planabout > .detail > p:first-of-type {
  font-size: 13px;
}
.result_wrap .planabout > .detail > p.planNo {
  font-weight: bold;
  margin-bottom: 5px;
}
.result_wrap .planabout > .detail > p.builtarea {
  font-size: 14px;
}
.result_wrap .planabout > .exterior {
  width: 60%;
}

.result_wrap .planabout > .exterior.secret {
  width: 45%;
}
.result_wrap .planabout > .exterior img {
  width: 100%;
}

.result_wrap .price_block {
  background-color: #e3dfd3;
}
.result_wrap .price_block > div {
  background-color: #fff;
  width: 90%;
  margin: auto;
  padding: 10px 0;
  border-radius: 5px;
  box-sizing: border-box;
}

.result_wrap .price_block > div > p {
  font-size: 15px;
  font-weight: bold;
  display: block;
    margin: auto;
    max-width: 200px;
    text-align: center;
}
.result_wrap .price_block > div > .price span {
  color: #b6360c;
  font-size: 28px;
}

.floormidashi {
  margin: 20px 0 10px;
  width: 100%;
}
.result_wrap .madori_wrap > .madori {
  width: 100%;
}

/***　アコーディオン　*****/
.acdlabel {
  background-color: #b6360c;
  display: block;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  position: relative;
}
.acdlabel::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 6.5px 0 6.5px;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  top: 50%;
  right: 30px;

  transform: translateY(-60%);
  transition: 0.3s;
}
.acdlabel.active::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 6.5px 0 6.5px;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  top: 35%;
  right: 30px;
  transform: translateY(-60%);
  transform: rotate(180deg);
}
.acd-content {
  background-color: #f5f4ee;
  padding-bottom: 30px;
  box-sizing: border-box;
  padding: 0 10px;
  display: none;
}

.recommendpoint > .point_n {
  font-weight: bold;
  display: inline-block;
  padding: 10px 0 10px 80px;
  position: relative;
  font-size: 18px;
}
.recommendpoint > .point_n::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 80px;
  height: 50px;
  left: 0;
  top: 50%;
  text-align: center;
  letter-spacing: -1px;
  transform: translateY(-50%);
  font-size: 13px;
  background-size: 45%;
  background-repeat: no-repeat;
  background-position: bottom center;
  color: #bc471f;
}

.recommendpoint > .pointimg {
  margin: auto;
  width: 70%;
}
.recommendpoint > .pointimg img {
  width: 100%;
}
.recommendpoint > p.point_n.title_a::before {
  content: "家事ラク";
  background-image: url("../img/point_2.png");
}
.recommendpoint > p.point_n.title_b::before {
  content: "片付け上手";
  background-image: url("../img/point_1.png");
}
.recommendpoint > p.point_n.title_c::before {
  content: "片付け上手";
  background-image: url("../img/point_1.png");
}
.recommendpoint > p.point_n.title_d::before {
  content: "団らん";
  background-image: url("../img/point_4.png");
}
.recommendpoint > p.point_n.title_e::before {
  content: "プライベート";
  background-image: url("../img/point_5.png");
}
.recommendpoint > p.point_n.title_f::before {
  content: "家事ラク";
  background-image: url("../img/point_2.png");
}
.recommendpoint > p.point_n.title_g::before {
  content: "片付け上手";
  background-image: url("../img/point_1.png");
}
.recommendpoint > p.point_n.title_h::before {
  content: "団らん";
  background-image: url("../img/point_4.png");
}
.recommendpoint > p.point_n.title_i::before {
  content: "片付け上手";
  background-image: url("../img/point_1.png");
}
.recommendpoint > p.point_n.title_j::before {
  content: "仕事趣味";
  background-image: url("../img/point_3.png");
}
.recommendpoint > p.point_n.title_k::before {
  content: "家事ラク";
  background-image: url("../img/point_2.png");
}
.recommendpoint > p.point_n.title_l::before {
  content: "プライベート";
  background-image: url("../img/point_5.png");
}
.recommendpoint > p.point_n.title_m::before {
  content: "団らん";
  background-image: url("../img/point_4.png");
}
.recommendpoint > p.point_n.title_n::before {
  content: "片付け上手";
  background-image: url("../img/point_1.png");
}
.recommendpoint > p.point_n.title_o::before {
  content: "団らん";
  background-image: url("../img/point_4.png");
}
.recommendpoint > p.point_n.title_p::before {
  content: "団らん";
  background-image: url("../img/point_4.png");
}
.recommendpoint > p.point_n.title_q::before {
  content: "プライベート";
  background-image: url("../img/point_5.png");
}
.recommendpoint > p.point_n.title_r::before {
  content: "プライベート";
  background-image: url("../img/point_5.png");
}
.recommendpoint > p.point_n.title_s::before {
  content: "仕事趣味";
  background-image: url("../img/point_3.png");
}
.recommendpoint > p.point_n.title_t::before {
  content: "仕事趣味";
  background-image: url("../img/point_3.png");
}
.recommendpoint > p.point_n.title_u::before {
  content: "家事ラク";
  background-image: url("../img/point_2.png");
}
.recommendpoint > p.point_n.title_v::before {
  content: "家事ラク";
  background-image: url("../img/point_2.png");
}
.recommendpoint > p.point_n.title_w::before {
  content: "家事ラク";
  background-image: url("../img/point_2.png");
}
.recommendpoint > p.point_n.title_x::before {
  content: "片付け上手";
  background-image: url("../img/point_1.png");
}
.recommendpoint > p.point_n.title_y::before {
  content: "団らん";
  background-image: url("../img/point_4.png");
}
.recommendpoint > p.point_n.title_z::before {
  content: "仕事趣味";
  background-image: url("../img/point_3.png");
}

.recommendpoint > p.point_n,
.recommendpoint > p.point_tx {
  margin: 0;
}
.recommendpoint > p.point_tx {
  line-height: 1.6;
}
.reqdoc_b {
  display: block;
  color: #fff;
  background-color: #d58422;
  text-align: center;
  padding: 20px 0;
  margin: 20px auto 0;
  position: relative;
  border-radius: 3px;
  text-decoration: none;
  line-height: 1.3;
}
.reqdoc_b > span {
  font-size: 13px;
}

.reqdoc_b::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(45deg);
}
/* .raijo{margin: 20px auto 60px;}
.raijo::before{content: "【4/10まで】WEB来場予約で商品券3000円分プレゼント（特典キーワード：フェア）";font-size: 14px;display: block;position: absolute;bottom: -40px;color: #000;} */


/******************************************/
/** ローディングアニメーション **/
#loadinganimation {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#loadinganimation > p {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #555555;
}

.loader,
.loader:before,
.loader:after {
  background: #555555;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #555555;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: "";
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
