:root {
  --color-white:#FFFFFF;
  --color-black:#000;
  --color-text_black:#242424;
  --color-gray:#7E8995;
  --color-gray100:#C4C4C4;
  --color-blue:#154378;
  --color-red:#E44E7D;
  --color-red100:#FFE4ED;
  --color-orange:#F28F11;
  --color-orange100:#FFF6E5;
  --color-line:#606060;
  --color-Ns_main:#5097E8;
  --color-Ns_main_dark:#3273BC;
  --color-Ns_sub:#6DC1DC;
  --color-Ns_bg_blue:#E0F3F8;
  --color-Ns_bg_blue2:#DEF2F7;
  --color-Ns_pencil:#5097E8;
  --color-Ns_bg_ranking:#F7FFD5;
  --color-Ns_cta_button1:#F4BF43;
  --color-Ns_cta_button2:#34BFAA;
  --color-Dr_main:#0B2D59;
  --color-Dr_main_dark:#002854;
  --color-Dr_sub:#2875B9;
  --color-Dr_bg_blue:#E6F2FF;
  --color-Dr_bg_blue2:#DAE3ED;
  --color-Dr_pencil:#7A94B6;
  --color-Dr_bg_ranking:#C9D9EA;
  --color-Dr_cta_button1:#ED6A42;
  --color-Dr_cta_button2:#2FAD6A;
}

.section > .bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}
.section > .bg::before, .section > .bg::after {
  content: "";
  width: 100%;
  display: block;
  position: absolute;
}
.section > .bg::before {
  width: 100%;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
@media only screen and (min-width: 768.1px) {
  .section > .bg::before {
    height: 10rem;
  }
}
@media only screen and (max-width: 768px) {
  .section > .bg::before {
    height: 4rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section > .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_white_pc.svg");
  }
}
@media only screen and (max-width: 768px) {
  .section > .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_white_sp.svg");
  }
}
@media only screen and (min-width: 415.1px) and (max-width: 768px) {
  .section > .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_white_tb.svg");
  }
}
@media only screen and (min-width: 1440.1px) {
  .section > .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_white_wide.svg");
  }
}
.section > .bg::after {
  bottom: 0;
  left: 0;
}
@media only screen and (min-width: 768.1px) {
  .section > .bg::after {
    height: calc(100% - 10rem);
  }
}
@media only screen and (max-width: 768px) {
  .section > .bg::after {
    height: calc(100% - 4rem);
  }
}

