@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

.contents-wrap {
  background: #fffad8 url(../images/mizutama-bg.png) repeat;
  margin: 0 -30px 0;
  max-width: none;
  font-size: medium;
  line-height: 2;
  background-size: 15px;
  font-family: var(--font-notosans);
  font-weight: 300;
  }

.contents-wrap ul, .contents-wrap ol{
  margin: 0;
}
.contents-wrap li:not(:last-child) {
  margin-bottom: .4em;
}

.breadcrumb{
  margin-bottom: 0;
}

.main-contents {
  max-width: 860px;
  margin: auto;
  background: #fffad8;
  padding: 40px;
}

.toDetail{
  text-shadow: 1.5px 1.5px 0 #fff, -1.5px -1.5px 0 #fff, -1.5px 1.5px 0 #fff, 1.5px -1.5px 0 #fff, 0px 1.5px 0 #fff, 0 -1.5px 0 #fff, -1.5px 0 0 #fff, 1.5px 0 0 #fff;
}

.main{
  max-width: 840px;
  margin: 0 auto;
}

.logictree-title-sub{
  color: #625f50;
  margin: 0;
  text-align: center;
  font-family: var(--font-rounded);
  font-size: max(14px, min(3vw, 21px));
  font-weight: 400;
}
.logictree-title-sub .title-sub-inner{
  position: relative;
}
.logictree-title-sub .bold{
  font-size: 108%;
  font-weight: 500;
}
.logictree-title-sub .mr {
  margin-right: 12px;
}
.logictree-title-sub .title-sub-inner::before,
.logictree-title-sub .title-sub-inner::after{
  content: '';
  background: url(../images/subtitle-deco-left.png) no-repeat;
  background-size: contain;
  width: 42px;
  height: 40px;
  top: 15px;
  display: inline-block;
  position: relative;
}
.logictree-title-sub .title-sub-inner::before{
  left: -10px;
}
.logictree-title-sub .title-sub-inner::after {
  background: url(../images/subtitle-deco-right.png) no-repeat;
  background-size: contain;
  right: -10px;
}
.logictree-title{
  background: #4fb2be;
  border-radius: 10px;
  display: grid;
  padding: 12px 22px;
  font-family: var(--font-rounded);
  align-items: center;
  grid-auto-flow: column;
  grid-template-columns: 112px 1fr;
  margin-top: 10px;
  margin-bottom: 4px;
  position: relative;
  min-height: 127px;
}
.logictree-title-sub .cross{
  margin: 0 5px;
  position: relative;
  top: -2px;
}
.title-num{
  font-size: 20px;
  white-space: nowrap;
  font-weight: 700;
  background: #fff;
  width: 92px;
  height: 92px;
  line-height: 91px;
  text-align: center;
  border-radius: 50%;
  color: #333;
}
.title-num.final{
  line-height: 79px;
}
.title-num.final small{
  display: block;
  position: relative;
  top: -23px;
  color: inherit;
  font-weight: 700;
}
.final-i{
  position: absolute;
  font-size: 22px;
  background: #f5803e;
  padding: 6px 12px;
  top: 17px;
  left: -10px;
  color: #fff;
  transform: rotate(-10deg);
}
.title-num .num-bold{
  font-size: 150%;
  position: relative;
  top: 3px;
  margin: 0 2px;
}
.title-text{
  margin: 0;
  font-size: max(19px, min(4vw, 30px));
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 0 #4fb2be, -2px -2px 0 #4fb2be, -2px 2px 0 #4fb2be, 2px -2px 0 #4fb2be, 0px 2px 0 #4fb2be, 0-2px 0 #4fb2be, -2px 0 0 #4fb2be, 2px 0 0 #4fb2be;
}
.logictree-title img{
  width: 95%;
  margin-left: auto;
  margin-right: 5px;
  max-height: 105px;
}
.logictree-title .icon04,
.logictree-title .icon05{
  position: absolute;
  width: 162px;
  right: 10px;
  bottom: 0;
  max-height: initial;
}
.logictree-title .icon05{
  height: 100%;
  width: auto;
  right: -5px;
}
.logictree-title.new::after{
  content: '';
  position: absolute;
  background: url(../images/new-icon.png) no-repeat;
  background-size: contain;
  width: 44px;
  height: 100%;
  top: -11px;
  left: 15px;
}

