@charset "UTF-8";

.medication-notes {
  max-width: 750px;
  width: 100%;
  background-color: #fff;
  padding: 60px 36px 80px;
  margin: 0 auto;
}

.medication-notes__ttl {
  font-size: 35px;
  font-weight: 700;
  color: #525252;
}

.medication-notes__cat {
  font-size: 33px;
  font-family: "Hiragino Sans";
  color: rgb(252, 181, 181);
  padding-bottom: 8px;
  margin-top: 30px;
  border-bottom: 1px solid #e3e3e3;
}

.medication-notes__cat.mt {
  margin-top: 60px;
}

.medication-notes__name {
  font-size: 26px;
  font-family: "Hiragino Sans";
  font-weight: 500;
  color: rgb(88, 88, 88);
  line-height: 1.2;
  border-left: 4px solid rgb(252, 181, 181);
  padding-left: 15px;
  margin-top: 45px;
}

.medication-notes__name:first-of-type {
  margin-top: 40px;
}

.medication-notes__table {
  margin-top: 20px;
  border-collapse: collapse;
  border: 1px solid rgb(255, 148, 148);
}

.medication-notes__table tr {
  border-bottom: 1px solid rgb(255, 148, 148);
}

.medication-notes__table tr:last-of-type {
  border-bottom: none;
}

.medication-notes__table td {
  font-size: 22px;
  font-family: "Hiragino Sans";
  font-weight: 400;
  color: rgb(88, 88, 88);
  line-height: 1.364;
  padding: 20px 15px;
}

.medication-notes__desc {
  width: 23%;
  text-align: center;
  vertical-align: middle;
  background-color: rgb(255, 234, 234);
}

.medication-notes__txt {
  width: 77%;
}

@media (max-width: 750px) {
  .medication-notes {
    max-width: calc((750 / 750) * 100vw);
    padding: calc((60 / 750) * 100vw) calc((36 / 750) * 100vw) calc((80 / 750) * 100vw);
  }

  .medication-notes__ttl {
    font-size: calc((35 / 750) * 100vw);
  }

  .medication-notes__cat {
    font-size: calc((33 / 750) * 100vw);
    padding-bottom: calc((8 / 750) * 100vw);
    margin-top: calc((30 / 750) * 100vw);
    border-bottom: calc((1 / 750) * 100vw) solid #e3e3e3;
  }

  .medication-notes__cat.mt {
    margin-top: calc((60 / 750) * 100vw);
  }

  .medication-notes__name {
    font-size: calc((26 / 750) * 100vw);
    border-left: calc((4 / 750) * 100vw) solid rgb(252, 181, 181);
    padding-left: calc((15 / 750) * 100vw);
    margin-top: calc((45 / 750) * 100vw);
  }

  .medication-notes__name:first-of-type {
    margin-top: calc((40 / 750) * 100vw);
  }

  .medication-notes__table {
    margin-top: calc((20 / 750) * 100vw);
  }

  .medication-notes__table td {
    font-size: calc((22 / 750) * 100vw);
    padding: calc((20 / 750) * 100vw) calc((15 / 750) * 100vw);
  }
}