@media only screen and (min-width: 768.1px) {
  .page-title {
    padding-left: 4rem;
  }
}
@media only screen and (max-width: 768px) {
  .page-title {
    padding-left: 2.8rem;
  }
}
.page-title h2 {
  font-weight: 700;
  line-height: 1.4;
}
@media only screen and (min-width: 768.1px) {
  .page-title h2 {
    font-size: 4rem;
  }
}
@media only screen and (max-width: 768px) {
  .page-title h2 {
    font-size: 2.6rem;
  }
}
.page-title::before {
  content: "";
  background-image: url("/media/wp-content/themes/nms/assets/images/article/bg_title_blue_nurse.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  margin: 0;
}
@media only screen and (min-width: 768.1px) {
  .page-title::before {
    width: 12rem;
  }
}
@media only screen and (max-width: 768px) {
  .page-title::before {
    width: 8.7rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .page-title::before {
    height: 7.2rem;
  }
}
@media only screen and (max-width: 768px) {
  .page-title::before {
    height: 5.2rem;
  }
}
body[data-role=doctor] .page-title::before {
  background-image: url("/media/wp-content/themes/nms/assets/images/article/bg_title_blue_doctor.svg");
}

@media only screen and (min-width: 768.1px) {
  .section#ranking {
    padding-top: 6rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking {
    padding-top: 4rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking {
    padding-bottom: 8rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking {
    padding-bottom: 6rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking {
    margin-top: -10rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking {
    margin-top: -4rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_yellow_pc.svg");
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_yellow_sp.svg");
  }
}
@media only screen and (min-width: 415.1px) and (max-width: 768px) {
  .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_yellow_tb.svg");
  }
}
@media only screen and (min-width: 1440.1px) {
  .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_yellow_wide.svg");
  }
}
@media only screen and (min-width: 768.1px) {
  body[data-role=doctor] .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_blue_pc.svg");
  }
}
@media only screen and (max-width: 768px) {
  body[data-role=doctor] .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_blue_sp.svg");
  }
}
@media only screen and (min-width: 415.1px) and (max-width: 768px) {
  body[data-role=doctor] .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_blue_tb.svg");
  }
}
@media only screen and (min-width: 1440.1px) {
  body[data-role=doctor] .section#ranking .bg::before {
    background-image: url("/media/wp-content/themes/nms/assets/images/home/bg_circle_blue_wide.svg");
  }
}
.section#ranking .bg::after {
  background-color: var(--color-Ns_bg_ranking);
}
body[data-role=doctor] .section#ranking .bg::after {
  background-color: var(--color-Dr_bg_ranking);
}
.section#ranking .container {
  z-index: 2;
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list {
    gap: 2rem 3.2rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item a {
    gap: 1.6rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item a {
    padding-top: 3.2rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item a {
    padding: 1.6rem 1.2rem;
  }
}
.section#ranking .post-list .post-item a::after {
  content: "";
  display: block;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    width: 6.3rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    width: 5rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    height: 6.3rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    height: 5.1rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    top: 2.462rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    top: -0.1rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    left: 2rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a::after {
    left: 0rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) figure {
    width: 15.2rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) .info .title {
    -webkit-line-clamp: 3;
  }
}
@media only screen and (min-width: 768.1px) and (max-width: 1120px) {
  .section#ranking .post-list .post-item:nth-child(-n+3) a {
    padding-top: 2rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    width: 3.6rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    width: 3.2rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    height: 3.6rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    height: 3.2rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    top: 0.715rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    top: 0.4rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    left: 0.715rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a::after {
    left: 0.4rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(n+4) {
    width: calc((100% - 3.2rem) / 2);
  }
}
@media only screen and (min-width: 768.1px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 1.7rem;
    padding-top: 2rem;
  }
  .section#ranking .post-list .post-item:nth-child(n+4) a figure {
    width: 20.4rem;
    margin: 0;
  }
  .section#ranking .post-list .post-item:nth-child(n+4) a .text {
    width: calc(100% - 20.4rem - 1.7rem);
    margin: 0;
  }
}
@media only screen and (min-width: 768.1px) and (max-width: 1120px) {
  .section#ranking .post-list .post-item:nth-child(n+4) a {
    display: block;
  }
  .section#ranking .post-list .post-item:nth-child(n+4) a figure {
    width: auto;
  }
  .section#ranking .post-list .post-item:nth-child(n+4) a .text {
    width: auto;
    margin-top: 2.2rem;
  }
}
.section#ranking .post-list .post-item:nth-child(1) a::after {
  background-image: url("/media/wp-content/themes/nms/assets/images/home/icon_ranking01.png");
}
.section#ranking .post-list .post-item:nth-child(2) a::after {
  background-image: url("/media/wp-content/themes/nms/assets/images/home/icon_ranking02.png");
}
.section#ranking .post-list .post-item:nth-child(3) a::after {
  background-image: url("/media/wp-content/themes/nms/assets/images/home/icon_ranking03.png");
}
.section#ranking .post-list .post-item:nth-child(4) a::after {
  background-image: url("/media/wp-content/themes/nms/assets/images/home/icon_ranking04.png");
}
.section#ranking .post-list .post-item:nth-child(5) a::after {
  background-image: url("/media/wp-content/themes/nms/assets/images/home/icon_ranking05.png");
}
body[data-role=doctor] .section#ranking .post-list .post-item:nth-child(4)::after {
  background-image: url("/media/wp-content/themes/nms/assets/images/home/icon_ranking04_doctor.png");
}
body[data-role=doctor] .section#ranking .post-list .post-item:nth-child(5)::after {
  background-image: url("/media/wp-content/themes/nms/assets/images/home/icon_ranking05_doctor.png");
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item .info {
    margin-bottom: 0.8rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#ranking .post-list .post-item .text {
    margin-top: 0;
  }
}

