main .entry .ct {
  color: #fff;
  background: #6AC1D6;
}
main .entry .ct.news {
  background: #CB4E00;
}
main .entry .ct.event {
  background: #F49E29;
}

@media (min-width: 835px) {
  body.archives main .recent .inner,
  body.archives main .chapter .inner,
  body.tax main .recent .inner,
  body.tax main .chapter .inner {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
  }
  body.archives main .recent .entries,
  body.archives main .chapter .entries,
  body.tax main .recent .entries,
  body.tax main .chapter .entries {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
  }
  body.archives main .recent .entries .entry,
  body.archives main .chapter .entries .entry,
  body.tax main .recent .entries .entry,
  body.tax main .chapter .entries .entry {
    width: 31%;
  }
  body.archives main .recent .entries .entry:not(:nth-of-type(3n)),
  body.archives main .chapter .entries .entry:not(:nth-of-type(3n)),
  body.tax main .recent .entries .entry:not(:nth-of-type(3n)),
  body.tax main .chapter .entries .entry:not(:nth-of-type(3n)) {
    margin-right: 3.5%;
  }
  body.archives main .recent .entries .entry header,
  body.archives main .chapter .entries .entry header,
  body.tax main .recent .entries .entry header,
  body.tax main .chapter .entries .entry header {
    position: relative;
  }
  body.archives main .recent .entries .entry header figure,
  body.archives main .chapter .entries .entry header figure,
  body.tax main .recent .entries .entry header figure,
  body.tax main .chapter .entries .entry header figure {
    border-radius: 10px;
    overflow: hidden;
  }
  body.archives main .recent .entries .entry header .ct,
  body.archives main .chapter .entries .entry header .ct,
  body.tax main .recent .entries .entry header .ct,
  body.tax main .chapter .entries .entry header .ct {
    border-top-right-radius: 10px;
    padding: 1rem 2rem;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  body.archives main .recent .entries .entry .date,
  body.archives main .chapter .entries .entry .date,
  body.tax main .recent .entries .entry .date,
  body.tax main .chapter .entries .entry .date {
    margin-top: 25px;
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    font-size: 1.3rem;
    color: #6AC1D6;
  }
  body.archives main .recent .entries .entry h3,
  body.archives main .chapter .entries .entry h3,
  body.tax main .recent .entries .entry h3,
  body.tax main .chapter .entries .entry h3 {
    margin-top: 5px;
    font-size: 1.5rem;
  }
  body.archives main .recent .entries .entry .note,
  body.archives main .chapter .entries .entry .note,
  body.tax main .recent .entries .entry .note,
  body.tax main .chapter .entries .entry .note {
    margin-top: 15px;
    font-size: 1.3rem;
  }
  body.archives main .recent .entries .entry .note p,
  body.archives main .chapter .entries .entry .note p,
  body.tax main .recent .entries .entry .note p,
  body.tax main .chapter .entries .entry .note p {
    font-size: 1.3rem;
  }
  body.archives main .recent .entries .entry .tags,
  body.archives main .chapter .entries .entry .tags,
  body.tax main .recent .entries .entry .tags,
  body.tax main .chapter .entries .entry .tags {
    margin-top: 15px;
  }
  body.archives main .recent .entries .entry .tags a,
  body.archives main .chapter .entries .entry .tags a,
  body.tax main .recent .entries .entry .tags a,
  body.tax main .chapter .entries .entry .tags a {
    display: inline-block;
    font-size: 1.2rem;
    color: #1E346F;
  }
  body.archives main .recent .entries .entry .tags a:not(:last-of-type),
  body.archives main .chapter .entries .entry .tags a:not(:last-of-type),
  body.tax main .recent .entries .entry .tags a:not(:last-of-type),
  body.tax main .chapter .entries .entry .tags a:not(:last-of-type) {
    margin-right: 1em;
  }
  body.archives main .recent .entries .entry .tags a::before,
  body.archives main .chapter .entries .entry .tags a::before,
  body.tax main .recent .entries .entry .tags a::before,
  body.tax main .chapter .entries .entry .tags a::before {
    content: "#";
  }
  body.archives main .pagenav,
  body.tax main .pagenav {
    margin-top: 80px;
  }
  body.archives main .pagenav ul,
  body.tax main .pagenav ul {
    text-align: center;
  }
  body.archives main .pagenav ul li,
  body.tax main .pagenav ul li {
    display: inline-block;
    margin: 0 0.5em;
  }
  body.archives main .pagenav ul li a,
  body.archives main .pagenav ul li span,
  body.tax main .pagenav ul li a,
  body.tax main .pagenav ul li span {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    line-height: 40px;
    font-weight: bold;
  }
  body.archives main .pagenav ul li a,
  body.tax main .pagenav ul li a {
    border: 1px solid #6AC1D6;
    color: #6AC1D6;
  }
  body.archives main .pagenav ul li span,
  body.tax main .pagenav ul li span {
    border: 1px solid #6AC1D6;
    background: #6AC1D6;
    color: #fff;
  }
  body#topics.archives main {
    padding-bottom: 0;
  }
  body.archives #pageheader {
    padding-bottom: 140px;
  }
  body.archives main .pickup {
    margin-top: -50px;
    padding-bottom: 80px;
  }
  body.archives main .pickup .entries {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto 0;
  }
  body.archives main .pickup .entries .entry header {
    position: relative;
  }
  body.archives main .pickup .entries .entry header figure {
    border-radius: 10px;
    overflow: hidden;
  }
  body.archives main .pickup .entries .entry header .ct {
    border-top-right-radius: 10px;
    padding: 1rem 2rem;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  body.archives main .pickup .entries .entry .details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 20px;
  }
  body.archives main .pickup .entries .entry .details .date {
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    font-size: 1.5rem;
    font-weight: bold;
    color: #6AC1D6;
  }
  body.archives main .pickup .entries .entry .details h3 {
    border-left: 1px solid #ccc;
    margin-left: 30px;
    padding-left: 30px;
    font-size: 1.8rem;
    line-height: 1;
  }
  body.archives main .recent,
  body.archives main .chapter {
    padding: 80px 0;
  }
  body.archives main .recent:last-of-type,
  body.archives main .chapter:last-of-type {
    padding-bottom: 120px;
  }
  body.archives main .recent {
    background: #fff;
  }
  body.archives main .recent h2 {
    text-align: center;
    margin-bottom: 50px;
  }
  body.archives main .recent h2 > em {
    display: inline-block;
    border-top: 3px solid #6AC1D6;
    font-family: "Poppins", serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    color: #5CBABE;
  }
  body.archives main .recent h2 > span {
    display: block;
    font-weight: bold;
    color: #1E346F;
  }
}
@media (min-width: 835px) and (min-width: 835px) {
  body.archives main .recent h2 > em {
    padding-top: 30px;
    font-size: 3rem;
  }
  body.archives main .recent h2 > span {
    margin-top: 20px;
    font-size: 2.4rem;
  }
}
@media (min-width: 835px) and (max-width: 834px) {
  body.archives main .recent h2 > em {
    padding-top: 25px;
    font-size: 2.8rem;
  }
  body.archives main .recent h2 > span {
    margin-top: 15px;
    font-size: 1.6rem;
    line-height: 1.7;
  }
}
@media (min-width: 835px) {
  body.archives main .recent h2 span {
    font-size: 1.8rem;
  }
  body.archives main .chapter:nth-of-type(odd) {
    background: #fff;
  }
  body.archives main .chapter h2 {
    margin-bottom: 50px;
  }
  body.archives main .chapter h2 > em {
    font-family: "Poppins", serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    color: #5CBABE;
  }
  body.archives main .chapter h2 > span {
    line-height: 1;
    color: #1E346F;
  }
}
@media (min-width: 835px) and (min-width: 835px) {
  body.archives main .chapter h2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
    padding-top: 30px;
  }
  body.archives main .chapter h2::before {
    content: "";
    display: block;
    border-bottom: 3px solid #6AC1D6;
    position: absolute;
    left: 0;
    top: 0;
  }
  body.archives main .chapter h2 > em {
    display: block;
    margin-right: 20px;
    font-family: "Poppins", serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    font-size: 2.5rem;
  }
  body.archives main .chapter h2 > span {
    display: block;
    font-size: 1.8rem;
  }
}
@media (min-width: 835px) and (max-width: 834px) {
  body.archives main .chapter h2 > em {
    display: inline-block;
    border-top: 3px solid #6AC1D6;
    padding-top: 20px;
    font-size: 2.8rem;
  }
  body.archives main .chapter h2 > span {
    display: block;
    margin-top: 15px;
    font-size: 1.5rem;
  }
}
@media (min-width: 835px) {
  body.archives main .chapter h2::before {
    width: 18rem;
  }
  body.archives main .chapter .inner > .more a {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 45px;
    border-radius: 22.5em;
    padding: 0 4rem 0 2rem;
    text-align: center;
    font-weight: bold;
    line-height: 45px;
    color: #fff;
    position: relative;
    z-index: 1;
    -webkit-transition: background 0.3s ease-out;
    transition: background 0.3s ease-out;
    -webkit-filter: none;
            filter: none;
    background: #1E346F;
    position: absolute;
    right: 10px;
    top: 0;
  }
}
@media (min-width: 835px) and (max-width: 414px) {
  body.archives main .chapter .inner > .more a {
    max-width: none;
  }
}
@media (min-width: 835px) {
  body.archives main .chapter .inner > .more a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: 1rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  body.archives main .chapter .inner > .more a::after {
    content: "";
    display: block;
    width: 11px;
    height: 9px;
    background: url(/mg/wp-content/themes/japanskill_220613/assets/common/img/arrow.svg) center center/contain no-repeat;
    position: absolute;
    right: 1.7rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    -webkit-filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
            filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
  }
  body.archives main .chapter .inner > .more a:hover {
    opacity: 1;
    background: #5CBABE;
  }
  body.archives main .chapter .inner > .more a:hover::after {
    -webkit-filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
            filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
  }
  body#topics.tax main {
    padding-top: 80px;
  }
  body#topics.tax main .inner {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
  }
  body#topics.tax main .inner h2 {
    text-align: center;
    margin-bottom: 50px;
  }
  body#topics.tax main .inner h2 > em {
    display: inline-block;
    border-top: 3px solid #6AC1D6;
    font-family: "Poppins", serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    color: #5CBABE;
  }
  body#topics.tax main .inner h2 > span {
    display: block;
    font-weight: bold;
    color: #1E346F;
  }
}
@media (min-width: 835px) and (min-width: 835px) {
  body#topics.tax main .inner h2 > em {
    padding-top: 30px;
    font-size: 3rem;
  }
  body#topics.tax main .inner h2 > span {
    margin-top: 20px;
    font-size: 2.4rem;
  }
}
@media (min-width: 835px) and (max-width: 834px) {
  body#topics.tax main .inner h2 > em {
    padding-top: 25px;
    font-size: 2.8rem;
  }
  body#topics.tax main .inner h2 > span {
    margin-top: 15px;
    font-size: 1.6rem;
    line-height: 1.7;
  }
}
@media (min-width: 835px) {
  body#topics.tax main .inner h2 span {
    font-size: 1.8rem;
  }
  body#topics.tax main .inner .entries {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body#topics.tax main .inner .entries .entry:not(:first-of-type):not(:nth-of-type(2)):not(:nth-of-type(3)) {
    margin-top: 50px;
  }
  body#topics.single #pageheader, body#topics.tax #pageheader {
    padding-bottom: 60px;
  }
  body#topics.single #pageheader em, body#topics.tax #pageheader em {
    font-size: 5rem;
  }
  body#topics.single main {
    padding-top: 80px;
    padding-bottom: 0;
  }
  body#topics.single .entry {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 60px;
  }
  body#topics.single .entry h1 {
    font-size: 2.3rem;
  }
  body#topics.single .entry .metainfo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 40px;
  }
  body#topics.single .entry .metainfo li {
    line-height: 1;
  }
  body#topics.single .entry .metainfo li.ct {
    border-radius: 5px;
    margin-right: 15px;
    padding: 5px 10px;
    font-size: 1.2rem;
  }
  body#topics.single .entry .metainfo li.date {
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #999;
  }
  body#topics.single .entry .details {
    margin-top: 80px;
  }
}
@media (min-width: 835px) and (min-width: 835px) {
  body#topics.single .entry .details p {
    line-height: 2.5;
  }
}
@media (min-width: 835px) and (max-width: 414px) {
  body#topics.single .entry .details p {
    line-height: 2.2;
  }
}
@media (min-width: 835px) {
  body#topics.single .entry .details p:not(:last-of-type) {
    margin-bottom: 2em;
  }
  body#topics.single .entry .details p:not(:last-of-type) {
    margin-bottom: 2em;
  }
  body#topics.single .pagenav {
    width: 95%;
    max-width: 1100px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 30px auto 0;
    padding: 30px;
    overflow: hidden;
  }
  body#topics.single .pagenav li {
    width: 45%;
  }
  body#topics.single .pagenav li a {
    display: inline-block;
    position: relative;
  }
  body#topics.single .pagenav li a span {
    display: block;
    margin-bottom: 5px;
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    color: #666;
  }
  body#topics.single .pagenav li a::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
  }
  body#topics.single .pagenav li.prev {
    float: left;
  }
  body#topics.single .pagenav li.prev a {
    padding-left: 25px;
  }
  body#topics.single .pagenav li.prev a::before {
    border-left: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
    left: 0;
  }
  body#topics.single .pagenav li.next {
    text-align: right;
    float: right;
  }
  body#topics.single .pagenav li.next a {
    padding-right: 25px;
  }
  body#topics.single .pagenav li.next a::before {
    border-right: 3px solid #ccc;
    border-top: 3px solid #ccc;
    right: 0;
  }
  body#topics.single .back {
    background: #fff;
    margin-top: 80px;
    padding: 40px 0 100px;
  }
  body#topics.single .back a {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 45px;
    border-radius: 22.5em;
    padding: 0 4rem 0 2rem;
    text-align: center;
    font-weight: bold;
    line-height: 45px;
    color: #fff;
    position: relative;
    z-index: 1;
    -webkit-transition: background 0.3s ease-out;
    transition: background 0.3s ease-out;
    -webkit-filter: none;
            filter: none;
    background: #1E346F;
    margin: 0 auto;
  }
}
@media (min-width: 835px) and (max-width: 414px) {
  body#topics.single .back a {
    max-width: none;
  }
}
@media (min-width: 835px) {
  body#topics.single .back a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: 1rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  body#topics.single .back a::after {
    content: "";
    display: block;
    width: 11px;
    height: 9px;
    background: url(/mg/wp-content/themes/japanskill_220613/assets/common/img/arrow.svg) center center/contain no-repeat;
    position: absolute;
    right: 1.7rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    -webkit-filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
            filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
  }
  body#topics.single .back a:hover {
    opacity: 1;
    background: #5CBABE;
  }
  body#topics.single .back a:hover::after {
    -webkit-filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
            filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
  }
}
@media (max-width: 834px) {
  body#topics:not(.tax) main {
    padding-bottom: 0;
  }
  body.archives #pageheader,
  body.tax #pageheader {
    padding-bottom: 100px;
  }
  body.archives main .pickup,
  body.tax main .pickup {
    margin-top: -50px;
    padding-bottom: 60px;
  }
  body.archives main .pickup .entries,
  body.tax main .pickup .entries {
    width: 90%;
    margin: 0 auto 0;
  }
  body.archives main .pickup .entries .entry header,
  body.tax main .pickup .entries .entry header {
    position: relative;
  }
  body.archives main .pickup .entries .entry header figure,
  body.tax main .pickup .entries .entry header figure {
    border-radius: 10px;
    overflow: hidden;
  }
  body.archives main .pickup .entries .entry header .ct,
  body.tax main .pickup .entries .entry header .ct {
    background: #CB4E00;
    border-top-right-radius: 10px;
    padding: 1rem 2rem;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  body.archives main .pickup .entries .entry .details,
  body.tax main .pickup .entries .entry .details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 20px;
  }
  body.archives main .pickup .entries .entry .details .date,
  body.tax main .pickup .entries .entry .details .date {
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: bold;
    color: #6AC1D6;
  }
  body.archives main .pickup .entries .entry .details h3,
  body.tax main .pickup .entries .entry .details h3 {
    border-left: 1px solid #ccc;
    margin-left: 20px;
    padding-left: 20px;
    font-size: 1.5rem;
    line-height: 1;
  }
  body.archives main .recent,
  body.archives main .chapter,
  body.tax main .recent,
  body.tax main .chapter {
    padding: 60px 0;
  }
  body.archives main .recent .inner,
  body.archives main .chapter .inner,
  body.tax main .recent .inner,
  body.tax main .chapter .inner {
    width: 90%;
    margin: 0 auto;
    position: relative;
  }
  body.archives main .recent .entries .entry:not(:first-of-type),
  body.archives main .chapter .entries .entry:not(:first-of-type),
  body.tax main .recent .entries .entry:not(:first-of-type),
  body.tax main .chapter .entries .entry:not(:first-of-type) {
    margin-top: 50px;
  }
  body.archives main .recent .entries .entry header,
  body.archives main .chapter .entries .entry header,
  body.tax main .recent .entries .entry header,
  body.tax main .chapter .entries .entry header {
    position: relative;
  }
  body.archives main .recent .entries .entry header figure,
  body.archives main .chapter .entries .entry header figure,
  body.tax main .recent .entries .entry header figure,
  body.tax main .chapter .entries .entry header figure {
    border-radius: 10px;
    overflow: hidden;
  }
  body.archives main .recent .entries .entry header .ct,
  body.archives main .chapter .entries .entry header .ct,
  body.tax main .recent .entries .entry header .ct,
  body.tax main .chapter .entries .entry header .ct {
    background: #CB4E00;
    border-top-right-radius: 10px;
    padding: 1rem 2rem;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  body.archives main .recent .entries .entry .date,
  body.archives main .chapter .entries .entry .date,
  body.tax main .recent .entries .entry .date,
  body.tax main .chapter .entries .entry .date {
    margin-top: 25px;
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    font-size: 1.3rem;
    color: #6AC1D6;
  }
  body.archives main .recent .entries .entry h3,
  body.archives main .chapter .entries .entry h3,
  body.tax main .recent .entries .entry h3,
  body.tax main .chapter .entries .entry h3 {
    margin-top: 5px;
    font-size: 1.5rem;
  }
  body.archives main .recent .entries .entry .note,
  body.archives main .chapter .entries .entry .note,
  body.tax main .recent .entries .entry .note,
  body.tax main .chapter .entries .entry .note {
    margin-top: 15px;
    font-size: 1.3rem;
  }
  body.archives main .recent .entries .entry .note p,
  body.archives main .chapter .entries .entry .note p,
  body.tax main .recent .entries .entry .note p,
  body.tax main .chapter .entries .entry .note p {
    font-size: 1.3rem;
  }
  body.archives main .recent .entries .entry .tags,
  body.archives main .chapter .entries .entry .tags,
  body.tax main .recent .entries .entry .tags,
  body.tax main .chapter .entries .entry .tags {
    margin-top: 15px;
  }
  body.archives main .recent .entries .entry .tags a,
  body.archives main .chapter .entries .entry .tags a,
  body.tax main .recent .entries .entry .tags a,
  body.tax main .chapter .entries .entry .tags a {
    display: inline-block;
    font-size: 1.1rem;
    color: #1E346F;
  }
  body.archives main .recent .entries .entry .tags a:not(:last-of-type),
  body.archives main .chapter .entries .entry .tags a:not(:last-of-type),
  body.tax main .recent .entries .entry .tags a:not(:last-of-type),
  body.tax main .chapter .entries .entry .tags a:not(:last-of-type) {
    margin-right: 1em;
  }
  body.archives main .recent .entries .entry .tags a::before,
  body.archives main .chapter .entries .entry .tags a::before,
  body.tax main .recent .entries .entry .tags a::before,
  body.tax main .chapter .entries .entry .tags a::before {
    content: "#";
  }
  body.archives main .recent,
  body.tax main .recent {
    background: #fff;
  }
  body.archives main .recent h2,
  body.tax main .recent h2 {
    text-align: center;
    margin-bottom: 40px;
  }
  body.archives main .recent h2 > em,
  body.tax main .recent h2 > em {
    display: inline-block;
    border-top: 3px solid #6AC1D6;
    font-family: "Poppins", serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    color: #5CBABE;
  }
  body.archives main .recent h2 > span,
  body.tax main .recent h2 > span {
    display: block;
    font-weight: bold;
    color: #1E346F;
  }
}
@media (max-width: 834px) and (min-width: 835px) {
  body.archives main .recent h2 > em,
  body.tax main .recent h2 > em {
    padding-top: 30px;
    font-size: 3rem;
  }
  body.archives main .recent h2 > span,
  body.tax main .recent h2 > span {
    margin-top: 20px;
    font-size: 2.4rem;
  }
}
@media (max-width: 834px) and (max-width: 834px) {
  body.archives main .recent h2 > em,
  body.tax main .recent h2 > em {
    padding-top: 25px;
    font-size: 2.8rem;
  }
  body.archives main .recent h2 > span,
  body.tax main .recent h2 > span {
    margin-top: 15px;
    font-size: 1.6rem;
    line-height: 1.7;
  }
}
@media (max-width: 834px) {
  body.archives main .recent h2 em,
  body.tax main .recent h2 em {
    font-size: 2.2rem;
  }
  body.archives main .recent h2 span,
  body.tax main .recent h2 span {
    margin-top: 10px;
    font-size: 1.5rem;
  }
  body.archives main .chapter:nth-of-type(odd),
  body.tax main .chapter:nth-of-type(odd) {
    background: #fff;
  }
  body.archives main .chapter h2,
  body.tax main .chapter h2 {
    margin-bottom: 50px;
    text-align: center;
  }
  body.archives main .chapter h2 > em,
  body.tax main .chapter h2 > em {
    display: inline-block;
    border-top: 3px solid #6AC1D6;
    font-family: "Poppins", serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    color: #5CBABE;
  }
  body.archives main .chapter h2 > span,
  body.tax main .chapter h2 > span {
    display: block;
    font-weight: bold;
    color: #1E346F;
  }
}
@media (max-width: 834px) and (min-width: 835px) {
  body.archives main .chapter h2 > em,
  body.tax main .chapter h2 > em {
    padding-top: 30px;
    font-size: 3rem;
  }
  body.archives main .chapter h2 > span,
  body.tax main .chapter h2 > span {
    margin-top: 20px;
    font-size: 2.4rem;
  }
}
@media (max-width: 834px) and (max-width: 834px) {
  body.archives main .chapter h2 > em,
  body.tax main .chapter h2 > em {
    padding-top: 25px;
    font-size: 2.8rem;
  }
  body.archives main .chapter h2 > span,
  body.tax main .chapter h2 > span {
    margin-top: 15px;
    font-size: 1.6rem;
    line-height: 1.7;
  }
}
@media (max-width: 834px) {
  body.archives main .chapter h2 em,
  body.tax main .chapter h2 em {
    font-size: 2.2rem;
  }
  body.archives main .chapter h2 span,
  body.tax main .chapter h2 span {
    margin-top: 10px;
    font-size: 1.5rem;
  }
  body.archives main .chapter h2::before,
  body.tax main .chapter h2::before {
    width: 18rem;
  }
  body.archives main .chapter .inner > .more a,
  body.tax main .chapter .inner > .more a {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 45px;
    border-radius: 22.5em;
    padding: 0 4rem 0 2rem;
    text-align: center;
    font-weight: bold;
    line-height: 45px;
    color: #fff;
    position: relative;
    z-index: 1;
    -webkit-transition: background 0.3s ease-out;
    transition: background 0.3s ease-out;
    -webkit-filter: none;
            filter: none;
    background: #1E346F;
    width: 100%;
    max-width: 230px;
    margin: 50px auto 0;
  }
}
@media (max-width: 834px) and (max-width: 414px) {
  body.archives main .chapter .inner > .more a,
  body.tax main .chapter .inner > .more a {
    max-width: none;
  }
}
@media (max-width: 834px) {
  body.archives main .chapter .inner > .more a::before,
  body.tax main .chapter .inner > .more a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: 1rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  body.archives main .chapter .inner > .more a::after,
  body.tax main .chapter .inner > .more a::after {
    content: "";
    display: block;
    width: 11px;
    height: 9px;
    background: url(/mg/wp-content/themes/japanskill_220613/assets/common/img/arrow.svg) center center/contain no-repeat;
    position: absolute;
    right: 1.7rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    -webkit-filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
            filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
  }
  body.archives main .chapter .inner > .more a:hover,
  body.tax main .chapter .inner > .more a:hover {
    opacity: 1;
    background: #5CBABE;
  }
  body.archives main .chapter .inner > .more a:hover::after,
  body.tax main .chapter .inner > .more a:hover::after {
    -webkit-filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
            filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
  }
  body.archives main .pagenav,
  body.tax main .pagenav {
    margin-top: 50px;
  }
  body.archives main .pagenav ul,
  body.tax main .pagenav ul {
    text-align: center;
  }
  body.archives main .pagenav ul li,
  body.tax main .pagenav ul li {
    display: inline-block;
    margin: 0 0.5em;
  }
  body.archives main .pagenav ul li a,
  body.archives main .pagenav ul li span,
  body.tax main .pagenav ul li a,
  body.tax main .pagenav ul li span {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    line-height: 40px;
    font-weight: bold;
  }
  body.archives main .pagenav ul li a,
  body.tax main .pagenav ul li a {
    border: 1px solid #6AC1D6;
    color: #6AC1D6;
  }
  body.archives main .pagenav ul li span,
  body.tax main .pagenav ul li span {
    border: 1px solid #6AC1D6;
    background: #6AC1D6;
    color: #fff;
  }
  body#topics.tax .chapter {
    padding-top: 0;
  }
  body#topics.single main {
    padding-top: 40px;
    padding-bottom: 0;
  }
  body#topics.single #pageheader {
    padding-top: 30px;
    padding-bottom: 50px;
  }
  body#topics.single #pageheader em {
    font-size: 3rem;
  }
  body#topics.single .entry {
    width: 95%;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 40px 5%;
  }
  body#topics.single .entry h1 {
    font-size: 1.8rem;
  }
  body#topics.single .entry .metainfo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 30px;
  }
  body#topics.single .entry .metainfo li {
    line-height: 1;
  }
  body#topics.single .entry .metainfo li.ct {
    border-radius: 5px;
    margin-right: 15px;
    padding: 5px 10px;
    font-size: 1.2rem;
  }
  body#topics.single .entry .metainfo li.date {
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #999;
  }
  body#topics.single .entry .details {
    margin-top: 50px;
  }
}
@media (max-width: 834px) and (min-width: 835px) {
  body#topics.single .entry .details p {
    line-height: 2.5;
  }
}
@media (max-width: 834px) and (max-width: 414px) {
  body#topics.single .entry .details p {
    line-height: 2.2;
  }
}
@media (max-width: 834px) {
  body#topics.single .entry .details p:not(:last-of-type) {
    margin-bottom: 2em;
  }
  body#topics.single .entry .details p:not(:last-of-type) {
    margin-bottom: 3em;
  }
  body#topics.single .pagenav {
    width: 95%;
    max-width: 1100px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 30px auto 0;
    padding: 20px;
    overflow: hidden;
  }
  body#topics.single .pagenav li {
    width: 45%;
  }
  body#topics.single .pagenav li a {
    display: inline-block;
    position: relative;
  }
  body#topics.single .pagenav li a span {
    display: block;
    margin-bottom: 5px;
    font-family: "Roboto", sans-serif;
    line-height: 1;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
    color: #666;
  }
  body#topics.single .pagenav li a::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
  }
  body#topics.single .pagenav li.prev {
    float: left;
  }
  body#topics.single .pagenav li.prev a {
    padding-left: 25px;
  }
  body#topics.single .pagenav li.prev a::before {
    border-left: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
    left: 0;
  }
  body#topics.single .pagenav li.next {
    text-align: right;
    float: right;
  }
  body#topics.single .pagenav li.next a {
    padding-right: 25px;
  }
  body#topics.single .pagenav li.next a::before {
    border-right: 3px solid #ccc;
    border-top: 3px solid #ccc;
    right: 0;
  }
  body#topics.single .back {
    background: #fff;
    margin-top: 60px;
    padding: 40px 5% 80px;
  }
  body#topics.single .back a {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 45px;
    border-radius: 22.5em;
    padding: 0 4rem 0 2rem;
    text-align: center;
    font-weight: bold;
    line-height: 45px;
    color: #fff;
    position: relative;
    z-index: 1;
    -webkit-transition: background 0.3s ease-out;
    transition: background 0.3s ease-out;
    -webkit-filter: none;
            filter: none;
    background: #1E346F;
    margin: 0 auto;
  }
}
@media (max-width: 834px) and (max-width: 414px) {
  body#topics.single .back a {
    max-width: none;
  }
}
@media (max-width: 834px) {
  body#topics.single .back a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: 1rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  body#topics.single .back a::after {
    content: "";
    display: block;
    width: 11px;
    height: 9px;
    background: url(/mg/wp-content/themes/japanskill_220613/assets/common/img/arrow.svg) center center/contain no-repeat;
    position: absolute;
    right: 1.7rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    -webkit-filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
            filter: invert(18%) sepia(38%) saturate(2069%) hue-rotate(200deg) brightness(92%) contrast(97%);
  }
  body#topics.single .back a:hover {
    opacity: 1;
    background: #5CBABE;
  }
  body#topics.single .back a:hover::after {
    -webkit-filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
            filter: invert(91%) sepia(42%) saturate(2100%) hue-rotate(154deg) brightness(76%) contrast(93%);
  }
}