@charset "UTF-8";
/*------------------------------
    料金シュミレーション
------------------------------*/

.dummy {
  height: 300px;
}

#implant-lp .btn-r {
  top: 80px;
}
#implant-lp .inner-l {
  max-width: 1100px;
}

#simulation {
  padding: 100px 0;
}
#simulation h3 {
  text-align: center;
  font-size: 55px;
  margin-bottom: 50px;
  font-family: "Noto Serif JP", serif;
  color: #002987;
  font-weight: 700;
  line-height: 1.4;
}
#simulation h3 + p {
  margin-bottom: 40px;
  text-align: center;
  font-size: 24px;
  line-height: 1.5;
}
#simulation .step-list {
  position: relative;
}
#simulation .step-item {
  padding: 30px;
  background-color: #DDE4F3;
  margin-bottom: 40px;
  position: relative;
}
#simulation .step-item:has(.link-blank) {
  padding-top: 50px;
}
#simulation .step-item h4 {
  margin-bottom: 30px;
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 15px;
}
#simulation .step-item h4 span {
  background-color: #002987;
  color: #fff;
  text-align: center;
  display: inline-block;
  width: 72px;
  height: 72px;
  position: relative;
  /*position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);*/
  line-height: calc(72px + 0.5em);
  font-size: 32px;
  font-weight: 400;
  border-radius: 50%;
}
#simulation .step-item h4 span em {
  display: inline-block;
  font-style: normal;
  position: absolute;
  top: 1em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40%;
  line-height: 1;
}
#simulation .step-item h4 p {
  color: #002987;
  font-size: 35px;
  line-height: 1.4;
  width: calc(100% - 72px);
}
#simulation .step-item h4 p small {
  display: block;
  color: #333;
  font-size: 68%;
  margin-bottom: 2px;
}
#simulation .step-item .answer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
#simulation .step-item .answer-list.col3 {
  grid-template-columns: repeat(3, 1fr);
}
#simulation .step-item .answer-list li {
  border: 1px solid #002987;
  position: relative;
}
#simulation .step-item figure {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
#simulation .step-item figure span {
  display: inline-block;
  width: 12%;
}
#simulation .step-item figure span img {
  width: 100%;
}
#simulation .step-item label {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
  transition: 0.3s all;
}
#simulation .step-item input[type=radio] {
  position: absolute;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
#simulation .step-item input[type=radio]:checked + label, #simulation .step-item input[type=radio]:hover + label {
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 41, 135, 0.5);
}
#simulation .step-item input[type=radio]:checked + label .radio-btn span:before, #simulation .step-item input[type=radio]:hover + label .radio-btn span:before {
  display: block;
}
#simulation .step-item .radio-btn {
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 27px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}
#simulation .step-item .radio-btn span {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  text-align: left;
}
#simulation .step-item .radio-btn span:has(small) {
  padding-top: 1.1em;
}
#simulation .step-item .radio-btn span small {
  display: block;
  font-weight: 400;
  font-size: 70%;
  position: absolute;
  top: 0px;
  left: 30px;
}
#simulation .step-item .radio-btn span:after {
  content: "";
  height: 14px;
  width: 14px;
  border: 1px solid #002987;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #fff;
}
#simulation .step-item .radio-btn span:before {
  content: "";
  height: 9px;
  width: 9px;
  position: absolute;
  top: 50%;
  left: 3.5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #002987;
  z-index: 2;
  display: none;
}
#simulation .step-item dl.grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0;
}
#simulation .step-item dl.grid dd {
  text-align: left;
}
#simulation .step-item dl.grid dd:nth-of-type(odd) {
  /* text-align: center; */
  font-weight: 600;
}
#simulation .step-item dl dd {
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}
#simulation .step-item dl dd:last-of-type {
  margin-bottom: 0px;
}
#simulation .step-item dl dd span {
  display: inline-block;
  margin-left: 1.5em;
  position: relative;
  font-weight: 400;
}
#simulation .step-item dl dd span:has(small) {
  padding-bottom: 1.1em;
}
#simulation .step-item dl dd span small {
  position: absolute;
  bottom: 0;
  left: -5em;
  font-size: 70%;
  white-space: nowrap;
}
#simulation .step-item dl dd span small:before {
  content: "※";
  position: absolute;
  top: 0;
  left: -1.2em;
}
#simulation .step-item .link-blank {
  position: absolute;
  top: 0;
  right: 0;
}
#simulation .step-item .link-blank a {
  display: inline-block;
  background-color: #b2853d;
  color: #fff;
  line-height: 1.2;
  padding: 15px 20px;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 20px;
  transition: 0.3s all;
}
#simulation .step-item .link-blank a span {
  position: relative;
  display: inline-block;
  padding-right: 45px;
  letter-spacing: normal;
}
#simulation .step-item .link-blank a span:after {
  content: "";
  background: url(/asset/images/implant-lp/blank.png) no-repeat;
  background-size: 29px;
  width: 29px;
  height: 29px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