@media only screen and (min-width: 768.1px) {
  .section#recommend {
    padding-top: 8rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#recommend {
    padding-top: 6rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#recommend {
    padding-bottom: 8rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#recommend {
    padding-bottom: 6rem;
  }
}
.section#recommend .headline-paint::before {
  background-image: url("/media/wp-content/themes/nms/assets/images/common/bg_headline_blue_nurse.svg");
}
body[data-role=doctor] .section#recommend .headline-paint::before {
  background-image: url("/media/wp-content/themes/nms/assets/images/common/bg_headline_blue_doctor.svg");
}
@media only screen and (min-width: 768.1px) {
  .section#recommend .post-list {
    gap: 3rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#recommend .post-list .post-item {
    width: calc((100% - 3rem) / 2);
  }
}
@media only screen and (min-width: 768.1px) {
  .section#recommend .post-list .post-item a {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 1.7rem;
  }
  .section#recommend .post-list .post-item a figure {
    width: 20.4rem;
  }
  .section#recommend .post-list .post-item a .text {
    width: calc(100% - 20.4rem - 1.7rem);
    margin: 0;
  }
}
@media only screen and (max-width: 768px) {
  .section#recommend .post-list .post-item a {
    gap: 1.6rem;
  }
}
@media only screen and (min-width: 768.1px) and (max-width: 1120px) {
  .section#recommend .post-list .post-item a {
    display: block;
  }
  .section#recommend .post-list .post-item a figure {
    width: auto;
  }
  .section#recommend .post-list .post-item a .text {
    width: auto;
    margin: 2.2rem auto 0;
  }
}
.section#recommend .post-list .post-item a .text .info .title {
  -webkit-line-clamp: 2;
}
.section#recommend .post-list .post-item a .text .cates {
  margin-top: 0;
}

@media only screen and (min-width: 768.1px) {
  .section#latest {
    padding-top: 5rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest {
    padding-top: 2rem;
  }
}
@media only screen and (min-width: 768.1px) {
  .section#latest {
    padding-bottom: 18.29rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest {
    padding-bottom: 13.6rem;
  }
}
.section#latest .cate-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
@media only screen and (min-width: 768.1px) {
  .section#latest .cate-list {
    margin-top: 4rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest .cate-list {
    margin-top: 4rem;
  }
}
.section#latest .cate-list > li a {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-Ns_main);
  background-color: var(--color-white);
  border: 1px solid var(--color-Ns_main);
  border-radius: 5rem;
  display: block;
  padding: 1rem 1.5rem;
  -webkit-transition: color 0.3s, background-color 0.3s;
  transition: color 0.3s, background-color 0.3s;
}
body[data-role=doctor] .section#latest .cate-list > li a {
  color: var(--color-Dr_main);
}
body[data-role=doctor] .section#latest .cate-list > li a {
  border-color: var(--color-Dr_main);
}
@media (hover: hover) {
  .section#latest .cate-list > li a:hover {
    color: var(--color-white);
    background-color: var(--color-Ns_main);
  }
  body[data-role=doctor] .section#latest .cate-list > li a:hover {
    color: var(--color-white);
  }
  body[data-role=doctor] .section#latest .cate-list > li a:hover {
    background-color: var(--color-Dr_main);
  }
}
.section#latest .cate-list > li.current a {
  pointer-events: none;
  color: var(--color-white);
  background-color: var(--color-Ns_main);
}
body[data-role=doctor] .section#latest .cate-list > li.current a {
  color: var(--color-white);
}
body[data-role=doctor] .section#latest .cate-list > li.current a {
  background-color: var(--color-Dr_main);
}
@media only screen and (min-width: 768.1px) {
  .section#latest .post-list {
    margin-top: 6.4rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest .post-list {
    margin-top: 4rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest .post-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .section#latest .post-list .post-item {
    width: calc((100% - 1rem) / 2);
  }
}
@media only screen and (max-width: 768px) {
  .section#latest .post-list .post-item:nth-child(n+2) {
    margin-top: 0;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest .post-list .post-item a {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .section#latest .post-list .post-item a figure, .section#latest .post-list .post-item a .text {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest .post-list .post-item .text {
    margin-top: 1.2rem;
  }
}
@media only screen and (max-width: 768px) {
  .section#latest .post-list .post-item .info {
    margin-bottom: 1.2rem;
  }
}