#archive-disease .cate-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  margin-bottom: calc(8px * 5);
}

@media screen and (max-width: 959px) {
  #archive-disease .cate-menu {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #archive-disease .cate-menu {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #archive-disease .cate-menu {
    gap: 12px;
  }
}

@media screen and (max-width: 767px) {
  #archive-disease .cate-menu {
    gap: 10px;
  }
}

#archive-disease .cate-menu__item {
  width: calc((100% / 5) - (16px * 4 / 5));
  height: 48px;
}

@media screen and (max-width: 959px) {
  #archive-disease .cate-menu__item {
    height: 46px;
    width: calc((100% / 2) - (12px * 1 / 2));
  }
  #archive-disease .cate-menu__item:first-of-type {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #archive-disease .cate-menu__item {
    height: 40px;
  }
}

@media screen and (max-width: 519px) {
  #archive-disease .cate-menu__item {
    height: 36px;
  }
}

#archive-disease .cate-menu__item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: solid 1px #5D5789;
  color: #5D5789;
}

@media screen and (max-width: 519px) {
  #archive-disease .cate-menu__item a {
    font-size: 1.4rem;
  }
}

#archive-disease .cate-menu__item a:hover, #archive-disease .cate-menu__item a.is-current {
  background: #5D5789;
  color: #ffffff;
}

#archive-disease .wp-pagenavi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
}

@media screen and (max-width: 519px) {
  #archive-disease .wp-pagenavi {
    position: relative;
    padding-bottom: 52px;
  }
}

#archive-disease .wp-pagenavi .page,
#archive-disease .wp-pagenavi .current,
#archive-disease .wp-pagenavi .nextpostslink,
#archive-disease .wp-pagenavi .previouspostslink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: solid 1px #5D5789;
  background: #ffffff;
  color: #5D5789;
  font-size: 1.6rem;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 767px) {
  #archive-disease .wp-pagenavi .page,
  #archive-disease .wp-pagenavi .current,
  #archive-disease .wp-pagenavi .nextpostslink,
  #archive-disease .wp-pagenavi .previouspostslink {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 519px) {
  #archive-disease .wp-pagenavi .page,
  #archive-disease .wp-pagenavi .current,
  #archive-disease .wp-pagenavi .nextpostslink,
  #archive-disease .wp-pagenavi .previouspostslink {
    font-size: 1.2rem;
  }
}

#archive-disease .wp-pagenavi .page:not(.current):hover,
#archive-disease .wp-pagenavi .current:not(.current):hover,
#archive-disease .wp-pagenavi .nextpostslink:not(.current):hover,
#archive-disease .wp-pagenavi .previouspostslink:not(.current):hover {
  background: #5D5789;
  color: #ffffff;
}

#archive-disease .wp-pagenavi .current {
  background: #5D5789;
  color: #ffffff;
}

#archive-disease .wp-pagenavi .page,
#archive-disease .wp-pagenavi .current {
  max-width: 80px;
}

@media screen and (max-width: 519px) {
  #archive-disease .wp-pagenavi .page,
  #archive-disease .wp-pagenavi .current {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
}

#archive-disease .wp-pagenavi .nextpostslink,
#archive-disease .wp-pagenavi .previouspostslink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  position: relative;
  width: 80px;
  white-space: nowrap;
}

@media screen and (max-width: 959px) {
  #archive-disease .wp-pagenavi .nextpostslink,
  #archive-disease .wp-pagenavi .previouspostslink {
    width: 72px;
  }
}

@media screen and (max-width: 519px) {
  #archive-disease .wp-pagenavi .nextpostslink,
  #archive-disease .wp-pagenavi .previouspostslink {
    width: calc((100% / 2) - (8px * 1 / 2));
  }
}

#archive-disease .wp-pagenavi .nextpostslink::before,
#archive-disease .wp-pagenavi .previouspostslink::before {
  content: '';
  width: 7px;
  height: 12px;
  background-color: #5D5789;
  -webkit-mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

#archive-disease .wp-pagenavi .nextpostslink:hover::before,
#archive-disease .wp-pagenavi .previouspostslink:hover::before {
  background-color: #ffffff;
}

@media screen and (max-width: 519px) {
  #archive-disease .wp-pagenavi .previouspostslink {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
  }
}

#archive-disease .wp-pagenavi .previouspostslink::before {
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

#archive-disease .wp-pagenavi .nextpostslink {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

@media screen and (max-width: 519px) {
  #archive-disease .wp-pagenavi .nextpostslink {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
  }
}

