:root {
  --color-blue: #0068b7;
  --color-lightblue: #1eb9ee;
  --color-bk: #F2F9FE;
  --color-red: #ec6d65;
  --color-cream: #fffcdb;
  --color-brown: #943839;
}

.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: 0 20px 0;
  position: relative;
  overflow: hidden;
  background: #c9e8fa;
  color: #222;
}

.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;
}

.eachpage section a {
  font-weight: 500;
}
.eachpage section strong{
  font-family: var(--font-rounded);
}
a[href*="modal"],
.eachpage section >p>a:not([class]) {
  text-decoration: underline;
}
a[href*="modal"]:hover,
.eachpage section>p>a:not([class]):hover {
  text-decoration: none;
}

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

.contents-wrap a{
  color: var(--color-blue);
}

.breadcrumb-list:not(:root) {
  list-style: none;
  padding: 15px 0 10px;
  margin: 0 auto;
  font-size: max(10px, min(1.5vw, 12px));
  line-height: 1.4;
  max-width: 1000px;
  position: relative;
  z-index: 1;
  background: #fff;
}
.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: 1000px;
  margin: 0 auto 0;
  padding: 0;
  position: relative;
}
.index .main-contents{
  background: var(--color-bk) url(/rnote/monshin_lecture/images/bk-title.png) no-repeat;
  background-size: contain;
}

.title-box {
  position: relative;
}

.title-box-inner * {
  text-align: center;
}

.contents-wrap h1 {
  display: none;
}

.title-box{
  margin-bottom: 1.5em;
}

.title-box .author {
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: max(14px, min(2vw, 18px));
  line-height: 1.8;
  margin: 0;
}
.title-box .author.small{
  font-size: max(80%, min(2vw, 86%));
}

.rnote-published:not(:root) {
  font-family: var(--font-notosans);
  margin: 0;
  font-size: max(10px, min(1.5vw, 12px));
  text-align: right;
  font-weight: 300;
}

.intro-box{
  background: #c3e7fa;
  padding: .9em 1.2em;
  line-height: 1.6;
  margin-bottom: 1em;
  max-width: 590px;
  margin-inline: auto;
  font-weight: 500;
  font-size: max(12px, min(1.5vw, 14px));
}

@media (min-width: 768px) {
  #sidemenudata {
    padding-right: 30px;
  }
  .breadcrumb-list:not(:root) {
    border-left: 3px solid var(--color-lightblue);
    border-right: 3px solid var(--color-lightblue);
    padding-left: 15px;
    padding-right: 15px;
  }
  .index .main-contents{
    border-left: 3px solid var(--color-lightblue);
    border-right: 3px solid var(--color-lightblue);
  }


}
@media (max-width: 767px) {
  #contents {
    padding: 0;
  }

  .breadcrumb-list:not(:root){
    padding-left: 5px;
    padding-right: 5px;
  }

  .contents-wrap,
  .main-contents{
    background: #fff;
  }
  .main-contents {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .title-box {
    margin: 0;
  }
  .title-box-inner {
    padding-bottom: 1em;
  }
}


.section-bottom {
  border-radius: 15px;
  padding: max(2em, min(4vw, 2.5em)) max(1.5em, min(6vw, 6em)) 0;
  margin-top: 0;
  padding-top: 19.5%;
}

.explanation-box {
  margin-bottom: max(1em, min(3vw, 2em));
}
.explanation-box p {
  font-size: max(12px, min(1.5vw, 13px));
  font-family: var(--font-notosans);
  margin: 0 auto;
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.7;
  max-width: 600px;
}
.contents-wrap mark:not([class]) {
  background: linear-gradient(transparent 70%, #fff 70%);
  font-weight: 600;
  padding: 0;
  color:#222;
}

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

.contents-wrap .panel .panel-heading {
  line-height: 1.5;
  font-size: max(16px, min(2.5vw, 18px));
}
.contents-wrap .panel-body a {
  font-weight: 400;
}
.contents-wrap .panel-body a.btn-warning {
  color: #fff;
  border-bottom: 4px solid #c78527;
}
.contents-wrap .panel-body a.btn-default {
  color: inherit;
  border-bottom: 4px solid #cecccc;
}

.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: 76%;
}