.date{
  text-align: right;
  font-size: 12px;
}

@media (max-width: 767px){
#contents {
  padding: 0;
}
.contents-wrap{
  margin: 0 -15px;
  padding: 0 18px;
  background: #fffad8;
}
.akafun-title{
  margin: 0 calc(50% - 50vw);
}

.main-contents{
  padding: 30px 0;
}
.logictree-title-sub .bold{
  font-size: 105%;
  margin-left: 0;
}
.logictree-title-sub .mr {
  margin-right: 0;
}
.logictree-title-sub{
  line-height: 1.4;
  display: grid;
  justify-content: center;
}
.logictree-title-sub .title-sub-inner::before,
.logictree-title-sub .title-sub-inner::after{
  position: absolute;
  width: 30px;
  top: 11px;
}
.logictree-title-sub .title-sub-inner::before{
  left: -40px;
}
.logictree-title-sub .title-sub-inner::after{
  right: -40px;
}
.logictree-title-sub .cross{
  margin: 0 2px;
  top: -1px;
}
.logictree-title{
  grid-auto-flow: inherit;
  text-align: center;
  padding: 10px 10px 14px;
  margin-top: 5px;
  border-radius: 8px;
  grid-template-columns: auto;
}
.title-num{
  margin: 0px auto 10px;
  width: 75px;
  height: 75px;
  line-height: 73px;
  font-size: 16px;
}
.title-text{
  line-height: 1.5;
}
.title-num.final {
  line-height: 57px;
}
.title-num.final small{
    top: -17px;
}
.final-i{
  font-size: 15px;
  padding: 5px 8px 5px 8px;
  top: 11px;
  left: -7px;
}
}
@media (max-width: 640px){
  .logictree-title .icon04 {
    width: 27vw;
    right: 8px;
  }
}

.main section{
  margin-top: 4em;
}
.main section:first-child {
  margin-top: max(1em, min(3vw, 2em));
}
.main section:nth-of-type(2)[id^="chapter"] {
  margin-top: max(2em, min(5vw, 2.8em));
}
.main section::after{
  content: '';
  clear: both;
}

.head2{
  color: #4eb2be;
  font-weight: 700;
  font-family: var(--font-notosans);
  font-size: max(20px, min(4vw, 26px));
  border-left: 4px solid;
  padding-left: 14px;
  margin-bottom: 0.6em;
  line-height: 1.4;
}

.contents-box{
  background: #efe9c8;
  padding: 25px 20px;
  max-width: 510px;
  margin: max(2em, min(5vw, 3em)) auto 0;
  position: relative;
  display: grid;
  justify-content: center;
}
.contents-box::before {
  content: '';
  background: url(../images/contents-icon.png) no-repeat;
  background-size: contain;
  width: 80px;
  height: 58px;
  left: -20px;
  top: 17px;
  position: absolute;
}
.contents-box .contents-list{
  display: grid;
  list-style: none;
  padding-left: max(0px, min(2vw,20px));
  font-size: 16px;
}
.contents-box .contents-list li:not(:last-child) {
  margin-bottom: .6em;
}
.contents-box .contents-list a{
  color: #333;
  text-decoration: underline;
}
.contents-box .contents-list a:hover,
a[href^="#modal-id"]:hover:not(:root) {
  text-decoration: none;
}

.chat-box{
  display: flex;
  gap: 20px;
  margin-top: 1em;
  align-items: flex-start;
}
.chat-box img{
  width: auto;
  height: 100%;
  background: #fff;
  border-radius: 50%;
}
.chat-box p{
  margin-bottom: 0;
}
.instructor-name{
  color: #2b6ead;
  font-weight: 400;
}
.resident-name {
  color: #f08300;
  font-weight: 400;
}
.certifiedDr-name {
  color: #ea5f7e;
  font-weight: 400;
}
.nurse-name {
  color: #83b600;
  font-weight: 400;
}
.comment:not(:root){
  margin-top: 16px;
}
span.tips {
  cursor: pointer;
}
span.tips img{
  transition: all .25s;
}
span.tips img:hover {
  opacity: .75;
  transition: all .25s;
}
.popover.top {
  border: 2px solid #4eb2be;
  font-family: var(--font-notosans);
  font-weight: 300;
  background: #fefbe5;
}
.popover.top>.arrow {
  border-top-color: #4eb2be;
}
.popover.top>.arrow:after {
  bottom: 3px;
  border-top-color: #fefbe5;
}
.pop-profile-name{
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 500;
  font-family: var(--font-rounded);
}