#archive-disease .disease-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(8px * 2);
  margin-bottom: calc(8px * 5);
  -webkit-transition: .3s ease-out;
  transition: .3s ease-out;
}

@media screen and (max-width: 959px) {
  #archive-disease .disease-list {
    gap: calc((8px * 2) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #archive-disease .disease-list {
    gap: calc((8px * 2) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #archive-disease .disease-list {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #archive-disease .disease-list {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

@media screen and (max-width: 519px) {
  #archive-disease .disease-list {
    grid-template-columns: 1fr;
  }
}

#archive-disease .disease-list__item {
  -webkit-transition: .3s ease-out;
  transition: .3s ease-out;
}

#archive-disease .disease-list__item a {
  position: relative;
  padding: 16px;
  display: block;
  font-size: 1.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  background: rgba(93, 87, 137, 0.02);
  border: 1px solid #5D5789;
  border-radius: 2px;
}

@media screen and (max-width: 959px) {
  #archive-disease .disease-list__item a {
    padding: 14px;
  }
}

@media screen and (max-width: 767px) {
  #archive-disease .disease-list__item a {
    padding: 10px;
  }
}

#archive-disease .disease-list__item a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 12px;
  background-color: #5D5789;
  -webkit-mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#archive-disease .disease-list__item:hover {
  -webkit-transform: translate(3px, 0);
  transform: translate(3px, 0);
}

#single-disease .post-eyecatch {
  position: relative;
  aspect-ratio: 3/2;
  max-width: 800px;
  margin-bottom: calc(8px * 5);
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 959px) {
  #single-disease .post-eyecatch {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-eyecatch {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

#single-disease .post-eyecatch img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

#single-disease .post-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  gap: 24px;
  margin-bottom: calc(8px * 2);
}

@media screen and (max-width: 959px) {
  #single-disease .post-meta {
    margin-bottom: calc((8px * 2) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-meta {
    margin-bottom: calc((8px * 2) * 0.5);
  }
}

@media screen and (max-width: 1023px) {
  #single-disease .post-meta {
    gap: 16px;
  }
}

#single-disease .post-meta__cate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 28px;
  padding: 0 24px;
  background: rgba(224, 211, 187, 0.15);
  color: #554E41;
}

@media screen and (max-width: 959px) {
  #single-disease .post-meta__cate {
    font-size: 1.4rem;
  }
}

#single-disease .post-tag {
  margin-bottom: calc(8px * 5);
}

@media screen and (max-width: 959px) {
  #single-disease .post-tag {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-tag {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

#single-disease .post-tag__item a {
  color: #999999;
}

#single-disease .post-ttl {
  margin-bottom: calc(8px * 5);
  padding: 16px;
  border-top: 1px solid #5D5789;
  border-bottom: 1px solid #5D5789;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.4;
}

@media screen and (max-width: 959px) {
  #single-disease .post-ttl {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-ttl {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single-disease .post-ttl {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-ttl {
    padding: 12px 16px;
    font-size: 2.4rem;
  }
}

