body {
  position: relative;
  margin: 0;
  background: #f4f4f4;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color: #333;
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", YuGothic,
    "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}
h1,h2,h3,h4,h5 {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  margin: 0;
  border: 0;
  vertical-align: top;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.inner-block {
  width: 100%;
   
  margin: auto;
  padding: 0 20px;
  position: relative;
}
.diagnose-wrap {
    width: 100%;
  }
@media screen and (max-width:761px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .ib {
    display: inline-block;
  }
  .inner-block {
    padding: 0 0px;
  }
}

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

.title-wrap .title {
  font-size: 40px;
    line-height: 1.8em;
  text-align: center;
    
}
br.sp1 { display: inline!important; }
br.pc1 { display: none!important; }

@media screen and (max-width:761px) {
    br.sp1 { display: none!important; }
br.pc1 { display: inline!important; }
  .title-wrap .title {
    font-size: 24px;
      line-height: 1.6em;
  }
  .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: #fff;
  border-radius: 0px;
  padding: 80px 24px;
  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: #009999;
}
.box-wrap .box .txt {
  text-align: center;
  font-size: 18px;
    line-height: 1.8em;
}
@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;
    line-height: 1.8em;
}
.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 {
  background: rgba(255,255,255,0);
   font-size: 16px; 
  border-radius: 50px;
  border: 1px solid #00914c;
  font-weight: bold;
  padding: 20px;
  text-decoration: none;
  text-align: center;
  position: relative;
  width: calc((100% - 40px) / 3);
}
.box-wrap .box .select-wrap .select::after {
  border-radius: 50px;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transition: all .2s ease-in-out;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.box-wrap .box .select-wrap .select.is-inactive {
    background: rgba(213,227,202,1.0);
}
.box-wrap .box .select-wrap .select.yes {
  color: #00914c;
}
.box-wrap .box .select-wrap .select.no {
  color: #00914c;
}
.box-wrap .box .select-wrap .select.vague {
  color: #00914c;
}
@media screen and (min-width:761px) {
  .box-wrap .box .select-wrap .select:hover {
    background: rgba(213,227,202,1.0);
  }
  .box-wrap .box .select-wrap .select:hover::after {
    opacity: 1;
  }
  .box-wrap .box .select-wrap .select.is-inactive:hover {
      background: rgba(213,227,202,1.0);
  }
  .box-wrap .box .select-wrap .select.is-inactive:hover::after {
    color: #fff;
  }
  .box-wrap .box .select-wrap .select + .select {
    margin-left: 20px;
  }
}
@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: #009999;
  border: 2px solid #009999;
  border-radius: 50px;
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: bold;
  max-width: 400px;
  margin: auto;
  text-align: center;
  text-decoration: none;
  padding: 13px 56px 14px;
  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: 6px 0 6px 9px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 16px;
  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: #009999;
    transition: 0.2s ease-in-out;
  }
  .btn-wrap button:hover::before {
    border-color: transparent transparent transparent #009999;
  }
}
@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;
  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%;
  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;
}