.logic-table{
  width: 100%;
  border-bottom: solid 2px #94CCD2;
  border-left: solid 2px #94CCD2;
  border-collapse: separate;
  background: #fefbe5;
  line-height: 1.5;
  font-size: max(15px, min(3vw,16px));
}
.logic-table td, .logic-table th {
  padding: 1rem;
  border-top: solid 2px #94CCD2;
  border-right: solid 2px #94CCD2;
  vertical-align: middle;
}
.logic-table [data-label="label01"]{
  background: #4eb2be;
  color: #fff;
  text-align: center;
  font-weight: 700;
}
.logic-table [data-label="label02"] {
  background: #e1efda;
  word-break: break-word;
}

.logic3step{
  margin: 2em 0;
}
.logic3step-title{
  border: 2px solid #94ccd2;
  background: #4eb2be;
  padding: 1rem 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}
.logic3step-content{
  border: 2px solid #94ccd2;
  border-top: none;
  background: #fefbe5;
  padding: 1.2rem 2rem;
}
.logic3step-content p:not([class]):last-of-type{
  margin-bottom: 0;
}
.logic3step-head{
  font-weight: 700;
  color: #4eb2be;
  margin-bottom: 2px;
  margin-top: 6px;
  font-size: 16px;
}
.logic3step-head:first-of-type{
  margin-top: 0;
}
.logic3step-list{
  padding-left: 20px;
}
.logic3step-list li::marker{
  color: #4eb2be;
  font-weight: 700;
}

.case-box{
  display: grid;
  align-items: flex-start;
  background: #fff;
  padding: 16px 20px;
  gap: 25px;
  margin: 1.5em 0;
  grid-auto-flow: column;
}
.case-box img{
  margin-top: .4em;
}
.case-box p{
  margin-bottom: 0;
}
.case02{
  margin-top: 4.2em;
}

.together-box{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: flex-start;
  margin: 2em 0;
  justify-content: center;
}
.pad-box{
  background: #4eb2be;
  border-radius: 20px;
  color: #fff;
  padding: 25px 10px 40px;
  font-weight: 700;
  border-bottom: 4px solid #47a0ab;
  border-top: 2px solid #93d6de;
  position: relative;
  max-width: 380px;
  margin: auto;
}
.pad-box::after {
  content: '';
  position: absolute;
  bottom: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 18px;
  border-radius: 30px;
  display: inline-block;
  border: 3px solid #a3dbe1;
}
.pad-box-inner{
  border: 4px solid #2f3434;
  padding: 15px;
  border-radius: 4px;
  background: #525043;
  line-height: 1.75;
}
.pad-head:not(:root){
  text-align: center;
}
.pad-box ul {
  padding-left: 20px;
}

.summary-box{
  border: 2px solid #f08300;
  background: #fff;
  position: relative;
  padding: 7px 120px 7px 20px;
  display: flex;
  justify-content: center;
  margin-top: 3.4em;
}
.summary-box p{
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  color: #f08301;
  word-break: break-all;
  line-height: 1.7;
}
.summary-icon{
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 100px;
}
.summary-box .p-small{
  font-size: 85%;
}
.summary-box p span {
  display: inline-block;
}

span[class$="-cl"]{
  text-shadow: 1px 1px 0px #fff,
    -1px 1px 0px #fff,
    1px -1px 0px #fff,
    -1px -1px 0px #fff,
    1px 0px 0px #fff,
    0px 1px 0px #fff,
    -1px 0px 0px #fff,
    0px -1px 0px #fff;
  font-weight: 700;
  margin: 0 2px;
  }
.red-cl{
  color: #d80045;
}
.blue-cl{
  color: #50a5e8;
}