#single-disease .post-dtl h2 {
  display: block;
  margin-bottom: calc(8px * 4);
  font-size: 2.8rem;
  font-weight: bold;
  text-align: left;
  color: #333333;
  background: #ffffff;
  padding: 16px 12px;
  border-top: 1px solid #5D5789;
  border-bottom: 1px solid #5D5789;
  color: #5D5789;
  letter-spacing: 4px;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h2 {
    margin-bottom: calc((8px * 4) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h2 {
    margin-bottom: calc((8px * 4) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h2 {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h2 {
    font-size: 2rem;
  }
}

#single-disease .post-dtl h2:not(:first-of-type) {
  margin-top: 104px;
}

@media screen and (max-width: 1023px) {
  #single-disease .post-dtl h2:not(:first-of-type) {
    margin-top: 88px;
  }
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h2:not(:first-of-type) {
    margin-top: 64px;
  }
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl h2:not(:first-of-type) {
    margin-top: 56px;
    padding: 12px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h2:not(:first-of-type) {
    padding: 12px;
    padding: 8px;
  }
}

#single-disease .post-dtl h2::after {
  display: none;
}

#single-disease .post-dtl h3 {
  position: relative;
  margin-bottom: calc(8px * 4);
  padding-bottom: 20px;
  padding-left: 0;
  color: #5D5789;
  font-size: 2.4rem;
  font-weight: bold;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h3 {
    margin-bottom: calc((8px * 4) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h3 {
    margin-bottom: calc((8px * 4) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h3 {
    margin-top: 36px;
    font-size: 2rem;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h3 {
    margin-top: 24px;
    font-size: 1.8rem;
  }
}

#single-disease .post-dtl h3::before, #single-disease .post-dtl h3::after {
  content: '';
  width: 100%;
  height: 1px;
  background: #5D5789;
}

#single-disease .post-dtl h3::before {
  position: absolute;
  top: auto;
  bottom: 10px;
  left: 0;
  width: 100%;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h3::before {
    bottom: 8px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h3::before {
    bottom: 6px;
  }
}

#single-disease .post-dtl h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
}

#single-disease .post-dtl h4 {
  display: block;
  position: relative;
  margin-bottom: calc(8px * 3);
  font-weight: bold;
  padding-left: 0;
  font-size: 1.8rem;
  color: #5D5789;
  margin-top: 32px;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h4 {
    margin-bottom: calc((8px * 3) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h4 {
    margin-bottom: calc((8px * 3) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl h4 {
    margin-top: 24px;
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl h4 {
    margin-top: 16px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl h4 {
    font-size: 1.6rem;
  }
}

#single-disease .post-dtl h4::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 18px;
  height: 2px;
  background: #5D5789;
}

#single-disease .post-dtl h4::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 8px;
  width: 4px;
  height: 2px;
  background: #ffffff;
}

#single-disease .post-dtl .has-small-font-size {
  font-size: 1.4rem;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .has-small-font-size {
    font-size: 1.2rem;
  }
}

#single-disease .post-dtl .has-normal-font-size {
  font-size: 1.6rem;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .has-normal-font-size {
    font-size: 1.4rem;
  }
}

#single-disease .post-dtl .has-medium-font-size {
  font-size: 2rem;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .has-medium-font-size {
    font-size: 1.6rem;
  }
}

#single-disease .post-dtl .has-large-font-size {
  font-size: 2.4rem;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .has-large-font-size {
    font-size: 2rem;
  }
}

#single-disease .post-dtl .has-huge-font-size {
  font-size: 2.8rem;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .has-huge-font-size {
    font-size: 2.4rem;
  }
}

#single-disease .post-dtl .has-red-color {
  color: #d02c2c;
}

#single-disease .post-dtl .has-aqu-color {
  color: #336E89;
}

#single-disease .post-dtl .has-blu-color {
  color: #66a1bc;
}

#single-disease .post-dtl .has-nvy-color {
  color: #393E51;
}

#single-disease .post-dtl .has-l-yel-color {
  color: #FBF9F5;
}

#single-disease .post-dtl .has-orn-color {
  color: #D18765;
}

#single-disease .post-dtl .has-beg-color {
  color: #E0D3BB;
}

#single-disease .post-dtl .has-d-beg-color {
  color: #6A6459;
}

#single-disease .post-dtl .has-brn-color {
  color: #554E41;
}

#single-disease .post-dtl .has-pnk-color {
  color: #ffc0cb;
}

#single-disease .post-dtl .has-ppl-color {
  color: #c54ea0;
}

#single-disease .post-dtl .has-vio-color {
  color: #5D5789;
}

#single-disease .post-dtl .has-blk-color {
  color: #333333;
}

#single-disease .post-dtl .has-wht-color {
  color: #ffffff;
}

#single-disease .post-dtl .has-l-gry-color {
  color: #D7D7D7;
}

#single-disease .post-dtl .has-gry-color {
  color: #cccccc;
}

#single-disease .post-dtl .has-d-gry-color {
  color: #999999;
}

#single-disease .post-dtl .has-red-background-color {
  background-color: #d02c2c;
}

#single-disease .post-dtl .has-aqu-background-color {
  background-color: #336E89;
}

#single-disease .post-dtl .has-blu-background-color {
  background-color: #66a1bc;
}

#single-disease .post-dtl .has-nvy-background-color {
  background-color: #393E51;
}

#single-disease .post-dtl .has-l-yel-background-color {
  background-color: #FBF9F5;
}

#single-disease .post-dtl .has-orn-background-color {
  background-color: #D18765;
}

#single-disease .post-dtl .has-beg-background-color {
  background-color: #E0D3BB;
}

#single-disease .post-dtl .has-d-beg-background-color {
  background-color: #6A6459;
}

#single-disease .post-dtl .has-brn-background-color {
  background-color: #554E41;
}

