@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Poppins:wght@400;500;600;700&display=swap');

#contents {
  border: none;
  font-size: 18px;
  line-height: 1.5;
  margin: 20px 0 0;
  max-width: 882px;
  padding: 50px 40px;
}
#contents *,
#contents *:before,
#contents *:after {
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box; 
  -o-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#contents img {
  max-width: 100%;
  width: 100%;
}

#contents h2 {
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  width: auto;
}

.sp-only {
  display: none;
}

/* トップタイトル */
.top-heading {
  color: #4c2f11;
  font-size: 42px;
  font-weight: bold;
  text-align: center;
}

/* 導入テキスト */
.txt-intro {
  line-height: 1.8;
  margin: 30px 0 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  #contents {
    background: #fff;
    font-size: 16px;
    margin: 0;
    max-width: 100%;
    padding: 20px 10px 30px;
  }
  #contents h2 {
    background: none;
  }
  #contents h3 {
    border: none;
    margin: 0;
    padding: 0;
  }

  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }

  /* トップタイトル */
  .top-heading {
    font-size: 28px;
  }

  /* 導入テキスト */
  .txt-intro {
    margin-top: 20px;
    text-align: left;
  }

}

/* それぞれのユーザーについて */
.box-wrap {
  display: flex;
  gap: 30px;
  margin: 40px 0 0;
}
.box {
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px 20px 40px;
  position: relative;
  width: calc(50% - 15px);
}
.box::before {
  background: #ef8b29;
  content: "";
  display: inline-block;
  height: 8px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.box-crt::before {
  background: #0a725f;
}
.primary-heading {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}
.box-img {
  margin: 20px auto 0;
  width: 161px;
}
.box-txt {
  flex-grow: 1;
  margin: 18px 0 0;
}

.stats-block {
  border-top: 1px dashed #ccc;
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
  padding-top: 28px;
}
.stats {
  flex-grow: 1;
  text-align: center;
}
.stats-ttl {
  font-size: 24px;
  font-weight: bold;
}
.stats-num {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin: 10px 0 0;
}
.stats-num span {
  color: #ef8b29;
  font-size: 48px;
  font-family: "Poppins", sans-serif;
}
.box-crt .stats-num span {
  color: #0a725f;
}
@media screen and (max-width: 768px) {
  .box-wrap {
    display: block;
    margin-top: 26px;
  }
  .box {
    padding: 30px 20px;
    width: 100%;
  }
  .box + .box {
    margin-top: 25px;
  }
  .primary-heading {
    color: #333;
    font-size: 24px;
  }
  .box-img {
    margin-top: 10px;
    width: 108px;
  }
  .box-txt {
    margin-top: 12px;
  }

  .stats-block {
    margin-top: 14px;
    padding-top: 14px;
  }
  .stats-ttl {
    font-size: 20px;
  }
  .stats-num {
    font-size: 20px;
    margin-top: 5px;
  }
  .stats-num span {
    font-size: 40px;
  }
}


/* リンクエリア */
.link-box {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 30px auto 0;
}
.oval-link + .oval-link {
  margin-top: 20px;
}
.oval-link {
  align-items: center;
  background: #0a725f;
  border: 4px solid #0a725f;
  border-radius: 100vh;
  color: #fff!important;
  display: flex;
  font-size: 20px;
  font-weight: bold;
  height: 70px;
  justify-content: center;
  position: relative;
  text-decoration: none;
  width: 400px;
}
.oval-link:hover {
  opacity: .7;
}
.oval-link--wt {
  background: #fff;
  color: #0a725f!important;
}
.oval-link::after {
  background: url(/foster/animal_welfare/images/icon_arw-wt.png) no-repeat center / contain;
  content: "";
  display: inline-block;
  height: 20px;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}
.oval-link--wt::after {
  background: url(/foster/animal_welfare/images/icon_arw.png) no-repeat center / contain;
}

@media screen and (max-width: 768px) {
  .oval-link {
    border-width: 3px;
    font-size: 18px;
    height: 60px;
    width: 100%;
  }
  .oval-link::after {
    height: 16px;
    width: 16px;
  }
}