.rinenPage .rinenMain {
  color: #444;
}

.rinenPage .articleHeader {
  margin-bottom: 18px;
}

.rinenPage .rinenResponsive {
  max-width: 760px;
  margin: 0 auto 34px;
}

.rinenPage .rinenResponsive img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.rinenPage .rinenSection {
  position: relative;
  margin: 0 0 28px;
  padding: 24px;
  border: 3px solid #d9edf7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .06);
}

.rinenPage .rinenSection::before {
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: 9px;
  border-radius: 8px 8px 0 0;
  background: #53bce2;
  content: "";
}

.rinenPage .rinenSection--teacher {
  border-color: #f8d690;
}

.rinenPage .rinenSection--teacher::before {
  background: #f2a91f;
}

.rinenPage .rinenSection--philosophy {
  border-color: #bfe6a8;
}

.rinenPage .rinenSection--philosophy::before {
  background: #7ac516;
}

.rinenPage .rinenSection h2 {
  margin: 10px 0 18px;
  padding: 0 0 10px;
  border-bottom: 3px dotted #9ac56c;
  color: #444;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.45;
}

.rinenPage .rinen_text {
  font-size: 17px;
  line-height: 1.95;
}

.rinenPage .rinen_text p {
  margin: 0;
}

.rinenPage .color_blue {
  color: #0894cf;
  font-weight: bold;
}

.rinenPage .color_orange {
  color: #f2a91f;
  font-weight: bold;
}

.rinenPage .color_green {
  color: #38a848;
  font-weight: bold;
}

.rinenPage .color_pink {
  color: #e780b6;
  font-weight: bold;
}

.rinenPage .font20 {
  font-size: 22px;
}

.rinenPage .rinen_links {
  margin: 20px 0 0;
  text-align: center;
}

.rinenPage .rinen_links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 22px;
  border: 3px solid #00a2cb;
  border-radius: 999px;
  background: #fff;
  color: #008fc0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.45;
  text-decoration: none;
}

.rinenPage .rinen_links a::after {
  margin-left: 8px;
  color: currentColor;
  content: ">";
}

.rinenPage .rinen_links a:hover {
  background: #eefaff;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .rinenPage .rinenResponsive {
    width: auto;
    margin: 0 12px 28px;
  }

  .rinenPage .articleHeader {
    margin-bottom: 14px;
  }

  .rinenPage .rinenSection {
    margin-bottom: 20px;
    padding: 18px 14px;
    border-width: 2px;
    border-radius: 7px;
  }

  .rinenPage .rinenSection::before {
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: 7px;
  }

  .rinenPage .rinenSection h2 {
    margin: 8px 0 14px;
    font-size: 21px;
  }

  .rinenPage .rinen_text {
    font-size: 16px;
    line-height: 1.85;
  }

  .rinenPage .font20 {
    font-size: 20px;
  }

  .rinenPage .rinen_links a {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 15px;
  }
}
