img{
    max-width: 100%;
}
#weed {
    background-color: #000;
    margin-top: -1px;
    /* position: relative; */
}
#weed .wrap{
    max-width: 1200px;
    margin: auto;
    padding: 50px 0 80px;
}
@media screen and (max-width:1400px) {
    #weed .wrap{
        max-width: 1000px;
    }
}
#weed h2 {
    color: #fff;
    font-family: 'aotf';
    font-size: 2.8rem;
    padding-bottom: 25px;
    border-bottom: solid 1px #DDD;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    text-indent: 5vw;
    margin-top: 1px;
    padding-top: 50px;
}
.wrap p {
    color: #fff;
    font-size: 1.3rem;
    display: inline-block;
    margin: 30px auto 60px;
    line-height: 25px;
}

.risk-section {
  background: #0d0505;
  color: #fff;
}

.risk-top {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

.risk-visual img {
  width: 100%;
  display: block;
}

.common-title {
  text-align: center;
  margin: 60px 0 40px;
  font-weight: 900;
  line-height: 1.5;
}
.risk-merit{
    margin-top: 30px;
    margin-bottom: 50px;
}

.test-case__body,.support__body{
    margin-top: 30px;
}
.inasaku-btn{
    max-width: 550px;
    width: 100%;
    display: block;
    margin: auto;
}

/* SP */
@media screen and (max-width: 767px) {
  .mv{
    margin-top: 60px;
  }
  .wrap p {
    font-size: 1.1rem;
    line-height: 25px;
    margin: 30px auto;
  }
  #weed h2 {
    font-size: 1.5rem;
    padding-bottom: 20px;
    margin-top: -70px;
    padding-top: 70px;
  }
  .risk-section {
    padding: 10px 0;
  }

  .risk-top {
    grid-template-columns: 1fr;
    gap: 0px;
    margin-bottom: 80px;
  }

  .risk-text p {
    font-size: 14px;
    line-height: 1.8;
  }
  .risk-merit{
    width: 90%;
    margin: 30px auto;
  }
  .test-case__body{
    margin: 30px calc(50% - 50vw);
    width: 100vw;
  }


}


.test-result-block {
  background: #050102;
  padding: 28px 24px 18px;
  color: #fff;
}

.test-result-title {
    margin: 30px auto;
    text-align: center;
    color: #fff;
    font-size: 2.3rem;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.test-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
}
@media screen and (max-width:1400px) {
    .test-result-grid {
        gap:30px 20px;
    }
}
.test-result-card {
  min-width: 0;
}

.test-result-card__head {
  background: #595757;
  padding: 10px 16px 12px;
  text-align: center;
}

.test-result-card__title {
  margin: 0!important;
  font-size: 1.8rem !important;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.test-result-card__sub {
    margin: 4px 0 0 !important;
    font-size: 1.3rem !important;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-family: sans-serif;
}

.test-result-card__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.test-photo {
  min-width: 0;
}

.test-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
}

.test-photo--yellow img {
  box-sizing: border-box;
}

.test-photo__label {
  margin: 10px auto 30px!important;
  font-size: 1.3rem!important;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media screen and (max-width:1400px) {
    .test-photo__label {
        font-size: 1.2rem!important;
    }
}
.test-photo--yellow .test-photo__label {
  color: #e17a00;
}

.test-result-note {
    margin: 0px auto !important;
    font-size: 0.9rem !important;
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: 0;
}

/* SP */
@media screen and (max-width: 767px) {
  .test-result-block {
    padding: 20px 0;
    margin-bottom: 50px;
  }

  .test-result-title {
    margin-bottom: 18px;
    font-size: 1.8rem;
    line-height: 1.35;
  }

  .test-result-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .test-result-card__head {
    padding: 8px 10px 10px;
  }

  .test-result-card__title {
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
  }

  .test-result-card__sub {
      font-size: 1rem !important;
      line-height: 1.1 !important;
      font-weight: 400!important;
  }

  .test-result-card__photos {
    gap: 8px;
    margin-top: 10px;
  }

  .test-photo--yellow img {
    border-width: 3px;
  }

  .test-photo__label {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    width: 100%;
  }

  .test-result-note {
    margin-top: 15px !important;
    font-size: 0.6rem !important;
    line-height: 1.6 !important;
  }
  .inasaku-btn{
    width: 85%;
  }
}