body {
  position: relative;
  background: #f4f4f4;
  margin: 0 auto;
  padding: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color: #333;
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", YuGothic,
    "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  letter-spacing:0.02em;
}
h1,h2,h3,h4,h5 {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  margin: 0 auto;
  border: 0;
  vertical-align: top;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.inner-block {
  width: 1000px;/*1200px;*/
  margin:0 auto;
  padding: 0 20px;
  position: relative;
}
h1.title{
  margin: 80px 0 0;
}

@media screen and (max-width:761px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .ib {
    display: inline-block;
  }
  .inner-block {
    padding: 0 15px;
    width: 100%;
  }
}

.wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.title-wrap .title {
  font-size: 24px;
  text-align: center;
}
@media screen and (max-width:761px) {
  .title-wrap .title {
    font-size: 24px;
  }
  .diagnose-wrap {
    width: 100%;
  }
}

/* ボックス */
.box-wrap {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  margin-top: 50px;
}
.box-wrap.is-inactive {
  position: relative;
}
.box-wrap.is-inactive .box {
  position: relative;
}
.box-wrap .box {
  background: #f4f4f4;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
  border-radius: 20px;
  padding: 80px 50px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  display: none;
}
.box-wrap .box.is-inactive {
  position: absolute;
}
.box-wrap .box.result .title {
  color: #E75400;
}
.box-wrap .box .txt {
  text-align: center;
  font-size: 18px;
}

.diagnose-wrap{
  margin-bottom: 60px;
}

.copyright {
  line-height: 20px;
  text-align: center;
  padding: 20px 0 20px;
  font-size: 10px;
  background-color: #222222;
  color: #DFDFDF;
  width:100%;
  height:auto;
}

@media screen and (max-width:761px) {
  .box-wrap .box {
    padding: 60px 30px 40px;
  }
}

/* 選択肢 */
.box-wrap .box .title {
  font-size: 26px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 50px;
}
.box-wrap .box .title::before {
  background: #999;
  content: "";
  display: block;
  height: 2px;
  width: 60px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
.box-wrap .box .title .num {
  font-size: 30px;
}
.box-wrap .box .title .small {
  font-size: 20px;
}
.box-wrap .box .select-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.box-wrap .box .select-wrap .select {
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1),-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0);
  border-radius: 50px;
  border: none;
  font-weight: bold;
  padding: 20px;
  text-decoration: none;
  text-align: center;
  position: relative;
  width: calc((100% - 40px) / 2);
  margin-bottom:20px;
}
.box-wrap .box .select-wrap .select::after {
  border-radius: 50px;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
  transition: all .2s ease-in-out;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.box-wrap .box .select-wrap .select.is-inactive {
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
}
.box-wrap .box .select-wrap .select.yes {
  color: #ff6666;
}
.box-wrap .box .select-wrap .select.no {
  color: #33cccc;
}
.box-wrap .box .select-wrap .select.vague {
  color: #999;
}
@media screen and (min-width:761px) {
  .box-wrap .box .select-wrap .select:hover {
    box-shadow: none;
  }
  .box-wrap .box .select-wrap .select:hover::after {
    opacity: 1;
  }
  .box-wrap .box .select-wrap .select.is-inactive:hover {
    box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
  }
  .box-wrap .box .select-wrap .select.is-inactive:hover::after {
    opacity: 0;
  }
  .box-wrap .box .select-wrap .select + .select {
    margin-left: 20px;
  }

  .box-wrap .box .select-wrap .select:nth-child(3){
    margin-left: 0px;
  }

}
@media screen and (max-width:761px) {
  .box-wrap .box .title {
    font-size: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
  .box-wrap .box .title::before {
    width: 40px;
  }
  .box-wrap .box .title .num {
    font-size: 24px;
    display: block;
  }
  .box-wrap .box .title .small {
    display: block;
    font-size: 14px;
  }
  .box-wrap .box .select-wrap {
    flex-direction: column;
  }
  .box-wrap .box .select-wrap .select {
    padding: 12px;
    width: 100%;
  }
  .box-wrap .box .select-wrap .select + .select {
    margin-top: 20px;
  }
}

/* 次の質問へ */
.btn-wrap {
  margin-top: 70px;
}
.btn-wrap .tool-btn {
  background: #E75400;
  border: 2px solid #E75400;
  border-radius: 50px;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1),-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0);
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: bold;
  max-width: 400px;
  margin: auto;
  text-align: center;
  text-decoration: none;
  padding: 13px 20px 12px;
  position: relative;
  transition: 0.2s ease-in-out;
  width: 100%;
}
.btn-wrap .tool-btn::before {
  content: "";
  color: #fff;
  border-style: solid;
  display: inline-block;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 18px;
  right: 20px;
}
.btn-wrap .tool-btn.is-inactive {
  pointer-events: none;
  background: #999;
  border-color: #999;
}
.btn-wrap .tool-btn + .tool-btn {
  margin-top: 15px;
}
.btn-wrap.is-inactive {
  display: none;
}
@media screen and (min-width:761px) {
  .btn-wrap button:hover {
    background: #fff;
    color: #E75400;
    transition: 0.2s ease-in-out;
  }
  .btn-wrap button:hover::before {
    border-color: transparent transparent transparent #E75400;
  }
}
@media screen and (max-width:761px) {
  .btn-wrap {
    margin-top: 40px;
  }
  .btn-wrap .tool-btn {
    font-size: 16px;
    max-width: 320px;
    padding: 10px;
  }
  .btn-wrap .tool-btn::before {
    border-width: 5px 0 5px 8px;
    top: 16px;
  }
}

/* クローズボタン */
.close-btn {
  color: #999;
  display: block;
  font-weight: bold;
  border-radius: 100px;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1),-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0);
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 20px;
}
.close-btn::after {
  border-radius: 100px;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
  transition: all .2s ease-in-out;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.close-btn .mark {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}

@media screen and (min-width:761px) {
  .close-btn:hover {
    box-shadow: none;
  }
  .close-btn:hover::after {
    opacity: 1;
  }
}
@media screen and (max-width:761px) {
  .close-btn {
    font-size: 12px;
    padding: 5px 14px;
  }
}

button {
  cursor: pointer;
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", YuGothic,
    "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

.resultresult{
  margin: 10px auto 10px auto;
  display: block;
  width:50%;
  line-height: 4;
}

.resultresult a{
  color: #ff6666;
  font-weight: bold;
  font-size:20px;
}
.resultresult img{
  margin: 5px;
}
p.allert{
  margin: 10px auto 10px auto;
  display: block;
  width:50%;
}


@media screen and (max-width:761px) {
  .resultresult{
    margin: 10px auto 10px auto;
    display: block;
    width:100%;
    line-height: 4;
  }
  .resultresult a{
    color: #ff6666;
    font-weight: bold;
    font-size:14px;
  }
  .resultresult img{
    margin: 5px 5px 5px 0;
  }
  p.allert{
    margin: 10px auto 10px auto;
    display: block;
    width:100%;
  }
}