#single-disease .post-dtl .has-pnk-background-color {
  background-color: #ffc0cb;
}

#single-disease .post-dtl .has-ppl-background-color {
  background-color: #c54ea0;
}

#single-disease .post-dtl .has-vio-background-color {
  background-color: #5D5789;
}

#single-disease .post-dtl .has-blk-background-color {
  background-color: #333333;
}

#single-disease .post-dtl .has-wht-background-color {
  background-color: #ffffff;
}

#single-disease .post-dtl .has-l-gry-background-color {
  background-color: #D7D7D7;
}

#single-disease .post-dtl .has-gry-background-color {
  background-color: #cccccc;
}

#single-disease .post-dtl .has-d-gry-background-color {
  background-color: #999999;
}

#single-disease .post-dtl p {
  margin: 0 0 16px;
}

#single-disease .post-dtl strong {
  font-weight: bold;
}

#single-disease .post-dtl em {
  font-style: italic;
}

#single-disease .post-dtl a {
  text-decoration: underline;
  color: #336E89;
}

#single-disease .post-dtl a:hover {
  text-decoration: none;
}

#single-disease .post-dtl ul {
  margin-bottom: 32px;
  list-style: none;
}

#single-disease .post-dtl ul > li {
  position: relative;
  padding-left: 16px;
  text-indent: 0;
}

#single-disease .post-dtl ul > li:not(:nth-last-of-type(1)) {
  margin-bottom: 12px;
}

#single-disease .post-dtl ul > li::before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  background: #5D5789;
}

#single-disease .post-dtl ol {
  margin-bottom: 32px;
  list-style: auto;
  list-style-position: inside;
  -webkit-padding-start: 0;
  padding-inline-start: 0;
}

#single-disease .post-dtl ol.wp-block {
  padding: 0 0 0 20px;
}

#single-disease .post-dtl ol > li {
  margin-left: 1.3em;
  text-indent: -1.3em;
  line-height: 1.2;
}

#single-disease .post-dtl ol > li:not(:nth-last-of-type(1)) {
  margin-bottom: 12px;
}

#single-disease .post-dtl ol > li::marker {
  color: #5D5789;
}

#single-disease .post-dtl ol > li div {
  display: inline;
}

#single-disease .post-dtl ol > li ol {
  padding-top: 12px;
}

#single-disease .post-dtl ol > li ul {
  padding-top: 12px;
}

#single-disease .post-dtl ol > li ul li::before {
  top: 6px;
}

#single-disease .post-dtl .wp-block-button__link {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 400px;
  padding-bottom: 8px;
  padding-right: 33px;
  margin-inline: auto;
  border: none;
  border-bottom: 1px solid #5D5789;
  border-radius: 0;
  color: #5D5789;
  text-decoration: none;
  background: none;
}

#single-disease .post-dtl .wp-block-button__link::before {
  position: absolute;
  right: 0;
  bottom: 0;
  content: "";
  width: 10px;
  height: 10px;
  clip-path: polygon(0 65%, 28% 100%, 100% 100%);
  background: #5D5789;
}

#single-disease .post-dtl .wp-block-button__link:hover {
  -webkit-transform: translate(4px, 0);
  transform: translate(4px, 0);
}

#single-disease .post-dtl .wp-block-image {
  margin: 0 0 32px;
}

#single-disease .post-dtl .wp-block-image img {
  width: auto;
}

#single-disease .post-dtl .wp-block-media-text {
  margin: 0 0 32px;
}

#single-disease .post-dtl .wp-block-column {
  margin-bottom: calc(8px * 3);
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .wp-block-column {
    margin-bottom: calc((8px * 3) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl .wp-block-column {
    margin-bottom: calc((8px * 3) * 0.5);
  }
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .wp-block-column {
    gap: 16px;
  }
}

#single-disease .post-dtl .wp-block-column .wp-block-image {
  margin: 0;
}

#single-disease .post-dtl .wp-block-column .wp-block-image img {
  width: 100%;
}

#single-disease .post-dtl .wp-block-column .relation-frame2:last-of-type {
  margin-bottom: 0 !important;
}

#single-disease .post-dtl .wp-block-separator {
  margin: 40px 0;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .wp-block-separator {
    margin: 24px 0 28px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl .wp-block-table {
    font-size: 1.4rem;
  }
}

#single-disease .post-dtl .wp-block-table thead {
  color: #5D5789;
  text-align: left;
  background: rgba(93, 87, 137, 0.1);
  border-bottom: none;
}