img[src*="explanation-head"]{
  float: left;
  margin: 8px 15px 10px 0;
}

.eachpage .main-contents section{
  margin-top: 1em;
  padding: 1.5em;
  background: #fff;
  max-width: 900px;
  margin-inline: auto;
}

.eachpage .main-contents section > p:not([class]) {
  font-family: var(--font-notosans);
  text-indent: 1em;
}

@media (max-width: 767px) {

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

  .lineup-box{
    padding-left: 0;
    padding-right: 0;
  }
}

/* 各ページ
---------------------------------- */
.eachpage .title-box {
  margin: 0;
  padding: 20% 20px 0;
  border-left: 3px solid var(--color-lightblue);
  border-right: 3px solid var(--color-lightblue);
  background: #F2F9FE url(/rnote/monshin_lecture/images/bk-title.png) no-repeat;
  background-size: 100%;
  overflow: clip;
}

.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 {
  font-family: var(--font-rounded);
  font-size: max(20px, min(4vw, 30px));
  font-weight: 700;
  /* padding: 0.8em 0.8em; */
  margin: 0;
  position: relative;
  z-index: 2;
  line-height: 1.5;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: max(10px, min(2vw, 15px));
  margin-left: max(1%, min(5vw, 7%));
}
.eachpage .title-head .episode{
  background: var(--color-red);
  color: #fff;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  width: max(50px, min(9vw, 75px));
  height: max(50px, min(9vw, 75px));
}
.eachpage .title-head .episode *{
  display: block;
}
.eachpage .title-head .episode .sub{
  font-size: 40%;
  margin-top: max(9px, min(1.5vw, 12px));
}
.eachpage .title-head .episode .num{
  font-size: 145%;
}
.eachpage .title-head .text{
  color: #034098;
  font-weight: 800;
}
.eachpage .title-head .text small{
  display: block;
  color: #034098;
  font-weight: 500;
  font-size: 80%;
}

.contents-info{
  display: grid;
  justify-content: space-between;
  grid-template-columns: auto auto;
  margin-top: 1em;
  max-width: 900px;
  margin-inline: auto;
  gap: 20px;
  margin-bottom: .5em;
}
.eachpage .intro-box{
  margin-left: -50px;
  padding: .9em 1.2em .9em 50px;
  font-size: max(12px, min(1.5vw, 13px));
}

.author-box{
  text-align: right;
  max-width: 900px;
}
.author-box .author{
  font-size: max(14px, min(2vw, 16px));
}
.author-box .author.small{
  font-size: 80%;
}

.manga-box{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 10px;
  max-width: 900px;
  margin-inline: auto;
}

.eachpage .main {
  background: var(--color-bk);
  padding: 1em 20px 3em;
  border: 3px solid var(--color-lightblue);
  border-bottom: none;
  border-top: none;
}

.character-info{
  display: grid;
  grid-template-columns: auto auto;
  gap: max(15px, min(4vw, 40px));
  max-width: 900px;
  margin-inline: auto;
  line-height: 1.4;
  justify-content: flex-start;
}
.character-info .item{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 10px;
}
.character-info .item p{
  font-size: max(11px, min(1.5vw, 12px));
  margin: 0;
}
.character-info .item p img{
  margin-bottom: 4px;
}

.lets-next{
  width: 298px;
  margin-left: auto;
  max-width: 72%;
}

.try-again{
  margin-left: -76px;
  margin-top: 1.5em;
  width: 66%;
  max-width: 290px;
}
.title-box:has(.try-again)+.main>section:has(.login-box){
  margin-top: 0;
}

.matome{
  margin-top: 2.8em;
  display: grid;
  grid-template-columns: max(40px, min(5vw, 48px)) 1fr;
  gap: 10px;
}
.matome-box{
  background: var(--color-cream);
  color: var(--color-brown);
  font-family: var(--font-rounded);
  font-weight: 600;
  padding: .5em 1em;
}
.matome-box p{
  margin: 0 0 0 1em;
  text-indent: -1em;
  line-height: 1.6;
}

