.contents-wrap {
  margin: 0 -20px 0;
  max-width: none;
  font-size: max(15px, min(1.5vw, 16px));
  line-height: 2;
  background-size: 100% max(380px, min(50vw, 425px));
  font-family: var(--font-notosans);
  font-weight: 400;
  padding: 20px 20px 40px;
  position: relative;
  overflow: hidden;
  background: #ecf8ed;
}

.contents-wrap.index {
  background-size: 100% max(450px, min(55vw, 540px));
  padding-left: 15px;
  padding-right: 15px;
}
.contents-wrap.index::before {
  position: absolute;
  inset: 0;
  content: "";
  /* background: rgb(255 255 255 / .25); */
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  line-height: 1.4;
}

.contents-wrap ul,
.contents-wrap ol {
  margin: 0;
  padding-left: 25px;
}
.contents-wrap li:not(:last-child) {
  margin-bottom: 0.4em;
}
.contents-wrap li{
  /* text-indent: -.7em; */
  /* margin-left: 1.2em; */
}

.eachpage section a,
.eachpage strong {
  font-family: var(--font-notosans);
  font-weight: 600;
}
a[href*="modal"],
.eachpage section >p>a[href^="w"] {
  color: #E73263;
  text-decoration: underline;
}
a[href*="modal"]:hover,
.eachpage section>p>a[href^="w"]:hover {
  text-decoration: none;
}

.contents-wrap p {
  font-family: var(--font-notoserif);
}

.breadcrumb-list:not(:root) {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.4;
  max-width: 860px;
  position: relative;
  z-index: 1;
}
.breadcrumb-list li {
  position: relative;
  display: inline-block;
}
.breadcrumb-list li:not(:last-child) {
  margin-right: 20px;
}
.breadcrumb-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 6px;
  height: 6px;
  border: 1px solid;
  border-color: #8e8e8e #8e8e8e transparent transparent;
  transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
}

.breadcrumb-list a {
  color: inherit;
  text-decoration: underline;
}
.breadcrumb-list a:hover {
  text-decoration: none;
}

.main-contents {
  max-width: 860px;
  margin: 20px auto 0;
  /* padding: 0 max(15px, min(4vw, 60px)); */
  padding: 0;
  /* box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1); */
  position: relative;
}
.eachpage .main-contents {
  margin: 0 auto 0;
}

.title-box {
  /* border: 6px solid #C93565; */
  /* background: #fff; */
  position: relative;
  margin: 0 calc(20% - 13vw);
}

.title-box-inner {
  position: relative;
  padding: 1em;
  background: #bedfc2;
  padding-bottom: 2em;
}
.title-box-inner * {
  text-align: center;
}

.contents-wrap h1 {
  margin: 0 auto;
  /* line-height: 1.2; */
  max-width: 800px;
}

.title-box .author {
  font-family: var(--font-notosans);
  font-weight: 500;
  font-size: 18px;
}

@media (min-width: 768px) {
  #sidemenudata {
    padding-right: 30px;
  }
  .title-box-inner {
    border-radius: 10px;
  }
}
@media (max-width: 767px) {
  #contents {
    padding: 0;
  }

  .main-contents {
    padding-left: 0;
    padding-right: 0;
  }

  .title-box {
    margin: 0 calc(50% - 50vw);
  }
  .title-box-inner {
    padding-bottom: 1em;
  }

  .title-box .author {
    font-size: max(12px, min(2.5vw, 16px));
  }
  .title-box .author small {
    display: inline-block;
  }
}

.contents-box.lineup {
  position: relative;
  /* padding: 1.8em max(1em, min(3vw, 2em)) 0.6em; */
  border-right: 3px solid #73c29a;
  border-bottom: 3px solid #73c29a;
  border-left: 3px solid #73c29a;
  margin-bottom: 0.5em;
}
.contents-box.lineup .lineup-head:not(:root) {
  font-family: var(--font-notosans);
  /* width: fit-content; */
  font-weight: 600;
  background: #73c29a;
  color: #fff;
  padding: 2px 14px;
  line-height: 1.6;
  font-size: 20px;
  /* position: absolute;
  top: -21px;
  left: 50%; */
  /* transform: translateX(-50%); */
  text-align: center;
  margin-bottom: 0;
}
/* .lineup-head:not(:root){
  font-family: var(--font-notosans);
  width: fit-content;
  font-weight: 700;
  background: #333;
  color: #fff;
  padding: 2px 14px;
  line-height: 1.6;
  font-size: 21px;
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
} */