#single-disease .post-dtl .wp-block-table thead tr th {
  border: none;
}

#single-disease .post-dtl .wp-block-table tbody {
  background: #FBF9F5;
}

#single-disease .post-dtl .wp-block-table tbody tr td {
  border: none;
  border-left: 1px solid rgba(93, 87, 137, 0.5);
}

#single-disease .post-dtl .wp-block-table tbody tr td:first-of-type {
  border-left: none;
}

#single-disease .post-dtl .relation-frame1 {
  padding: 16px;
  margin-bottom: 16px;
  background: #F8F9FC;
  border-left: solid 2px #5D5789;
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame1 {
    padding: 12px;
  }
}

#single-disease .post-dtl .relation-frame1 dt {
  font-size: 2rem;
  color: #5D5789;
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame1 dt {
    font-size: 1.6rem;
  }
}

#single-disease .post-dtl .relation-frame2 {
  padding: 12px 28px;
  margin-bottom: 16px;
  background: #FBF9F5;
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame2 {
    padding: 10px 16px;
  }
}

#single-disease .post-dtl .relation-frame2 dt {
  position: relative;
}

#single-disease .post-dtl .relation-frame2 dt::before {
  content: "";
  position: absolute;
  top: 13px;
  left: -14px;
  width: 8px;
  height: 1px;
  background: #5D5789;
}

#single-disease .post-dtl .relation-frame3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  gap: 16px;
  margin-bottom: 16px;
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame3 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl .relation-frame3 {
    gap: 2px;
  }
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame3__ttl {
    font-size: 1.5rem;
  }
}

#single-disease .post-dtl .relation-frame3 dt {
  position: relative;
  padding-left: 16px;
  max-width: 123px;
  width: 100%;
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame3 dt {
    max-width: 100%;
  }
}

#single-disease .post-dtl .relation-frame3 dt::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #5D5789;
}

#single-disease .post-dtl .relation-frame3 dd {
  font-size: 1.5rem;
}

#single-disease .post-dtl .relation-frame4 {
  position: relative;
  padding: 0 28px;
  margin-bottom: 64px;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .relation-frame4 {
    margin-bottom: 56px;
  }
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame4 {
    padding: 0 16px;
    margin-bottom: 48px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .post-dtl .relation-frame4 {
    margin-bottom: 40px;
  }
}

#single-disease .post-dtl .relation-frame4::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 1px solid #5D5789;
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame4::before {
    top: 16px;
  }
}

#single-disease .post-dtl .relation-frame4 .relation-frame4__ttl {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 6px;
  padding: 8px;
  background: #ffffff;
  color: #5D5789;
  font-size: 2.4rem;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .relation-frame4 .relation-frame4__ttl {
    font-size: 2rem;
  }
}

@media screen and (max-width: 767px) {
  #single-disease .post-dtl .relation-frame4 .relation-frame4__ttl {
    font-size: 1.8rem;
    padding: 0 6px;
  }
}

#single-disease .post-dtl .relation-frame4 .relation-frame4__block dt {
  position: relative;
  padding-left: 16px;
  max-width: 284px;
  width: 100%;
}

@media screen and (max-width: 959px) {
  #single-disease .post-dtl .relation-frame4 .relation-frame4__block dt {
    max-width: 254px;
  }
}

#single-disease .post-dtl .relation-frame4 .relation-frame4__block dt::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #5D5789;
}

#single-disease .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(8px * 2);
  margin-bottom: calc(8px * 5);
}

@media screen and (max-width: 959px) {
  #single-disease .gallery {
    gap: calc((8px * 2) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .gallery {
    gap: calc((8px * 2) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single-disease .gallery {
    margin-bottom: calc((8px * 5) * 0.75);
  }
}

@media screen and (max-width: 519px) {
  #single-disease .gallery {
    margin-bottom: calc((8px * 5) * 0.5);
  }
}

@media screen and (max-width: 959px) {
  #single-disease .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

#single-disease .gallery__item {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/2;
  border: solid 1px #D7D7D7;
  cursor: pointer;
}

#single-disease .gallery__item img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

#single-disease .gallery__item .gallery-mask {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.3);
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

#single-disease .gallery__item .gallery-zoom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 32px;
  padding: 0 8px;
  background: #333333;
  border: solid 1px #333333;
  color: #ffffff;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 959px) {
  #single-disease .gallery__item .gallery-zoom {
    height: 28px;
  }
}