.profile-box {
  background: var(--color-cream);
  padding: .8em 1em;
  margin: 2em 0 0 auto;
  max-width: 360px;
  width: 85%;
}
.eachpage .profile-box{
  padding: 0;
  background: transparent;
  font-weight: 300;
  margin-top: 3.2em;
}
.profile-box p {
  font-family: var(--font-notosans);
  line-height: 1.6;
  text-indent: 0;
  font-size: max(12px, min(2vw, 14px));
}
.profile-box p:last-of-type {
  margin-bottom: 0;
}
.profile-box p strong{
  font-size: 120%;
  font-weight: 500;
}
.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: 1.5em 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;
  font-size: max(14px, min(1.5vw, 16px));
}
.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: 16px;
  font-weight: 500;
  display: block;
  margin-bottom: .2em;
  margin-top: 1.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 .lineup-head{
  margin-top: 1.8em;
}
.eachpage .lineup-head,
.eachpage .lineup-list,
.eachpage .affiliation-asterisk:not(:root){
  max-width: 900px;
  margin-inline: auto;
}


/* 次ページ用 */
.next-page{
  font-weight: 700;
  display: grid;
  justify-content: center;
  padding-top: 1.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;
  background: #fff;
}
.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;
}

.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;
  }
}

@media (min-width: 768px) {
}
@media (max-width: 767px) {
  .eachpage .title-box{
    margin: 0 -35px 0 -35px;
    padding: 24% 35px 0;
  }

  .eachpage .main,
  .eachpage .main-contents section{
    margin-left: -15px;
    margin-right: -15px;
    border: none;
  }

  .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; */
    background: transparent;
  }
  .main-contents{
    /* margin-top: 10px; */
  }

  .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 .title-head{
    margin-left: 0;
  }

  .eachpage .main{
    padding: 1.2em 1em 4em;
  }

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

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

@media not all and (min-width: 540px){
  .contents-info{
    grid-template-columns: auto;
    gap: .5em;
  }
  .eachpage .intro-box{
    margin-bottom: 0;
  }

  .manga-box{
    grid-template-columns: auto;
  }
}

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

.series-box {
  margin-top: 3em;
  border: var(--color-lightblue) 2px solid;
  font-weight: bold;
  border-radius: 5px;
  background: #fff;
  max-width: 550px;
  margin-inline: auto;
  position: relative;
}

.series-inner {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, 120px);
  gap: 25px;
  padding: 40px 20px 30px;
  position: relative;
}
.series-inner::before {
  content: attr(data-text) "";
  position: absolute;
  top: -1px;
  left: 0;
  background: var(--color-lightblue);
  padding: 5px 10px 6px;
  font-size: 11px;
  font-weight: 400;
  border-radius: 3px 0 5px 0;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  font-weight: 500;
  max-width: 175px;
}
.series-inner a{
  color: inherit;
}
.series-inner p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 0;
  font-weight: 400;
  font-family: var(--font-notosans);
  text-indent: 0;
}

.series-box.subscription .series-inner{
  grid-template-columns: auto;
  padding: 20px 20px 25px;
}
.series-box.subscription .series-inner:not(:first-of-type){
  border-top: 1px dotted var(--color-lightblue);
}
.series-box.subscription .series-inner p:not([class]){
  margin: 0 0 .8em;
  font-weight: 500;
  font-size: max(12px, min(1.5vw, 14px));
  text-align: center;
  color: #666;
}
.series-box.subscription .series-inner img{
  width: 310px;
}

.series-inner.newbook a{
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  padding-top: 1.2em;
}

.series-inner .sub-title{

}
.series-inner .title{
  font-size: 100%;
  font-weight: 600;
}
.series-inner.newbook p:not(:first-of-type){
  margin: .2em 0 0;
}

@media (max-width: 640px){
  .series-box.subscription .series-inner {
    padding: 35px 15px 20px;
  }

  .series-inner.newbook a{
    grid-template-columns: 78px 1fr;
    gap: 10px;
    padding-top: .5em;
  }
}

/* 記事リスト
---------------------------------- */
.lineup-box {
  margin-top: 0;
  /* background: #fff; */
  padding: 1em max(.5em, min(2vw, 1.5em)) 4em;
  /* border: 3px solid #0068b7; */
}
.contents-wrap.index .lineup-head:not(:first-of-type) {
  margin-top: 2em;
}