.contents-box.lineup .lineup-list:not(:root) {
  font-family: var(--font-notosans);
}
.contents-box.lineup .lineup-list li:first-child,
.contents-box.lineup .lineup-list li {
  border: none;
}
.contents-box.lineup .lineup-list a {
  padding: 1em 1.5em;
}

.toLineup {
  text-align: center;
  /* margin: 0.6em 0 0; */
  font-size: 14px;
  font-weight: 500;
}
.toLineup a {
  color: #008d6c;
  text-decoration: underline;
}
.toLineup a:hover {
  text-decoration: none;
}

.rnote-published:not(:root) {
  font-family: var(--font-notosans);
  margin: 0;
  font-size: 12px;
  text-align: right;
  color: #999;
  max-width: 540px;
  margin-inline: auto;
}
.rnote-published i {
  margin-right: 6px;
}

.intro-box {
  padding: 1em;
  background: rgb(255 255 255 / 0.75);
  width: 540px;
  margin-inline: auto;
  border: 1px solid #333;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -80px;
}
.intro-box p {
  margin: 0;
  font-size: max(12px, min(2vw, 14px));
  font-family: var(--font-notosans);
  line-height: 1.6;
  text-align: left;
}

.eachpage .intro-box {
  position: unset;
  transform: none;
  margin-top: 10px;
}