a[href^="#modal-id"]:not(:root), .link-bold:not(:root), .comment a[href^="vol"]:not(:root) {
  color: #4eb2be;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.link-bold:hover:not(:root) {
  text-decoration: none;
}
.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: 3em;
}
.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: 6px;
}
.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;
  margin-top: 12px;
  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;
  text-align: center;
  font-weight: 400;
}


.footer-update{
  margin-top: 4em;
}
.footer-update .footer-update-list{
  list-style: none;
  display: grid;
  padding: 0;
  margin: 0;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: flex-start;
}
.footer-update a{
  transition: all .25s;
  background: #333;
}
.footer-update a{
  background: #fff;
  display: inline-block;
  border-radius: 10px;
}
.footer-update a img{
  transition: all .25s;
  width: 100%;
}
.footer-update .visit a img, .footer-update a:hover img{
  opacity: .7;
  transition: all .25s;
}

.profile{
  border: 1px solid #4eb2be;
  padding: 20px;
  background: #fefbe5;
  margin-top: 2em;
}
.profile .ttl_profile{
  font-weight: 700;
  color: #4eb2be;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 16px;
}
.profile dl {
  margin-bottom: 0;
}
.profile dt {
  margin-bottom: 4px;
}
.profile dd{
  font-size: 15px;
}

@media (min-width: 641px){
  .case-box .visible-sp{
    display: none !important;
  }
}

@media (max-width: 767px){
.contents-box{
  padding: 20px 15px;
}
.contents-box::before{
  width: 70px;
  left: -10px;
}
.contents-box .contents-list{
  margin-left: 45px;
  font-size: 14px;
  line-height: 1.75;
  justify-content: flex-start;
}

.case-box{
  padding: 16px;
  display: block;
}
.case-box img{
  float: left;
  margin-right: 15px;
}

.summary-box{
  padding: 7px 108px 7px 15px;
  margin-top: 8%;
}
.summary-box p{
  font-size: 18px;
}
.summary-icon{
  width: 90px;
}

.chat-box {
  display: block;
}

.chat-box img {
  float: left;
  margin: 0 16px 0 0;
}

.footer-update .footer-update-list {
  grid-template-columns: 1fr 1fr 1fr;
}
}
@media (max-width: 640px) {
  .together-box {
    grid-template-columns: auto;
  }
.main section[id^="chapter"] {
  margin-top: 2.6em;
}
section[id^="chapter"] .head2{
  margin-bottom: 0;
}
section[id^="chapter"] .comment:not(:root){
  margin-bottom: 0;
}
#chapter02 .head2{
  order: -2;
}
#chapter02 p:first-of-type{
  order: -1;
}
.main section[id^="chapter"] .case-box:not(:first-of-type){
  margin-top: 3.2em;
}
.literature:not(:root){
  margin-top: 2.5em;
}
.next-page{
  margin-top: 2em;
}
.footer-update{
  margin-top: 3em;
}

.case-box .hidden-sp{
  display: none !important;
}
}
@media (max-width: 460px) {
  .footer-update .footer-update-list {
    grid-template-columns: 1fr 1fr;
  }
}

.nextTime-txt{
  margin-top: 1em;
  font-weight: 500;
}

.literature{
  margin-top: 3.6em;
}
.literature-head{
  font-weight: 700;
  margin-bottom: .6em;
  display: block;
}
.literature-list{
  line-height: 1.7;
  padding-left: 0;
  list-style: none;
  counter-reset: number;
  font-size: 14px;
}
.literature-list li{
  text-indent: -2em;
  padding-left: 2em;
  word-break: break-all;
}
.literature-list li::before {
  counter-increment: number;
  content: counter(number)'）';
}

.pan_navi{
  margin-top: 3em;
  padding-left: 20px;
}

.fig-right, .fig-right-small{
  width: 100%;
  margin: 1.5em auto;
}
.table-right{
  margin: 0;
}
.table-right .logic-table [data-label="label01"]{
  text-align: left;
}
.fig-center{
  margin: 1.5em auto;
  width: 100%;
}
[class^="fig-"] img{
  margin: auto;
}
.clear{
  clear:both;
}
figcaption.contents-caption{
  font-size: 14px;
  line-height: 1.5;
  margin-top: 1em;
  display: flex;
  justify-content: center;
  color: #4eb2be;
  font-weight: 700;
}
.modal-body figure{
  display: grid;
  justify-content: center;
}