.lineup-head {
  font-size: max(18px, min(2.5vw, 21px));
  font-family: var(--font-rounded);
  line-height: 1.6;
  margin-bottom: .6em;
}
.lineup-head::before{
  content: '';
  width: max(14px, min(2.5vw, 16px));
  height: max(14px, min(2.5vw, 16px));
  background: var(--color-blue);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  position: relative;
  top: 0px;
}
.lineup-head span {
  font-weight: 600;
  /* background: #008d6c; */
  /* color: #0068b7; */
  /* padding: 2px 14px; */
  display: inline-block;
  /* border-left: 5px solid #1eb9ee; */
  /* 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 var(--color-blue);
}
.lineup-list li:first-child {
  border-top: 1px dotted var(--color-blue);
}
.lineup-list a {
  display: block;
  padding: 0.8em 0;
  position: relative;
  transition: ease-in-out 0.2s;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: max(10px, min(2vw, 15px));
}
.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:hover,
.lineup-list a.active{
  /* background: var(--color-bk); */
}

.lineup-image{
  position: relative;
  flex-shrink: 0;
  border: 2px solid #222;
}
.lineup-list .new{
  position: absolute;
  font-size: 70%;
  color: #fff;
  line-height: 1;
  font-weight: 500;
  left: -2px;
  top: max(6px, min(1vw, 7px));
  z-index: 2;
  transform: rotate(-45deg);
}
.lineup-list .new::after {
  content: '';
  position: absolute;
  top: -6px;
  z-index: -1;
  border-bottom: 3.4em solid transparent;
  border-left: solid 3.4em var(--color-red);
  left: -5px;
  transform: rotate(45deg);
}
.lineup-image .image-icon{
  overflow: hidden;
}
.lineup-list a img{
  width: max(80px, min(10vw, 110px));
  height: max(80px, min(10vw, 110px));
  object-fit: cover;
  transition: .25s;
}
.lineup-list a:hover img{
  scale: 1.1;
}

.lineup-list a small {
  font-weight: 400;
  font-size: 75%;
}
.lineup-list a .published {
  margin: .4em 0 0;
  margin-left: auto;
  font-weight: 400;
  white-space: nowrap;
  font-size: max(11px, min(1.5vw, 13px));
  /* color: #b5b5b5; */
  display: block;
}
.lineup-list a.pointer {
  font-weight: 700;
  color: #222;
  pointer-events: all;
}
/*.lineup-list a.pointer::before {
  content: "";
  width: 11px;
  height: 15px;
  background-color: #1eb9ee;
  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,
.lineup-list a.active,
.contents-box .lineup-list a:hover {
  text-decoration: none;
  color: var(--color-blue);
}

.contents-box .lineup-list a {
  color: inherit;
}

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

@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;
    margin-top: .2em;
  }
}


/* 登場キャラ
---------------------------------- */

.character-introduce .balloon{
  display: grid;
  grid-template-columns: auto auto;
  gap: max(10px, min(2.5vw, 20px));
  line-height: 1.5;
  font-size: max(12px, min(2vw, 14px));
  justify-content: center;
}
.character-introduce .balloon .item{
  background: #c3e7fa;
  padding: 1em max(1em, min(2vw, 1.4em));
  border-radius: 20px;
  margin-bottom: 1em;
  max-width: 250px;
  position: relative;
}
.character-introduce .balloon .item::before{
  content: "";
  position: absolute;
  bottom: -8px;
  border: 14px solid transparent;
  border-right: 12px solid #c3e7fa;
}
.character-introduce .balloon .item.meta::before{
  content: "";
  left: 35px;
  transform: rotate(125deg);
}
.character-introduce .balloon .item.gao::before{
  content: "";
  right: 35px;
  transform: rotate(50deg);
}
.character-introduce .balloon strong{
  font-size: 120%;
}
.character-introduce .balloon .star{
  color: #fff;
  margin-right: 4px;
}
.character-introduce .inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 350px;
  width: 80%;
  margin-inline: auto;
}

@media not all and (min-width: 540px) {
  .character-introduce .balloon{
    grid-template-columns: 1fr 1fr;
  }
}


/* 「レジデントノート」のお知らせメールの登録方法
---------------------------------- */
.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: #babebf;
}
.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;
  }
}
