@scope (.ct-legacy) {
:scope {
  --color-white: #FFFFFF;
  --color-main: #87b828;
  --color-main-dark: #229C2A;
  --color-accent: #222e0a;
  --color-text: #505050;
  --color-red: #C62F2B;
  --font-main: "neue-haas-grotesk-text", "ryo-gothic-plusn", sans-serif;
}

/* ******************************
 *
 * RESPONSIVE MIXIN
 *
 * ****************************** */
/* ******************************
 *
 * FONT SETTINGS
 *
 * ****************************** */
@font-face {
  font-family: "tsukuhou";
  src: url("../../font/Tsukuhou-35Point-Gothic.ttf") format("truetype");
}
/* ******************************
 *
 * FONT SETTINGS
 *
 * ****************************** */
@-webkit-keyframes loopCl {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@keyframes loopCl {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
.simulatorMain {
  position: relative;
}
@media screen and (min-width: 320px) {
  .simulatorMain {
    margin: 5rem 5vw 0;
  }
}
@media screen and (min-width: 1025px) {
  .simulatorMain {
    margin: 8.5rem 27.5vw 0;
  }
}

.progressBar {
  position: sticky;
  top: 15rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background: #FFFFFF;
  padding: 0.5rem;
  border-radius: 2rem;
  z-index: 1;
}

.progressItem {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: rgba(135, 184, 40, 0.2);
  width: 13.9%;
  height: 3rem;
  font-weight: 900;
  color: #87b828;
  letter-spacing: 0.2rem;
  overflow: hidden;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
@media screen and (min-width: 320px) {
  .progressItem {
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 1025px) {
  .progressItem {
    font-size: 1.8rem;
  }
}
.progressItem::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #87b828;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  z-index: -1;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
.progressItem.isActive {
  color: #FFFFFF;
}
.progressItem.isActive::before {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
.progressItem:nth-child(1) {
  border-radius: 2rem 0 0 2rem;
}
.progressItem:nth-last-child(1) {
  border-radius: 0 2rem 2rem 0;
}

.simulatorAbout {
  background: #f3f3f3;
  line-height: 1.667;
  letter-spacing: 0.09rem;
  -webkit-transform: translateY(2rem);
          transform: translateY(2rem);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility ease 0.2s, opacity ease 0.2s, -webkit-transform ease 0.2s;
  transition: visibility ease 0.2s, opacity ease 0.2s, -webkit-transform ease 0.2s;
  transition: transform ease 0.2s, visibility ease 0.2s, opacity ease 0.2s;
  transition: transform ease 0.2s, visibility ease 0.2s, opacity ease 0.2s, -webkit-transform ease 0.2s;
}
@media screen and (min-width: 320px) {
  .simulatorAbout {
    width: 80%;
    font-size: 1.2rem;
    padding: 1.5rem 2.5rem;
    border-radius: 1.5rem;
    margin: 4rem 0 0 20%;
  }
}
@media screen and (min-width: 1025px) {
  .simulatorAbout {
    width: 100%;
    font-size: 1.8rem;
    padding: 2.6rem 3rem;
    border-radius: 2rem;
    margin: 7rem 0 0;
  }
}
.simulatorAbout.isActive {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(2rem);
            transform: translateY(2rem);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(2rem);
            transform: translateY(2rem);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.questionWrapper, .simulatorContact {
  -webkit-transform: translateY(2rem);
          transform: translateY(2rem);
  display: none;
  opacity: 0;
}
.questionWrapper.isActive.isActive, .simulatorContact.isActive.isActive {
  display: block;
  -webkit-animation-name: fadeIn;
          animation-name: fadeIn;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-duration: 0.2s;
          animation-duration: 0.2s;
}

.questionWrapper {
  background: #f3f3f3;
}
@media screen and (min-width: 320px) {
  .questionWrapper {
    width: 80%;
    padding: 2.5rem 2.5rem 3rem;
    border-radius: 1.5rem;
    margin: 1.5rem 0 0 20%;
  }
}
@media screen and (min-width: 1025px) {
  .questionWrapper {
    width: 100%;
    padding: 3rem 3rem 4rem;
    border-radius: 2rem;
    margin: 2rem 0 0;
  }
}
@media screen and (min-width: 320px) {
  .questionWrapper ul, .questionWrapper p {
    font-size: 1.1rem;
  }
}
@media screen and (min-width: 1025px) {
  .questionWrapper ul, .questionWrapper p {
    font-size: 1.8rem;
  }
}
.questionWrapper .attenList {
  margin: 1.35rem 0;
  padding-left: 2rem;
}
.questionWrapper .attenList li {
  position: relative;
  padding: 3px 0 3px 2rem;
}
.questionWrapper .attenList li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #87b828;
}

.questionTitle {
  font-weight: 900;
  letter-spacing: 0.1rem;
}
@media screen and (min-width: 320px) {
  .questionTitle {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 1025px) {
  .questionTitle {
    font-size: 2.2rem;
  }
}

.questionList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (min-width: 320px) {
  .questionList {
    margin-top: 2rem;
  }
}
@media screen and (min-width: 1025px) {
  .questionList {
    margin-top: 2.6rem;
  }
}
.questionList.twoColumn .questionItem {
  width: 48%;
}
.questionList.threeColumn .questionItem {
  width: 32%;
}
.questionList.threeColumn.sp {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (min-width: 320px) {
  .questionList.threeColumn.sp .questionItem {
    width: 100%;
    margin: 5px 0;
  }
}
@media screen and (min-width: 1025px) {
  .questionList.threeColumn.sp .questionItem {
    width: 32%;
    margin: 0;
  }
}
.questionList.twoRow {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (min-width: 320px) {
  .questionList.twoRow {
    gap: 1rem 0;
  }
}
@media screen and (min-width: 1025px) {
  .questionList.twoRow {
    gap: 2rem 0;
  }
}
.questionItem {
  width: 23.6%;
}
.questionItem.isActive {
  color: #87b828;
}

.questionBtn {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: bold;
  -webkit-box-shadow: 2.5px 4.33px 5px 0px rgb(207, 207, 207), -3.214px -3.83px 5px 0px rgb(255, 255, 255);
          box-shadow: 2.5px 4.33px 5px 0px rgb(207, 207, 207), -3.214px -3.83px 5px 0px rgb(255, 255, 255);
  -webkit-transition: color ease 0.2s, -webkit-box-shadow ease 0.2s;
  transition: color ease 0.2s, -webkit-box-shadow ease 0.2s;
  transition: color ease 0.2s, box-shadow ease 0.2s;
  transition: color ease 0.2s, box-shadow ease 0.2s, -webkit-box-shadow ease 0.2s;
  cursor: pointer;
}
@media screen and (min-width: 320px) {
  .questionBtn {
    font-size: 1.2rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
  }
}
@media screen and (min-width: 1025px) {
  .questionBtn {
    font-size: 1.8rem;
    padding: 1.5rem;
    border-radius: 2rem;
  }
}
.questionBtn:hover {
  color: #87b828;
  -webkit-box-shadow: 1.8px 1.8px 5px 0px rgb(207, 207, 207), -1.2px -1.2px 5px 0px rgb(255, 255, 255);
          box-shadow: 1.8px 1.8px 5px 0px rgb(207, 207, 207), -1.2px -1.2px 5px 0px rgb(255, 255, 255);
}
.questionBtn span {
  display: inline-block;
  padding-top: 6px;
}

.iconWrapper {
  position: absolute;
  top: 0;
  height: 100%;
}
@media screen and (min-width: 320px) {
  .iconWrapper {
    right: 85%;
    width: 5rem;
    padding-top: 5rem;
  }
}
@media screen and (min-width: 1025px) {
  .iconWrapper {
    right: 104%;
    width: 11.2rem;
    padding-top: 7.5rem;
  }
}

.icon {
  position: sticky;
  top: 22rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.iconImg {
  aspect-ratio: 1/1;
  border-radius: 50%;
}

@media screen and (min-width: 320px) {
  .iconPost {
    font-size: 8px;
    margin-top: 1rem;
  }
}
@media screen and (min-width: 1025px) {
  .iconPost {
    font-size: 1rem;
    margin-top: 1.4rem;
  }
}

@media screen and (min-width: 320px) {
  .iconName {
    font-size: 10px;
  }
}
@media screen and (min-width: 1025px) {
  .iconName {
    font-size: 1.6rem;
  }
}

input[type=radio]:checked + .questionBtn {
  color: #87b828;
  -webkit-box-shadow: 0.9px 0.9px 2px 0px rgb(207, 207, 207), -0.6px -0.6px 5px 0px rgb(255, 255, 255);
          box-shadow: 0.9px 0.9px 2px 0px rgb(207, 207, 207), -0.6px -0.6px 5px 0px rgb(255, 255, 255);
}

#estimateNum {
  color: #87b828;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-align: center;
}
@media screen and (min-width: 320px) {
  #estimateNum {
    font-size: 2.4rem;
    margin: 2rem 0;
  }
}
@media screen and (min-width: 1025px) {
  #estimateNum {
    font-size: 5rem;
    margin: 3rem 0 2rem;
  }
}
}
