@keyframes more_hover {
  0% {
    background-size: 0 1px;
  }
  100% {
    background-size: 100% 1px;
  }
}
.agree_h2 {
  letter-spacing: 0.1em;
  font-weight: 700;
}
@media (min-width: 769px) {
  .agree_h2 {
    padding-bottom: 4.5rem;
    line-height: 1.693;
    font-size: 2.6rem;
  }
  .agree_h2 > h2 {
    font: inherit;
  }
  .agree_h2 > h2:first-of-type {
    margin-top: -0.346em;
  }
  .agree_h2 > h2:last-of-type {
    margin-bottom: -0.346em;
  }
}
@media (max-width: 768px) {
  .agree_h2 {
    padding-bottom: 7rem;
    line-height: 1.667;
    font-size: 4.2rem;
  }
  .agree_h2 > h2 {
    font: inherit;
  }
  .agree_h2 > h2:first-of-type {
    margin-top: -0.333em;
  }
  .agree_h2 > h2:last-of-type {
    margin-bottom: -0.333em;
  }
}
.agree_links {
  display: grid;
}
@media (min-width: 769px) {
  .agree_links {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
}
.agree_links > li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d0d0d0;
}
@media (min-width: 769px) {
  .agree_links > li {
    column-gap: 2rem;
    padding: 3rem 2rem;
  }
  .agree_links > li:nth-of-type(-n+2) {
    padding-top: 0;
  }
  .agree_links > li:nth-last-of-type(-n+2) {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
@media (max-width: 768px) {
  .agree_links > li {
    column-gap: 3rem;
    padding: 5.5rem 2.8rem;
  }
  .agree_links > li:nth-of-type(1) {
    padding-top: 0;
  }
  .agree_links > li:nth-last-of-type(1) {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
@media (min-width: 769px) {
  .agree_links > li:only-of-type {
    grid-column: 1/3;
  }
}
.agree_links > li:has([href$=".pdf"])::before {
  content: "";
  flex-shrink: 0;
  display: block;
  background-image: url(/wp-tonami/wp-content/themes/tonami/img/common/pdf01.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (min-width: 769px) {
  .agree_links > li:has([href$=".pdf"])::before {
    width: 2rem;
    height: 2.2rem;
  }
}
@media (max-width: 768px) {
  .agree_links > li:has([href$=".pdf"])::before {
    width: 3.6rem;
    height: 4rem;
  }
}
.agree_link {
  display: block;
}
.agree_link span {
  display: inline;
  position: relative;
  background-image: linear-gradient(90deg, #141414, #141414);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  letter-spacing: 0.1em;
  text-align: justify;
}
@media (min-width: 769px) {
  .agree_link span {
    background-position: left bottom 2px;
    line-height: 1.75;
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .agree_link span {
    background-position: left bottom 1px;
    line-height: 1.847;
    font-size: 2.6rem;
  }
}
.agree_link:hover span {
  background-size: 0 1px;
  animation: more_hover 0.2s linear 0.1s 1 forwards;
}