mark.shoyaku,
mark.kampo {
  font-family: var(--font-notosans);
  padding: 0 0.1em;
  color: #333;
}
mark.shoyaku {
  background: linear-gradient(transparent 85%, #fee791 85%);
}
mark.kampo {
  background: linear-gradient(transparent 85%, #bfdda3 85%);
}

.section-bottom {
  background: #fff;
  border-radius: 15px;
  padding: max(2em, min(4vw, 2.5em)) max(1.5em, min(4vw, 3em));
  margin-top: 105px;
  box-shadow: 0 2px 14px rgb(0 0 0/10%);
}

.explanation-box {
  margin-bottom: 3em;
}
.explanation-box p {
  font-size: max(12px, min(1.5vw, 14px));
  font-family: var(--font-notosans);
  margin: 0 0 0 1em;
  text-indent: -1em;
  padding-right: 1em;
  line-height: 1.7;
}
.contents-wrap mark:not([class]) {
  background: linear-gradient(transparent 70%, #d8ecdc 70%);
}

.contents-wrap .panel {
  margin-bottom: 0;
}

.contents-wrap .panel .panel-heading {
  line-height: 1.5;
  font-size: max(17px, min(2.5vw, 18px));
}
.contents-wrap .panel-body a {
  font-weight: 400;
}
.department-wrap .panel-body a.btn-warning {
  color: #fff;
}
.department-wrap .panel-body a.btn-default {
  color: inherit;
}

.panel-heading-txt {
  text-align: center;
  display: block;
  font-weight: 700;
}
.panel-heading-txt > span {
  display: inline-block;
}
.panel-heading-small {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  margin-top: 10px;
  font-size: 80%;
}

.main-contents section > p:not([class]) {
  font-family: var(--font-notoserif);
  /* margin-left: 52px; */
  text-indent: 1em;
}

@media (max-width: 767px) {
  .lineup-head:not(:root) {
    top: -16px;
    padding: 1px 11px;
    font-size: 18px;
  }

  .intro-box {
    position: initial;
    transform: none;
    width: 100%;
    margin-top: 10px;
  }

  .section-bottom {
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
  }
}

/* 各ページ
---------------------------------- */
.eachpage .title-box {
  margin: 0 auto;
}

.eachpage h1 {
  margin: 15px calc(20% - 13vw) 0;
  max-width: inherit;
  position: relative;
  z-index: 1;
}
.eachpage h1::before {
  content: "";
  background: #bedfc2;
  /* inset: 0; */
  position: absolute;
  z-index: -1;
  bottom: -50px;
  height: 60px;
  width: 99.4%;
  border-radius: 0 0 20px 20px;
}

.eachpage .title-head {
  border: 6px solid #73c39b;
  background: #fff;
  font-family: var(--font-notosans);
  font-size: max(24px, min(4vw, 30px));
  font-weight: 700;
  padding: 0.8em 0.8em;
  display: grid;
  justify-content: center;
  margin: 0;
  position: relative;
  z-index: 2;
  line-height: 1.5;
}

.eachpage .main {
  background: #fff;
  padding: 0.5em 3em 3em;
  border: 6px solid #73c39b;
  border-top: none;
}

.contents-box {
  background: #e2f1e7;
  margin: 20px 0 3em;
  padding: 1em;
  max-width: 540px;
  margin-inline: auto;
}
.contents-box h3 {
  margin: 0 0 .5em;
  font-size: max(18px, min(3vw, 20px));
  text-align: center;
  color: #008d6c;
  font-weight: 600;
  letter-spacing: 2px;
}
.contents-box ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.4;
}
.contents-box li {
  padding-left: 22px;
}
.contents-box li:not(:last-child){
  margin-bottom: .6em;
}
.contents-box a {
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.contents-box a::before {
  position: absolute;
  top: 30%;
  left: -20px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: auto;
  content: "";
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  vertical-align: middle;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
  transition: 0.25s;
}
.contents-box .next a::before{
  rotate: -90deg;
  -webkit-rotate: -90deg;
  top: 34%;
}
.contents-box .prev a::before{
  rotate: 90deg;
  -webkit-rotate: 90deg;
  top: 38%;
  left: -19px;
}

.head2{
  font-weight: 900;
  font-size: max(22px, min(4vw, 28px));
  position: relative;
  z-index: 1;
  padding-bottom: 6px;
  margin: 2em 0 1em 58px;
}
.head2::before{
  content: '';
  background: #D2E9DB;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  left: -58px;
  top: 38%;
  position: absolute;
  z-index: -1;
  transform: translateY(-50%);
}
.head2::after{
  content: '';
  border-bottom: 3px dotted #28B484;
  width: 100%;
  display: block;
  padding-bottom: 6px;
  position: relative;
  z-index: 1;
}

.head3,
.prescription-head{
  color: #1D2088;
  font-weight: 900;
  font-size: max(18px, min(3vw, 22px));
  text-indent: -1.3em;
  margin-left: 2.8em;
  margin-top: 1em;
}
.head3::before,
.prescription-head::before{
  content: '◇';
  margin-right: 5px;
}
.prescription-head{
  color: #595757;
}

.head4{
  font-weight: 600;
  margin-left: 2.4em;
  margin-top: 1em;
}
.head4::before{
  content: '';
  width: 8px;
  height: 18px;
  background: #73C39B;
  display: inline-block;
  margin-right: 6px;
  position: relative;
  top: 2px;
}

.prescription-subhead{
  margin-bottom: 5px;
  margin-top: 14px;
  font-size: max(16px, min(3vw, 18px));
  text-indent: -1em;
  font-weight: 600;
}
.prescription-subhead::before{
  content: '▼';
  color: #58BB8F;
  margin-right: 3px;
  font-size: 90%;
  position: relative;
  top: -2px;
}

.prescription-box{
  background: #FEF4D6;
  font-weight: 500;
  padding: .4em .8em;
  line-height: 1.5;
}
.prescription-box small{
  font-family: var(--font-notoserif);
  font-weight: 400;
  font-size: 14px;
}

.case-box{
  background: #E2F1E7;
  display: grid;
  grid-template-columns: 1fr 100px;
  position: relative;
  padding: 1.5em;
  margin: 3.5em 0;
  gap: 40px;
  align-items: center;
}
.case-box.after{
  display: block;
}
.case-box img[src*="head"]{
  position: absolute;
  top: -11px;
  left: -11px;
}
.case-box p{
  text-indent: 1em;
  font-family: var(--font-notosans);
  margin: 0;
  position: relative;
  z-index: 1;
}
.case-box p:first-of-type{
  margin: .5em 0 0;
}

.paragraph-flex{
  display: flex;
  align-items: flex-start;
  gap: 3em;
}
.paragraph-flex img{
  flex-shrink: 0;
}

.thm-box{
  border: 5px solid #F6BBBD;
  border-radius: 10px;
  padding: 1.4em 1.5em;
  margin: 3.5em 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 25px;
}
.thm-box img[src*="head"]{
  position: absolute;
  left: -24px;
  top: -23px;
}
.thm-box img[src*="dr"]{
  position: absolute;
  right: 18px;
  top: -30px;
}
.thm-box ul{
  font-family: var(--font-notosans);
  list-style-type: none;
  padding-left: 0px;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}
.thm-box li{
  text-indent: -.7em;
  margin-left: 1.2em;
}
.thm-box li::before{
  content: "\25C6";
  display: inline-block;
  position: relative;
  color: #EB687D;
  margin-right: 5px;
}

.profile-box {
  background: #D2E9DB;
  padding: .8em;
  margin: 3.5em 0 0 auto;
  max-width: 350px;
}
.profile-box p {
  font-family: var(--font-notosans);
  line-height: 1.6;
  text-indent: 0;
  font-size: 14px;
}
.profile-box p:last-of-type {
  margin-bottom: 0;
}
.profile-box p strong{
  font-size: 120%;
}
.profile-box p.profile-name{
  margin-bottom: 5px;
}

.fadeout-bg{
  position: relative;
}
.fadeout-bg::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
  left: 0;
  top: -140px;
}

.border-strong {
  text-align: center;
  font-weight: 700;
  margin: 0 0 1.5em;
}
.border-strong::before {
  content: "";
  width: 100%;
  border-bottom: 1px dashed #ccc;
  display: block;
  position: relative;
  top: 17px;
  z-index: 0;
}
.border-strong span {
  display: inline-block;
  padding: 0 12px;
  margin-top: -10px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.border-strong::after {
  content: "";
  background: #fff;
}

.color-dots:not(:root) {
  font-family: var(--font-notosans);
  list-style-type: none;
  padding-left: 20px;
  font-weight: 600;
  margin: 1.5em 0;
  line-height: 1.6;
}
.color-dots li {
  text-indent: -0.2em;
}
.color-dots > li::before {
  content: "";
  border-radius: 100%;
  width: 8px;
  height: 8px;
  background-color: #B5B6B6;
  display: inline-block;
  position: relative;
  top: -2px;
  left: -11px;
  margin-right: -4px;
}

.literature-head {
  font-size: max(16px, min(2.5vw, 18px));
  font-weight: 500;
  display: block;
  margin-bottom: .2em;
}
.literature-head::before {
  content: "\25C6";
  color: #B5B6B6;
  margin-right: 6px;
}
.literature-list {
  counter-reset: reference;
  list-style-type: none;
  padding-left: 0.4em;
  font-size: max(12px, min(2vw, 14px));
  line-height: 1.5;
}
.literature-list li {
  text-indent: -1.6em;
  padding-left: 1.6em;
  word-break: break-all;
  font-family: var(--font-notoserif);
}
.literature-list li::before {
  counter-increment: reference 1;
  content: counter(reference) "）";
}
.literature-list li a {
  font-weight: 400;
  color: #428bca;
  font-family: var(--font-notoserif);
}

.eachpage .linup-head{
  margin-top: 1.8em;
}

/* 次ページ用 */
.next-page:first-of-type {
  margin-top: max(1em, min(3vw, 1.5em));
}
.next-page{
  font-weight: 700;
  display: grid;
  justify-content: center;
  margin-top: 2.5em;
}
.next-page a:not(:root){
  color: #333;
}
.next-page a:hover {
  text-decoration: none;
}
.next-page p{
  font-size: max(16px, min(3vw,18px));
  text-indent: -5em;
  margin-left: 5em;
  line-height: 1.6;
  margin-bottom: 12px;
  font-family: var(--font-notosans);
}
.next-page-head.previous{
  text-align: center;
}
.next-page p a {
  text-decoration: underline;
}
.next-page-btn:not(:root){
  padding-left: 0;
  list-style: none;
  display: grid;
  justify-content: center;
  gap: 8px;
  grid-auto-flow: column;
}
.next-page-btn li:not(:root), .footer-update .footer-update-list li:not(:root){
  margin-bottom: 0;
  display: inline-grid;
}
.next-page-btn a, .next-page-btn span{
  /* width: 35px; */
  /* height: 35px; */
  display: inline-block;
  line-height: 30px;
  text-align: center;
  border: 2px solid #333;
  transition: all .25s;
  padding: 0 10px;
}
.next-page-btn a:hover, .next-page-btn span{
  background: #333;
  color: #fff;
}
.prev-btn, .next-btn{
  position: relative;
}
.prev-btn span, .next-btn span{
  background: #d4d3d3;
  border-color: #d4d3d3;
  color: #8a8a8a;

}
.prev-btn span,
.prev-btn a{
  padding-left: 20px;
}
.next-btn span,
.next-btn a{
  padding-right: 20px;
}
.prev-btn span::before, .prev-btn a::before,
.next-btn span::before,
.next-btn a::before{
  content: "";
  position: absolute;
  top: 53%;
  width: 8px;
  height: 8px;
  border: 1px solid;
}
.prev-btn span::before, .next-btn span::before{
  border-color: #8a8a8a #8a8a8a transparent transparent;
}
.prev-btn a::before, .next-btn a::before{
  border-color: #333 #333 transparent transparent;
}
.next-btn span::before,
.next-btn a::before {
  right: 12px;
  transform: translateY(-50%)rotate(45deg);
  -moz-transform: translateY(-50%)rotate(45deg);
  -webkit-transform: translateY(-50%)rotate(45deg);
}
.prev-btn span::before,
.prev-btn a::before{
  left: 12px;
  transform: translateY(-50%)rotate(-135deg);
  -moz-transform: translateY(-50%)rotate(-135deg);
  -webkit-transform: translateY(-50%)rotate(-135deg);
}
.prev-btn a:hover::before,
.next-btn a:hover::before {
    border-color:#fff #fff transparent transparent;
}
.next-page .pagination-num{
  font-size: 14px;
  margin-top: 6px;
  margin-bottom: 0;
  text-align: center;
  font-weight: 400;
}

/* 次の回用 */
.pagination-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 3.5em;
  justify-content: space-between;
  line-height: 1.4;
  border-top: #ddd solid 1px;
  padding: 1.2em 0;
  border-bottom: #ddd solid 1px;
}
.pagination-box > div:first-child {
  border-right: 1px solid #eee;
}
.pagination-box a[class*="prev-item"] {
  padding-left: 30px;
  padding-right: 30px;
}
.pagination-box a[class*="next-item"] {
  padding-right: 30px;
  padding-left: 30px;
  text-align: right;
}
.pagination-box a:not(:root) {
  color: inherit;
  position: relative;
  display: block;
  text-decoration: none;
}
.pagination-box a[class*="prev-item"]::before {
  transform: translateY(-50%) rotate(-135deg);
  -moz-transform: translateY(-50%) rotate(-135deg);
  -webkit-transform: translateY(-50%) rotate(-135deg);
  left: 2px;
}
.pagination-box a[class*="next-item"]::before {
  transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  right: 2px;
}
.pagination-box a::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-color: #9c9c9c #9c9c9c transparent transparent;
  z-index: 2;
  transition: all 0.25s;
}
.pagination-box span[class*="-txt"] {
  margin-bottom: 0.4em;
  color: #999;
  font-weight: 300;
  font-size: 1.2rem;
  display: block;
}
.pagination-box span[class*="contents-title"] {
  font-size: 1.8rem;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  transition: all 0.25s;
}
.pagination-box span[class*="contents-title"] small {
  display: block;
  font-weight: 500;
  font-size: 80%;
}
.pagination-box a:hover span[class*="contents-title"] {
  color: #428bca;
}

.fig-right,
.fig-right-small {
  width: 100%;
  margin: 1.5em auto;
}
.fig-center {
  margin: 1.5em auto;
  width: 100%;
}
.fig-together {
  width: 100% !important;
  display: grid;
  gap: 20px;
  margin: 1.5em 0;
}
[class^="fig-"] img {
  margin: auto;
}
.clear {
  clear: both;
}
figcaption.contents-caption {
  line-height: 1.4;
  margin-top: 1em;
  font-weight: 700;
}
figure.table figcaption.contents-caption {
  margin-top: 0;
  margin-bottom: 1em;
}
figcaption.contents-caption .clamp {
  color: #c81333;
}
.modal-body figure {
  display: grid;
  justify-content: center;
}

.figure-table {
  margin: 2.5em auto;
}
.figure-table .figcaption {
  font-family: var(--font-notosans);
  line-height: 1.4;
  text-indent: 0;
  margin-bottom: 6px;
  font-weight: 700;
  text-indent:-3em;
  margin-left: 3em;
}
.figcaption .title {
  color: #E73263;
}
.figcaption .deco {
  color: #F6BBBD;
  margin: 0 2px;
}
.figure-table .table-list {
  background: #f7f0e8;
  border: 1px solid #595757;
  list-style: none;
  line-height: 1.4;
  padding: 1em;
  font-size: max(14px, min(2vw, 15px));
}
.table-list li {
  text-indent: -1.2em;
  margin-left: 1.2em;
}

.figure-table table {
  line-height: 1.4;
  font-size: max(14px, min(2vw, 15px));
  border-left: #595757 solid 1px;
  border-top: #595757 solid 1px;
  width: 100%;
}
.figure-table table th,
.figure-table table td {
  border-right: #595757 solid 1px;
  border-bottom: #595757 solid 1px;
  padding: 0.5em;
}
.figure-table table thead th {
  background: #FDE09D;
  color: #231916;
  font-weight: 600;
}
.figure-table table tbody th {
  background: #FDF3D5;
  width: 25%;
  font-weight: 400;
}
.figure-table u{
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid;
  line-height: 1.2;
}
.figure-table ruby{
  padding-left: 2px;
}
.figure-table ul{
  margin-bottom: 0;
  padding-left: 20px;
}

.watermark:not(:root) {
  margin-bottom: 0;
  text-align: right;
  font-family: var(--font-notosans);
  color: #aaa;
  font-size: max(13px, min(1.5vw, 14px));
  font-weight: 300;
  margin-top: 10px;
  line-height: 1.4;
}

@media (min-width: 641px) {
  .fig-right {
    float: right;
    width: 47%;
    margin: 15px 0 15px 22px;
  }
  .fig-center {
    margin: 2.5em auto;
    /* width: 80%; */
  }
  .fig-center.w70 {
    max-width: 70%;
  }
  .fig-together {
    grid-template-columns: 1fr 1fr;
  }

  .prescription-subhead{
    padding-left: .8em;
  }
}

.clamp {
  display: inline-block;
}

@media (min-width: 768px) {
  .lineup-list a .list-txt {
    display: flex;
    align-items: baseline;
    display: grid;
  }
}
@media (max-width: 767px) {
  .pagination-box a[class*="next-item"] {
    padding-left: 10px;
    padding-right: 20px;
  }
  .pagination-box a[class*="prev-item"] {
    padding-left: 20px;
    padding-right: 10px;
  }
  .pagination-box span[class*="contents-title"] {
    font-size: 1.5rem;
  }

  .head3, .prescription-head{
    margin-left: 1.3em;
  }

  .head4{
    margin-left: 0;
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .contents-wrap{
    padding-top: 10px;
  }
  .main-contents{
    margin-top: 10px;
  }

  .eachpage .main,
  .eachpage .title-box{
    margin: 0 calc(50% - 50vw);
  }
  .eachpage h1{
    margin: max(5px, min(2vw, 15px)) 10px 0;
    position: relative;
  }
  .eachpage h1::before{
    content: '';
    left: 0;
    top: 5px;
    background: #bedfc2;
    width: 109%;
    height: 100%;
    position: absolute;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }

  .eachpage .main{
    padding: .7em 1em 1em;
  }
  .eachpage .intro-box{
    width: 100%;
  }

  .head2{
    margin-left: 20px;
  }
  .head2::before{
    width: 70px;
    height: 70px;
    left: -22px;
    top: 16px;
  }

  .paragraph-flex{
    position: relative;
    margin-top: 3.5em;
    display: block;
  }
  .paragraph-flex .head3{
    padding-right: 60px;
  }
  .paragraph-flex img{
    width: 45px;
    position: absolute;
    right: 0;
    top: -5.8vh;
  }

  .case-box{
    padding: 1.5em 1em 1em;
    grid-template-columns: auto;
    gap: 0;
    position: relative;
  }
  .case-box img[src*="head"]{
    max-width: 38%;
  }
  .case-box img[src*="img"]{
    position: absolute;
    z-index: 0;
    opacity: .3;
    width: 87px;
    right: 5px;
    bottom: 5px;
  }

  .thm-box{
    padding: 1em;
    grid-template-columns: 1fr 55px;
    gap: 10px;
  }
  .thm-box img[src*="head"]{
    left: -13px;
    top: -17px;
    width: 200px;
  }
  .thm-box img[src*="dr"]{
    right: 7px;
    top: -15px;
    width: 60px;
  }

  .prescription-subhead.ml3-7{
    margin-left: 1em !important;
  }

  .eachpage .literature-list{
    padding-left: 0;
  }
  .literature-list li{
    margin-left: 0;
  }
}

/* 関連書籍
---------------------------------- */
.department .series-box {
  max-width: 100%;
}

.series-box {
  margin-top: 3em;
  border: #73c29a 3px solid;
  font-weight: bold;
  border-radius: 5px;
  background: #fff;
  max-width: 860px;
  margin-inline: auto;
  position: relative;
}

.series-container::before {
  content: attr(data-text) "";
  position: relative;
  top: 1px;
  left: 0;
  background: #73c29a;
  padding: 7px 14px 9px;
  font-size: 1.5rem;
  font-weight: 400;
  border-radius: 0 0 5px;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  font-weight: 500;
}
.series-inner {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, 120px);
  gap: 25px;
  padding: 40px 20px 30px;
}
.series-inner a {
  color: inherit;
}
.series-inner p {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 400;
  font-family: var(--font-notosans);
  text-indent: 0;
}

.series-box.subscription .series-inner {
  grid-template-columns: auto;
  padding: 10px 20px 30px;
}
.series-box.subscription .series-inner p {
  margin: 0 0 15px;
  font-weight: 700;
  font-size: max(12px, min(1.5vw, 14px));
  text-align: center;
  color: #666;
}
.series-box.subscription .series-inner img {
  max-width: 310px;
}

@media (max-width: 640px) {
  .series-container::before {
    display: block;
    border-radius: 0;
    top: 0px;
  }
  .series-container::before {
    padding: 4px 14px 7px;
  }

  .series-inner {
    padding: 30px 15px 30px;
    grid-template-columns: repeat(2, 120px);
    gap: 20px;
  }
}

/* 診療科リスト
---------------------------------- */
.lineup-box {
  margin-top: max(4.5em, min(5.5vw, 5em));
}
.contents-wrap.index .linup-head {
  /* margin-top: 3em; */
}

.linup-head {
  font-size: max(18px, min(2.5vw, 22px));
  font-family: var(--font-notosans);
  line-height: 1.6;
  margin-bottom: 10px;
}
.linup-head span {
  font-weight: 600;
  /* background: #008d6c; */
  color: #008d6c;
  /* padding: 2px 14px; */
  display: inline-block;
  border-left: 5px solid #bedfc2;
  padding: 2px 0 2px 12px;
  line-height: 1;
}
.lineup-list:not(:root) {
  list-style: none;
  padding-left: 0;
  font-family: var(--font-notosans);
}
.lineup-list li {
  margin: 0 !important;
  border-bottom: 1px dotted #e0e0e0;
}
.lineup-list li:first-child {
  border-top: 1px dotted #e0e0e0;
}
.lineup-list a {
  display: block;
  padding: 0.8em;
  position: relative;
  transition: ease-in-out 0.2s;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.lineup-list a:not([class]),
.contents-box .lineup-list a:not([class]) {
  pointer-events: none;
  color: #9d9d9d;
  font-weight: 400;
  font-size: max(14px, min(2vw, 16px));
  flex-wrap: nowrap;
  gap: 15px;
}
.lineup-list a .list-txt{
  margin-right: 8px;
}
.lineup-list .new,
.lineup-list .free {
  font-size: 80%;
  font-family: var(--font-notosans);
  margin: 0;
  color: #fff;
  line-height: 1;
  display: inline-block;
  position: relative;
  top: -2px;
  background: #e9536f;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 400;
}
.lineup-list .free {
  font-size: 11px;
  letter-spacing: 0;
  background: #fff;
  font-weight: 500;
  background: -webkit-linear-gradient(transparent 70%, #aaddf7 70%);
  border-radius: 0;
  top: -2px;
  padding: 0px 2px 4px;
  margin-right: 8px;
}
.lineup-list a small {
  font-weight: 400;
  font-size: 75%;
}
.lineup-list a .published {
  margin: 0;
  margin-left: auto;
  font-weight: 400;
  white-space: nowrap;
  font-size: max(11px, min(1.5vw, 13px));
  color: #b5b5b5;
  margin-top: auto;
}
.lineup-list a.pointer {
  font-weight: 700;
  color: #555;
  pointer-events: all;
}
.lineup-list a.pointer::before {
  content: "";
  width: 11px;
  height: 15px;
  background-color: #73c29a;
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
  display: inline-block;
  margin-right: 6px;
  position: relative;
  top: 1px;
  transition: ease-in-out 0.2s;
}
.lineup-list a.pointer:hover::before {
  background-color: #008d6c;
}
.lineup-list a:hover,
.contents-box .lineup-list a:hover {
  text-decoration: none;
  color: #008d6c;
}
.lineup-list a.active {
  color: #008d6c;
  background: #ecf8ed;
}
.lineup-list a.pointer.active::before {
  background-color: #73c29a;
}
.contents-box .lineup-list a {
  color: #333;
}

.affiliation-asterisk:not(:root) {
  font-family: var(--font-notosans);
  font-size: max(11px, min(1.5vw, 13px));
  margin: 12px 0 0;
  text-align: right;
  line-height: 1.5;
}
.affiliation-asterisk > span {
  display: inline-block;
  text-indent: 0;
}

@media (max-width: 767px) {
  .lineup-list a {
    display: block;
  }
  .lineup-list a small {
    display: block;
  }
  .lineup-list li a.pointer small {
    margin-left: 20px;
  }
  .lineup-list a .published {
    text-align: right;
    display: block;
  }
}

/* 「レジデントノート」のお知らせメールの登録方法
---------------------------------- */
.about-mm p {
  font-family: var(--font-notosans);
  font-size: 14px;
  text-align: left;
  line-height: 1.6;
}
.about-mm h3 {
  font-size: max(16px, min(2.5vw, 17px));
  font-weight: 700;
  margin: max(20px, min(2.5vw, 25px)) 0 1em;
  border-top: 1px solid #ddd;
  padding-top: 1.5em;
  display: flex;
  justify-content: center;
  line-height: 1.5;
  align-items: baseline;
  text-align: left;
}
.about-mm h3 i {
  margin-right: 4px;
  color: #73c29a;
}
.about-mm p .glyphicon {
  display: inline;
}
.about-mm p.howto {
  text-indent: -1.2em;
  margin-left: 1.2em;
}
.about-mm p.howto .num {
  font-weight: 900;
}
.about-mm p.howto i {
  display: initial;
}
.about-mm p.howto:last-of-type {
  margin-bottom: 0;
}

.login-box ul{
  padding-left: 0;
}


.mt1-5{
  margin-top: 1.5em !important;
}
.mt1-8{
  margin-top: 1.8em !important;
}
.mt2{
  margin-top: 2em !important;
}

.ml3-7{
  margin-left: 3.7em !important;
}
section>p.ml3-7{
  text-indent: 1em;
}
@media not all and (min-width: 768px) {

  .ml3-7{
    margin-left: 0 !important;
  }
}
