@charset "UTF-8";

.step {
  margin-bottom: 50px;
  .b-mds {
    margin-bottom: 20px;
  }
  &:not(.current) {
    display: none;
  }
  &.done {
    display: block;
  }
  
  &.done {
    button {
      &:not(.active) {
        display: none;
      }
    }
  }
  button {
    display: block;
    width: 100%;
    border: 1px solid var(--line-t);
    border-radius: var(--r);
    background: #fff;
    filter: var(--drop);
    padding: 12px 20px 15px 20px;
    padding-top: 12px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    text-align: left;
    font-size: min(5.5vw,22px);
    position: relative;
    transition: var(--transition);
    .e-txt,
    .e-cautionB {
      display: inline-block;
    }
    .e-txt {
      padding-right: .5em;
    }
    .e-cautionB {
      font-size: min(4vw,16px);
      line-height: 1.4;
    }
    &:hover {
      border-color: var(--blue);
      color: var(--blue);
    }
    &.active {
      border-width: 1px;
    }
  }
  .b-item {
    &:not(.show) {
      display: none;
    }
  }
  &:first-of-type {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .step {
    .b-mds {
      .e-mds {
        font-size: min(5.5vw,22px);
      }
    }
  }
}
@media screen and (min-width: 768px) {
  .step {
    .b-mds {
      .e-mds {
        font-size: 28px;
      }
    }
  }
}

#targetmodel {
  .b-img {
    padding-bottom: 5px;
    display: flex;
    gap: 10px;
    img {
      width: calc( (100% - 10px) / 2);
    }
  }
  .b-content {
    display: grid;
    gap: 0 15px;
    button {
      display: flex;
      gap: 10px;
    }
  }
  &.m-cons {
    .b-img {
      display: none;
    }
    .b-content {
      display: block;
    }
  }
}
@media screen and (max-width: 450px) {
  #targetmodel {
    .b-content {
      grid-template-columns: repeat(1,1fr);
    }
    button {
      flex-direction: column;
    }
  }
}
@media screen and (min-width: 451px) and (max-width: 1000px) {
  #targetmodel {
    .b-img {
      width: 60%;
      max-width: 350px;
      flex-shrink: 0;
    }
    .b-content {
      grid-template-columns: repeat(1,1fr);
    }
    button {
      justify-content: space-between;
    }
  }
}
@media screen and (min-width: 1001px) {
  #targetmodel {
    .b-content {
      grid-template-columns: repeat(3,1fr);
    }
    button {
      flex-direction: column;
    }
  }
}

.b-resultLits {
  border: 3px solid var(--blue);
  margin-top: 50px;
  padding-bottom: 20px;
  .e-mds {
    background: var(--blue);
    line-height: 1;
    color: #fff;
    font-size: min(4vw,16px);
    font-weight: 500;
    padding: .5em .5em .7em;
  }
  .b-result {
    padding: 20px;
    margin-top: -20px;
    dl {
      padding-bottom: 15px;
    }
  }
  dt {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-weight: 500;
    &::before {
      content: "●";
      display: inline-block;
      color: var(--blue);
    }
    &:has(+dd) {
      margin-bottom: 5px;
    }
  }
  dd {
    font-size: .95em;
    padding-left: 2em;
    position: relative;
    &::before {
      content: "・";
      position: absolute;
      left: 1.1em;
    }
    &+dd {
      margin-top: 3px;
    }
    &.e-caution {
      &::before {
        content: "※";
      }
    }
    .e-caution {
      display: block;
      font-size: .85em;
      color: var(--txt-d);
      padding-left: 1em;
      position: relative;
      &::before {
        content: "※";
        position: absolute;
        left: 0;
      }
    }
    a {
      display: block;
      color: var(--blue);
      text-decoration: underline;
    }
  }
  .b-guidance {
    margin: 0 20px !important;
    background: #E4F2F6;
    .e-mds {
      background: var(--txt-d);
      display: inline-block;
      margin-bottom: 20px;
    }
    dl {
      padding: 0 20px 20px;
    }
    dt {
      &::before {
        color: var(--txt-d);
      }
    }
  }
}


.b-contactGuide {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: .5em 20px 20px calc(20px + 1.3em);
  .b-btn {
    padding-left: 1em;
    padding-right: 1em;
    height: 50px;
  }
  dl {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 10px;
    dt,dd {
      padding-left: 0;
      &::before {
        display: none;
      }
    }
    dt {
      margin-bottom: 0;
    }
    dd {
      font-weight: 500;
        font-size: min(3.5vw,14px);
      span {
        display: inline-block;
        margin-right: .3em;
        font-size: min(5vw,20px);
        font-family: var(--fontNum);
        font-weight: 600;
      }
    }
  }
}
