@charset "UTF-8";

.f-photo {
  position: relative;
  margin-top: 60px;

  & img:nth-of-type(2) {
    position: absolute;
    top: -40px;
    right: 30px;
    width: 90px;
    display: block;
  }

  & img:nth-of-type(3) {
    position: absolute;
    bottom: 40px;
    left: -60px;
    width: 160px;
    display: block;
  }
}

.suggest {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: -25px;

  & li {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 30.2%;
    margin-top: 25px;
    background-color: #5CB531;
    border-radius: 100%;
    color: #fff;
    aspect-ratio: 1 / 1;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 700;
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.7;
    border: solid #fff 5px;
  }
}

.pet_data {
  width: 830px;
  margin: 100px auto 0;

  & table {
    width: 100%;
    min-width: 700px;
  }

  & table th {
    background-color: #E6F1D9;
    border: 1px solid #737571;
    padding: 7px;
    font-weight: normal;
    vertical-align: middle;
    line-height: 1.2;
  }

  & table td {
    border: 1px solid #737571;
    text-align: right;
    padding: 5px;
  }

  & table td.att {
    border: none;
    padding: 0;
  }

  & table td.redborder, table th.redborder {
    border-left: 5px solid #ea5404;
    border-right: 5px solid #ea5404;
  }

  & table td.last {
    border-bottom: 5px solid #ea5404;
  }

  & table th.redborder {
    border-top: 5px solid #ea5404;
  }
}

h4 {
  font-weight: 700 !important;
  margin-bottom: 30px;
}


.graph02 {
  display: block;
  width: 100%;
  max-width: 410px;
  margin: 30px auto 0;
}

@media screen and (max-width: 900px) {
  .pet_data {
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: 40px 0 20px 5%;
    width: 90%;
  }

  .att:last-of-type{margin-left: 5%;}
}

@media screen and (max-width: 829px) {
  .f-photo {
    & img:nth-of-type(2) {
      top: -20%;
      right: 10px;
      width: 14%;
    }

    & img:nth-of-type(3) {
      bottom: -18%;
      left: 10px;
      width: 24%;
    }
  }

  .suggest {
    margin-top: -20px;

    & li {
      width: 47%;
      margin-top: 20px;
      font-size: 1.5rem;
      line-height: 1.5;
    }
  }
}

@media screen and (max-width: 770px) {
  .pet_data {
    width: 95%;
  }
}