#single-disease .gallery__item .gallery-zoom::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background: linear-gradient(to right, transparent calc(50% - 1px), #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(to bottom, transparent calc(50% - 1px), #ffffff calc(50% - 1px), #ffffff calc(50% + 1px), transparent calc(50% + 1px));
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 959px) {
  #single-disease .gallery__item .gallery-zoom::before {
    width: 14px;
  }
}

#single-disease .gallery__item:hover .gallery-mask {
  opacity: 0;
}

#single-disease .gallery__item:hover .gallery-zoom {
  background: #ffffff;
  color: #333333;
}

#single-disease .gallery__item:hover .gallery-zoom::before {
  background: linear-gradient(to right, transparent calc(50% - 1px), #333333 calc(50% - 1px), #333333 calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(to bottom, transparent calc(50% - 1px), #333333 calc(50% - 1px), #333333 calc(50% + 1px), transparent calc(50% + 1px));
}

#single-disease .pagelink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
}

@media screen and (max-width: 959px) {
  #single-disease .pagelink {
    gap: 12px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .pagelink {
    position: relative;
    padding-bottom: 52px;
  }
}

#single-disease .pagelink__prev a, #single-disease .pagelink__next a, #single-disease .pagelink__back a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: solid 1px #5D5789;
  color: #5D5789;
  font-size: 1.6rem;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

@media screen and (max-width: 767px) {
  #single-disease .pagelink__prev a, #single-disease .pagelink__next a, #single-disease .pagelink__back a {
    height: 40px;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .pagelink__prev a, #single-disease .pagelink__next a, #single-disease .pagelink__back a {
    font-size: 1.4rem;
  }
}

#single-disease .pagelink__prev a:hover, #single-disease .pagelink__next a:hover, #single-disease .pagelink__back a:hover {
  background: #5D5789;
  color: #ffffff;
}

#single-disease .pagelink__back {
  width: 300px;
}

@media screen and (max-width: 959px) {
  #single-disease .pagelink__back {
    width: 200px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .pagelink__back {
    width: 100%;
  }
}

#single-disease .pagelink__prev, #single-disease .pagelink__next {
  width: 104px;
}

@media screen and (max-width: 959px) {
  #single-disease .pagelink__prev, #single-disease .pagelink__next {
    width: 88px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .pagelink__prev, #single-disease .pagelink__next {
    width: calc((100% / 2) - (12px * 1 / 2));
  }
}

#single-disease .pagelink__prev a, #single-disease .pagelink__next a {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  position: relative;
  white-space: nowrap;
  width: 100%;
}

#single-disease .pagelink__prev a::before, #single-disease .pagelink__next a::before {
  content: '';
  width: 7px;
  height: 12px;
  background-color: #5D5789;
  -webkit-mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  mask-image: url("/wp-content/themes/itreat_base/dist/img/icon/arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

#single-disease .pagelink__prev a:hover::before, #single-disease .pagelink__next a:hover::before {
  background-color: #ffffff;
}

@media screen and (max-width: 519px) {
  #single-disease .pagelink__prev {
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

#single-disease .pagelink__prev a::before {
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

@media screen and (max-width: 519px) {
  #single-disease .pagelink__next {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

#single-disease .pagelink__next a {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

#single-disease .disease {
  margin-bottom: 104px;
}

@media screen and (max-width: 1023px) {
  #single-disease .disease {
    margin-bottom: 96px;
  }
}

@media screen and (max-width: 959px) {
  #single-disease .disease {
    margin-bottom: 72px;
  }
}

@media screen and (max-width: 767px) {
  #single-disease .disease {
    margin-bottom: 64px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .disease {
    margin-bottom: 56px;
  }
}

#single-disease .disease .post-dtl {
  margin-bottom: 88px;
}

@media screen and (max-width: 959px) {
  #single-disease .disease .post-dtl {
    margin-bottom: 64px;
  }
}

@media screen and (max-width: 767px) {
  #single-disease .disease .post-dtl {
    margin-bottom: 56px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease .disease .post-dtl {
    margin-bottom: 44px;
  }
}

#single-disease h3 {
  margin-top: 56px;
}

@media screen and (max-width: 959px) {
  #single-disease h3 {
    margin-top: 48px;
  }
}

@media screen and (max-width: 767px) {
  #single-disease h3 {
    margin-top: 40px;
  }
}

@media screen and (max-width: 519px) {
  #single-disease h3 {
    margin-top: 32px;
  }
}

/*# sourceMappingURL=../../maps/pages/disease.css.map */