#simulation .step-item .link-blank a:hover {
  opacity: 0.7;
}
#simulation .result {
  max-width: 700px;
  width: 86%;
  text-align: center;
  margin: auto;
}
#simulation .result .result-wrap {
  background-color: #002987;
  padding: 40px 50px 30px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all;
}
#simulation .result .result-wrap.show {
  opacity: 1;
  visibility: visible;
}
#simulation .result .price {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 1;
  padding: 20px 5px;
  font-weight: 700;
  font-size: 30px;
  font-weight: 700;
}
#simulation .result .price .num {
  font-size: 166%;
  margin: 0 0.2em;
  color: #002987;
}
#simulation .result .note {
  line-height: 1.2;
  color: #fff;
  margin-top: 20px;
  text-align: center;
  font-size: 90%;
}
#simulation .result .note span {
  display: inline-block;
  position: relative;
  padding-left: 1.2em;
  font-size: 24px;
}
#simulation .result .note span:before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}
#simulation .result.fixed {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

@media screen and (max-width: 768px) {
  #simulation {
    padding: 50px 0;
  }
  #simulation h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  #simulation h3 + p {
    margin-bottom: 20px;
    font-size: 17px;
  }
  #simulation .step-item {
    padding: 25px 15px 15px;
    margin-bottom: 20px;
    /*&:has(.link-blank){
      padding-top: 60px;
    }*/
  }
  #simulation .step-item h4 {
    margin-bottom: 20px;
    flex-direction: column;
    gap: 10px 0;
  }
  #simulation .step-item h4 span {
    width: 56px;
    height: 56px;
    line-height: calc(56px + 0.5em);
    font-size: 26px;
  }
  #simulation .step-item h4 span em {
    top: 0.9em;
    font-size: 30%;
  }
  #simulation .step-item h4 p {
    font-size: 22px;
    font-size: 5.8666666667vw;
    width: 100%;
    text-align: center;
  }
  #simulation .step-item h4 p small {
    display: block;
    color: #333;
    font-size: 60%;
    margin-bottom: 2px;
  }
  #simulation .step-item .answer-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
  #simulation .step-item .answer-list.col3 {
    grid-template-columns: repeat(1, 1fr);
  }
  #simulation .step-item .answer-list li {
    border: 1px solid #002987;
    position: relative;
  }
  #simulation .step-item label {
    padding: 15px 10px 10px;
  }
  #simulation .step-item input[type=radio] {
    position: absolute;
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
  }
  #simulation .step-item input[type=radio]:hover + label {
    background-color: #DDE4F3;
    box-shadow: none;
  }
  #simulation .step-item input[type=radio]:hover + label .radio-btn span:before {
    display: none;
  }
  #simulation .step-item input[type=radio]:checked + label {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 41, 135, 0.5);
  }
  #simulation .step-item input[type=radio]:checked + label .radio-btn span:before {
    display: block;
  }
  #simulation .step-item .radio-btn {
    margin-bottom: 10px;
    font-size: 18px;
    font-size: 4.8vw;
    min-height: auto;
    height: auto;
  }
  #simulation .step-item dl dd {
    margin-bottom: 5px;
    font-size: 14px;
    font-size: 3.7333333333vw;
  }
  #simulation .step-item dl dd span small {
    position: absolute;
    bottom: 0;
    left: auto;
    right: 0;
    font-size: 70%;
    white-space: nowrap;
  }
  #simulation .step-item .link-blank {
    position: relative;
    top: auto;
    right: auto;
    text-align: center;
    margin: 20px 0;
  }
  #simulation .step-item .link-blank a {
    padding: 10px 20px;
    font-size: 16px;
    font-size: 4.2666666667vw;
  }
  #simulation .step-item .link-blank a span {
    text-align: left;
  }
  #simulation .result {
    width: 100%;
  }
  #simulation .result .result-wrap {
    padding: 10px;
  }
  #simulation .result .price {
    padding: 15px 5px;
    font-size: 17px;
    font-size: 4.5333333333vw;
  }
  #simulation .result .note {
    margin-top: 10px;
    font-size: 70%;
  }
  #simulation .result.fixed {
    bottom: 70px;
    width: 90%;
  }
  #simulation .result .note span {
    font-size: 15px;
  }

  #simulation .step-item h4 span {
    line-height: 2.2;
    font-size: 30px;
  }

  #simulation .step-item:has(.link-blank) {
    padding-top: 20px;
  }

}