@media print, all and (min-width: 751px) {
  .is-hidden_pc {
    display: none;
  }
}
@media print, all and (max-width: 750px) {
  .is-hidden_sp {
    display: none;
  }
}
.ecg-line {
  position: relative;
  min-height: 121px;
  box-sizing: border-box;
  margin: 60px auto;
}
.ecg-line::after {
  position: absolute;
  content: "";
  background-image: url(../images/common/pattern01.svg);
  background-size: auto 114.9px;
  background-position: center top;
  background-repeat: repeat-x;
  width: 100%;
  height: 121px;
  bottom: 0px;
  z-index: 99;
}

.patients-linkbox {
  display: flex;
  justify-content: space-between;
}
.patients-linkbox a {
  display: inline-block;
  position: relative;
  line-height: 0;
}
.patients-linkbox a:hover {
  filter: alpha(opacity=60);
  /* IE 6,7*/
  -ms-filter: "alpha(opacity=60)";
  /* IE 8,9 */
  -moz-opacity: 0.6;
  /* FF , Netscape */
  -khtml-opacity: 0.6;
  /* Safari 1.x */
  opacity: 0.6;
  zoom: 1;
  /*IE*/
}
.patients-linkbox .text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 125%;
  text-align: center;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 0 3px #000, 0 0 3px #000;
}
.patients-linkbox .text small {
  display: block;
}

.news-box {
  font-family: "Noto Sans JP", sans-serif;
}
.news-box.archive-news .titles {
  font-weight: bold;
}
.news-box.archive-news li:not(:last-of-type) {
  margin-bottom: 40px;
}
.news-box .times {
  font-size: 87.75%;
}
.news-box li:not(:last-of-type) {
  margin-bottom: 20px;
}

.single-news .title {
  font-weight: bold;
  font-size: 112.5%;
  border-bottom: solid 2px #8c0000;
  margin-bottom: 10px;
}

/* wp-editor */
#content .wp-editer {
  overflow: hidden;
}
#content .wp-editer strong {
  font-weight: bold;
}
#content .wp-editer em {
  font-style: italic;
}
#content .wp-editer img {
  max-width: 100%;
  height: auto;
}
#content .wp-editer ul:not([class]) {
  margin-left: 20px;
  list-style: disc;
}
#content .wp-editer ol:not([class]) {
  margin-left: 30px;
  list-style: decimal;
}
#content .wp-editer h1 {
  font-size: 2em;
  font-weight: bold;
}
#content .wp-editer h2 {
  font-size: 1.5em;
  font-weight: bold;
}
#content .wp-editer h3 {
  font-size: 1.17em;
  font-weight: bold;
}
#content .wp-editer h4 {
  font-weight: bold;
}
#content .wp-editer h5 {
  font-size: 0.83em;
  font-weight: bold;
}
#content .wp-editer h6 {
  font-size: 0.67em;
  font-weight: bold;
}

/* EDITOR */
.alignleft,
.alignright,
.aligncenter,
.alignnone {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

blockquote.alignleft,
img.alignleft,
.wp-caption.alignleft,
blockquote.alignright,
img.alignright,
.wp-caption.alignright,
blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
  margin-bottom: 10px;
}

.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 50px 0 10px;
}
.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  color: #494949;
  text-align: center;
  font-size: 14px;
  text-decoration: none !important;
  color: #8c0000;
  border-right: 1px solid #8c0000;
  padding: 0 15px;
  width: 40px;
  background-color: #fff;
}
.wp-pagenavi a:first-child,
.wp-pagenavi span:first-child {
  width: 80px;
}
.wp-pagenavi a.current,
.wp-pagenavi span.current {
  color: #fff;
  background-color: #8c0000;
  border-color: #8c0000 !important;
}

/* SUBNAV */
#subnav,
#subnav_layer {
  margin-bottom: 50px;
}
#subnav .no-use a,
#subnav_layer .no-use a {
  background-color: #ccc !important;
}
#subnav > span,
#subnav_layer > span {
  display: inline-block;
  margin-bottom: 35px;
  font-weight: bold;
  font-size: 162.5%;
  /*26px*/
}
#subnav .subnav-list,
#subnav_layer .subnav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 35px;
}
#subnav .subnav-list li.on a, #subnav .subnav-list li.active a,
#subnav_layer .subnav-list li.on a,
#subnav_layer .subnav-list li.active a {
  background-color: #fcede2;
}
#subnav .subnav-list a,
#subnav_layer .subnav-list a {
  font-size: 112.5%;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  width: 221px;
  display: inline-block;
  padding: 10px 0;
  color: #000 !important;
  text-decoration: none !important;
  background-color: #FFF;
  border: solid 1px #8c0000;
  border-radius: 5px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50px;
}
#subnav .subnav-list a:hover,
#subnav_layer .subnav-list a:hover {
  opacity: 0.6;
}

@media all and (min-width: 751px) {
  /* INDEX */
}
@media only screen and (max-width: 750px) {
  .ecg-line {
    min-height: 80px;
    margin: 30px auto;
  }
  .ecg-line::after {
    background-size: auto 80px;
    height: 80px;
  }
  .patients-linkbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -20px;
  }
  .patients-linkbox a {
    position: relative;
    line-height: 0;
    width: 50%;
  }
  .patients-linkbox a img {
    width: 100%;
    height: 100%;
  }
  .patients-linkbox .text {
    font-size: 112.5%;
  }
  /* SUBNAV */
  #subnav {
    margin-bottom: 35px;
  }
  #subnav .subnav-list {
    letter-spacing: -0.4em;
    gap: 10px;
  }
  #subnav .subnav-list > li {
    display: inline-block;
    vertical-align: middle;
    letter-spacing: normal;
  }
  #subnav .subnav-list > li > a {
    display: block;
    padding: 10px;
    font-size: 87.75%;
    width: 160px;
  }
  #subnav .subnav-list > li.on > a,
  #subnav .subnav-list > li > a:hover {
    border-bottom-color: #e7882b;
  }
}
