/* ------------------------------
 width: all
------------------------------ */
.fv .wrapper {
  background-color: #2E683A;
  padding: 40px 0;
}

.fv .wrapper h1 {
  width: 677px;
  margin: 0 auto;
}

.fv .wrapper h1 img {
  width: 100%;
  display: block;
}

main section.s01 {
  width: 1000px;
  margin: 0 auto;
  padding-right: 280px;
  position: relative;
  min-height: 850px;
}

main section.s01 .wrapper .step {
  font-size: 59px;
  font-weight: bold;
  color: #448542;
  letter-spacing: 2px;
  line-height: 59px;
}

main section.s01 .wrapper .step span {
  font-size: 36px;
}

main section.s01 .wrapper .msgbox {
  background-color: #fff;
  padding: 45px 60px;
  border-radius: 20px;
  margin-top: 10px;
  position: relative;
}

main section.s01 .wrapper .msgbox p {
  font-size: 24px;
  line-height: 200%;
  color: #448542;
  font-weight: bold;
}

main section.s01 .wrapper .msgbox .arrow {
  width: 88px;
  display: block;
  position: absolute;
  top: 50px;
  right: -50px;
}

main section.s01 .wrapper ul {
  margin: 20px auto 0;
  font-size: 0;
  letter-spacing: 0;
  text-align: center;
}

main section.s01 .wrapper ul li {
  display: inline-block;
  margin: 7px;
  width: 214px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  position: relative;
}

main section.s01 .wrapper ul li img {
  width: 100%;
  display: block;
}

main section.s01 .wrapper ul li p {
  color: #ffff01;
  font-size: 30px;
  line-height: 30px;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  margin: -10px auto 0;
  z-index: 100;
  opacity: 0;
  text-shadow: black 2px 0px,  black -2px 0px, black 0px -2px, black 0px 2px, black 2px 2px , black -2px 2px, black 2px -2px, black -2px -2px, black 1px 2px,  black -1px 2px, black 1px -2px, black -1px -2px, black 2px 1px,  black -2px 1px, black 2px -1px, black -2px -1px;
}

main section.s01 .wrapper ul li::after {
  content: "";
  display: block;
  opacity: 0;
  border: 10px solid rgba(255, 255, 1, 0.8);
  background-color: rgba(255, 255, 1, 0.4);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

main section.s01 .wrapper ul li.selected::after {
  opacity: 1;
}

main section.s01 .wrapper ul li.selected p {
  opacity: 1;
}

main section.s01 .person {
  display: block;
  position: absolute;
  top: 75px;
  right: 0;
}

main .next {
  z-index: 800;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  display: none;
}

main .next .nextmsgbox {
  text-align: center;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
}

main .next .nextmsgbox .btn_next {
  width: 400px;
  height: 70px;
  margin: 0 10px;
  line-height: 26px;
  padding: 22px 0;
  background-color: #448542;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
}

main .next .nextmsgbox .btn_next:hover {
  cursor: pointer;
  opacity: .6;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

main .next .nextmsgbox .btn_cancel {
  width: 200px;
  height: 50px;
  line-height: 50px;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  border-radius: 6px;
  color: #888;
  font-weight: bold;
  background-color: #ddd;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
}

.db {
  display: block !important;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 768px) {
  .fv .wrapper {
    background-color: #2E683A;
    padding: 20px 20px;
  }
  .fv .wrapper h1 {
    width: 677px;
    max-width: 100%;
    margin: 0 auto;
  }
  .fv .wrapper h1 img {
    width: 100%;
    display: block;
  }
  main section.s01 {
    width: 100%;
    margin: 0 auto;
    padding: 0 80px 0 15px;
    position: relative;
    min-height: 0;
  }
  main section.s01 .wrapper .step {
    font-size: 35px;
    font-weight: bold;
    color: #448542;
    letter-spacing: 1px;
    line-height: 40px;
  }
  main section.s01 .wrapper .step span {
    font-size: 20px;
  }
  main section.s01 .wrapper .msgbox {
    background-color: #fff;
    padding: 15px 15px;
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
  }
  main section.s01 .wrapper .msgbox p {
    font-size: 18px;
    line-height: 200%;
    color: #448542;
    font-weight: bold;
  }
  main section.s01 .wrapper .msgbox .arrow {
    width: 30px;
    display: block;
    position: absolute;
    top: 20px;
    right: -20px;
  }
  main section.s01 .wrapper ul {
    margin: 15px auto 0;
    font-size: 0;
    letter-spacing: 0;
    text-align: center;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  main section.s01 .wrapper ul li {
    display: block;
    width: calc((100% - 10px) / 2);
    margin: 10px 0 0 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    position: relative;
  }
  main section.s01 .wrapper ul li p {
    color: #ffff01;
    font-size: 20px;
    line-height: 20px;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    margin: -10px auto 0;
    opacity: 0;
  }
  main section.s01 .wrapper ul li::after {
    content: "";
    display: block;
    opacity: 0;
    border: 10px solid rgba(255, 255, 1, 0.8);
    background-color: rgba(255, 255, 1, 0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  main section.s01 .wrapper ul li.selected::after {
    opacity: 1;
  }
  main section.s01 .wrapper ul li.selected p {
    opacity: 1;
  }
  main section.s01 .person {
    width: 70px;
    display: block;
    position: absolute;
    top: 60px;
    right: 5px;
  }
  main .next {
    z-index: 800;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
  }
  main .next .nextmsgbox {
    text-align: center;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
  }
  main .next .nextmsgbox .btn_next {
    width: 260px;
    height: 54px;
    margin: 0 auto;
    line-height: 24px;
    padding: 15px 0;
    text-decoration: none;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
  }
  main .next .nextmsgbox .btn_cancel {
    width: 130px;
    height: 40px;
    margin: 0 10px;
    line-height: 40px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    margin: 15px auto 0;
  }
}