.clear{
  clear: both;
}
@media (min-width:641px){
.fig-right{
  float: right;
  width: 47%;
  margin: 15px 0 15px 22px;
}
.table-right {
  margin: 0 0 15px 22px;
}
.fig-center {
  margin: 2.5em auto;
}
.fig1-1-1{
  width: 27%;
}
.fig1-1-2{
  width: 62%;
}
.fig1-1-3{
  width: 42%;
}
.fig1-2-6{
  width: 50%;
}
.fig2-1-2{
  width: 80%;
}
.fig2-2-1{
  width: 58%;
}
.fig3-1-3{
  width: 54%;
}
.fig3-1-4{
  width: 40%;
}
.fig3-1-5{
  width: 65%;
}
.fig3-1-6{
  width: 48%;
}
.fig60per{
  width: 60%;
}
.fig94per{
  width: 94%;
}
.fig4-1-2{
  gap: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}
}
@media (max-width: 640px){
  .fig1-1-1{
    width: 60%;
  }
  .fig4-1-2 {
    margin: 2em 0;
  }
  .order-box {
    display: flex;
    flex-direction: column;
  }
  .order-box [class^="order"]:last-of-type{
    margin-bottom: 0;
  }
  .mb0:not(:root){
    margin-bottom: 0;
  }
  .mt0:not(:root){
    margin-top: 0;
  }
}

.order0{
  order: 0;
}
.order1{
  order: 1;
}
.order2{
  order: 2;
}
.order3{
  order: 3;
}
.order4{
  order: 4;
}
.order5{
  order: 5;
}
.order6{
  order: 6;
}
.order7{
  order: 7;
}
.order8{
  order: 8;
}
.order9{
  order: 9;
}
.order10{
  order: 10;
}
.order11{
  order: 11;
}
.order12{
  order: 12;
}
.order13{
  order: 13;
}
.order14{
  order: 14;
}
.order15{
  order: 15;
}
.order16{
  order: 16;
}

/* index.html
----------------------------*/
.logictree-title-index{
  margin-top: 0;
  margin-left: -18px;
  margin-right: -18px;
  background: #fff;
}
.logictree-title-index img{
  width: 97%;
  max-width: none;
  margin-left: 5px px;
}

.intro-box{
  max-width: 680px;
  margin: 15px auto 60px;
}
.intro-box p{
  margin: 0;
  margin-top: 6px;
}

.charactor-head{
  color: #4fb2be;
  font-size: max(20px, min(3vw, 24px));
  font-weight: 500;
  font-family: var(--font-rounded);
  margin-top: 1.6em;
}
.charactor-box{
  display: flex;
  justify-content: space-around;
  margin-top: 1.5em;
}
.charactor-item:not(:last-child){
  margin-right: 10px;
}
.charactor-name{
  text-align: center;
  font-weight: 500;
  font-family: var(--font-rounded);
  font-size: max(14px, min(3vw,20px));
  line-height: 1.4;
  text-decoration: underline;
  color: #428bca;
}
.charactor-item .tips:hover .charactor-name {
  text-decoration: none;
  color: #316797;
}
.resident-cl{
  color: #f08300;
}
.certifiedDr-cl{
  color: #ea5f7e;
}
.instructor-cl{
  color: #2b6ead;
}

.toArticle:not(:first-of-type){
  margin-top: 16px;
  display: block;
}
.toArticle .logictree-title{
  transition: all .3s;
}
.toArticle:hover{
  text-decoration: none;
}
.toArticle:hover .logictree-title{
  background: #4296a1;
}
.toArticle .title-text{
  font-size: max(18px, min(4vw,30px));
}
.logictree-title img.hidden-xs {
  display: block !important;
}
.clamp{
  display: inline-block;
}

@media (max-width: 767px){
  .logictree-title{
    padding: 10px;
    text-align: left;
    grid-template-columns: 95px 1fr;
    min-height: auto;
    margin-bottom: 1px;
    grid-auto-flow: column;
  }
  .title-num{
    margin: 0px auto 0px;
    width: 68px;
    height: 68px;
    line-height: 65px;
    font-size: 14px;
  }
  .logictree-title img{
    max-height: 85px;
  }
  .logictree-title .icon04{
    max-height: initial;
  }
  .logictree-title.new::after{
    width: 36px;
    top: -7px;
  }
}
@media (max-width: 540px) {
  .logictree-title {
    grid-auto-flow: inherit;
    grid-template-columns: 68px 1fr;
    gap: 10px;
  }
  .logictree-title img.hidden-xs {
    display: none !important;
  }
}


/* 関連書籍
-------------------------------*/
.series-box{
  margin-top: 4em;
  border: #65b4bd 2px solid;
  font-weight: bold;
  border-radius: 5px;
  background: #fefbe5;
}
.series-container{
  position: relative;
}
.series-container::before {
  content: attr(data-text)"";
  position: absolute;
  top: 0;
  left: 0;
  background: #65b4bd;
  padding: 5px 10px;
  font-size: 1.2rem;
  font-weight: 400;
  border-radius: 0 0 5px;
  color: #fff;
  width: 250px;
  text-align: center;
}
.series-container:not(:last-of-type) {
  border-bottom: #65b4bd 1px dashed;
}
.series-inner {
  padding: 60px 20px 30px;
}
.series-container a:not(:root) {
  color: #333;
  text-decoration: underline;
}
.series-container a:hover{
  text-decoration: none;
}
.series-container a
.special .series-inner {
  display: flex;
  justify-content: center;
}
.special .series-inner a{
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.special .series-inner a img{
  width: 110px;
}
.books .series-inner {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, 120px);
  gap: 25px;
  padding-top: 60px;
}
.books .series-inner.index-inner {
  display: flex;
  flex-wrap: nowrap;
}
.books .series-inner.index-inner a {
  width: 120px;
}
.books .series-inner img, .special .series-inner img {
  border: 1px solid #75b6bc;
  transition: all .3s;
}
.books .series-inner p {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 0;
}
.books .series-inner a:not(:root) {
  text-decoration: none;
  transition: all .3s;
}
.books .series-inner a:hover img,
.special .series-inner a:hover img{
  transform: translate(-5px, -5px);
  box-shadow: 5px 5px #a3d2d5;
}

.index-box .series-container::before{
  width: 290px;
}
.index-box .series-inner:first-child a{
  display: grid;
  grid-template-columns: 42% 1fr;
}
.series-index-inner{
  padding: 60px 20px 0;
  font-size: 14px;
}
.series-index-inner .series-inner {
  padding-top: 0;
  display: flex;
}

.series-index-inner p{
  display: grid;
  justify-content: center;
  line-height: 1.75;
}

.series-inner>div{
  display: inline-block;
}

.index-box .seriesG-logo img {
  border: none;
  width: 160px;
}
.seriesG-books:not(:root){
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
}
.index-box .seriesG-books a{
  display: inline-block;
}
.index-box .seriesG-books img{
  width: 120px;
}

.index-box .special .series-inner a img{
  width: auto;
  border: none;
}

@media (max-width: 640px){
  .series-box {
    margin-top: 3em;
  }
  .series-inner{
    padding: 60px 15px 30px;
  }
  .books .series-inner {
  grid-template-columns: repeat(2, 120px);
  gap: 20px;
}
  .special .series-inner {
    font-size: 14px;
  }
  .special .series-inner a{
    gap: 15px;
  }
  .special .series-inner a img{
    width: 100px;
  }

  .index-box .series-inner:first-child a{
    grid-template-columns: auto;
  }
  .index-box .series-inner:first-child a img{
    max-width: 350px;
    margin: auto;
  }
  .series-index-inner p {
    text-align: left;
  }
  .index-box .series-inner:nth-child(2n){
    flex-flow: wrap;
  }
}
@media (max-width: 460px) {
  .index-box .series-inner:first-child a img{
    max-width: 80%;
  }
}
@media (max-width: 320px) {
  .index-box .series-container::before {
    width: 240px;
    line-height: 1.4;
  }
}
