/* <system section="theme" selected="short"> */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');
/* </system> */

/*** The new CSS reset - version 1.11.1 (last updated 24.10.2023) ***/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg*, symbol*)) {
    all: unset;
    display: revert
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none
}

a,
button {
    cursor: revert
}

ol,
ul,
menu,
summary {
    list-style: none
}

img {
    max-inline-size: 100%;
    max-block-size: 100%
}

table {
    border-collapse: collapse
}

input,
textarea {
    -webkit-user-select: auto
}

textarea {
    white-space: revert
}

meter {
    -webkit-appearance: revert;
    appearance: revert
}

:where(pre) {
    all: revert;
    box-sizing: border-box
}

::placeholder {
    color: unset
}

:where([hidden]) {
    display: none
}

:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto
}

:where([draggable="true"]) {
    -webkit-user-drag: element
}

:where(dialog:modal) {
    all: revert;
    box-sizing: border-box
}


/**/
html {
    font-size: 16px;
    line-height: 1;
}

body {
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

a:link,
a:visited {
    color: #222;
    text-decoration: none;
}

a:hover,
a:active {
    text-decoration: underline;
}


strong,
b,
bold,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;

}

input[type="text"] {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #999;
    outline: none;
}

input[type="text"]:focus {
    border: 1px solid rgb(141, 200, 255);
    box-shadow: 0 0 10px rgba(141, 200, 255, 0.8)
}

input[type="submit"],
button {
    border-radius: 4px;
    background: rgb(88, 175, 255);
    color: #fff;
    border: 1px solid rgb(88, 175, 255);
    ;
    padding: 4px 20px;
}


/* header */
#blog-title {
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/c/cohamucohamu/20241205/20241205225343.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0 20px;
}

#blog-title-inner {
    height: 300px;
    display: grid;
    place-items: center start;
}

#title a {
    display: block;
    width: calc(476px * 0.5);
    height: calc(157px* 0.5);
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/c/cohamucohamu/20241205/20241205230129.png) no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    text-indent: -200rem;
    overflow: hidden;
}

#blog-description {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #222;
    color: #fff;
}

/* slider */
.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

.mainSwiper .swiper-pagination-bullet {
    background: #aaa;
    opacity: 1;
}

.mainSwiper .swiper-pagination-bullet-active {
    background: #1c77ff;
}


.mainSwiper .swiper-slide {
    display: block;
    width: 100%;
    max-width: 1000px;
}

.mainSwiper .slide-item {
    display: grid;
    height: 50vw;
    max-height: 500px;
    grid-template-areas:
        "slideImg slideText";
    grid-template-columns: 500px 1fr;
    background-size: contain !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
}

.mainSwiper .slide-img {
    grid-area: slideImg;
}

.mainSwiper .slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.mainSwiper .slide-text {
    grid-area: slideText;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 20px;
    display: grid;
    place-content: center;
}

.mainSwiper .slide-text-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.mainSwiper .slide-text-info {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: 0.8rem;
}


.mainSwiper .slide-text-link {
    text-align: right;
    margin-top: 20px;
}

.mainSwiper .slide-text-link a {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 30px;
    border-radius: 100px;
    transition: 0.4s background;
}

.mainSwiper .slide-text-link a:hover {
    background: #ff769f;
    border: 1px solid #ff769f;
    color: #fff;

}

/* global nav */
.globalNav-Cat {
    background: #e9ebee;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;

}

.globalNav-Cat h3 {
    font-weight: 700;
    font-size: 1rem;
    background: #ff769f;
    color: #fff;
    height: 100%;
    padding: 20px 10px;
    display: grid;
    place-items: center;
}

.globalNav-Cat ul {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    font-size: 0.8rem;
}

.globalNav-Cat ul li {
    flex: 0 0 auto;
    margin-left: 12px;
}

.globalNav-Cat ul li:nth-child(n + 20) {
    display: none;
}


.globalNav-Cat ul li a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.4s background;
}

.globalNav-Cat ul li a:hover {
    background: #ff769f;
    color: #fff;
}


/* contents */
#content-inner {
    display: grid;
    grid-template-areas:
        "side main";
    grid-template-columns: 250px 1fr;
    padding-top: 30px;
}

/* main */
#wrapper {
    grid-area: main;
    padding: 0 20px;
}

.archive-entries {
    display: flex;
    flex-wrap: wrap;
}

.page-index .archive-entries:before {
    content: 'おすすめ同人誌レビュー';
    display: block;
    text-align: center;
    flex: 1 1 100%;
    font-size: 1.4rem;
    font-weight: 700;
    border-top: 4px solid #ff769f;
    border-bottom: 4px solid #ff769f;
    padding: 20px 0;
    margin-bottom: 20px;
    color: #ff769f;

}

#main-inner .pager {
    display: flex;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

#main-inner .pager>span {
    flex: 1 0 auto;
    margin-top: 10px;
}

#main-inner .pager-next {
    text-align: right;
}

/* 個別 */
.page-entry .breadcrumb {
    margin-bottom: 0;
}

.breadcrumb,
.breadcrumb a {
    font-size: 0.8rem;
    padding: 10px;
    color: #999;
}

.page-archive .archive-entry {
    overflow: hidden;
    gap: 10px 0;
    flex: 0 0 25%;
    padding: 16px;
    position: relative;
    display: grid;
    transition: 0.4s background;
    grid-template-rows: repeat(4, min-content);
    grid-template-areas:
        "archiveSide"
        "archiveTitle"
        "archiveCat"
        "archiveDesc";
}

.page-archive .archive-entry .entry-title {
    font-size: 1rem;
}

.page-archive .archive-entry:nth-of-type(-n+2) .entry-title {
    font-size: 1.2rem;
}

.page-archive .archive-entry:nth-of-type(-n+2) {
    gap: 10px;
    flex: 1 1 50%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, auto) 1fr;
    grid-template-areas:
        "archiveSide archiveTitle"
        "archiveSide archiveCat"
        "archiveSide archiveDesc";
}

.archive-entry {
    transition: 0.4s background;
}

.archive-entry:hover {
    background: #ffe7ec;
}




.entry-thumb-link {
    grid-area: archiveSide;
}

.page-archive .archive-entry:nth-of-type(-n+2) .entry-thumb-link {
    height: auto;
}

.page-archive .entry-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center center;
}

.entry-thumb-link:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.archive-entry-header {
    grid-area: archiveTitle;
}

.archive-date {
    display: none;
}

.categories {
    grid-area: archiveCat;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 6px;
    align-items: flex-start;
}

.hatena-module-category .hatena-urllist li a,
.archive-category-link {
    flex: 0 0 auto;
    display: inline-block;
    font-size: 0.6rem;
    padding: 4px 10px;
    background: #ddd;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;

}

.archive-category-link:nth-of-type(n+4) {
    display: none;
}

.archive-entry-body {
    grid-area: archiveDesc;
}

.entry-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.8rem;
    line-height: 1.2;
}

.page-archive .archive-entry:nth-of-type(-n+2) .entry-description {
    -webkit-line-clamp: 5;
}

/* すべてのカテゴリー */
.link-allCat {
    margin-top: 20px;
    padding: 20px;
    background: #e9ebee;
}

.link-allCat h3 {
    margin-bottom: 10px;
    color: #5b9cff;
}

.link-allCat ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.link-allCat ul li {
    flex: 0 1 auto;
}


/* sidebar */
#box2 {
    grid-area: side;
    padding: 0 20px;

}

.hatena-module+.hatena-module {
    margin-top: 30px;
}

.hatena-module-category .hatena-urllist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
}

.hatena-module-category .hatena-urllist li {
    flex: 0 0 auto;
}

.hatena-module-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.hatena-module-search-box .search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.search-module-input {
    width: 100%;
}

.hatena-module-category,
.hatena-module-entries-access-ranking {
    display: none;
}

#box2 .hatena-module-recent-entries li {
    font-size: 0.8rem;
}

#box2 .hatena-module-recent-entries li+li {
    margin-top: 10px;
}


/* entry page */
.page-entry .entry-content {
    margin-top: 10px;
}

.page-entry .entry-content h2:not(:first-child),
.page-entry .entry-content h3:not(:first-child),
.page-entry .entry-content h4:not(:first-child),
.page-entry .entry-content h5:not(:first-child),
.page-entry .entry-content h6:not(:first-child) {
    margin-top: 40px;
}

.page-entry .entry-content h2 {
    font-size: 1.4rem;
    border-left: 4px solid #ff769f;
    padding-left: 20px;
    margin-bottom: 10px;
}

.page-entry .entry-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-entry .entry-content h3:before {
    content: '';
    margin-right: 10px;
    display: block;
    width: 20px;
    height: 10px;
    border-left: 4px solid #ff769f;
    border-bottom: 4px solid #ff769f;
    transform: rotate(-45deg);
}

.page-entry .entry-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.page-entry .entry-content h5 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.page-entry .entry-content h6 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.page-entry .entry-content strong:has(a[href*="www.dlsite"]) a {
    display: block;


    background-image: linear-gradient(135deg, #FEB692 0%, #EA5455 50%, #EA5455 50%, #FEB692 100%);
    background-size: 200% auto;
    border: 1px solid #FEB692;
    color: #fff;
    text-align: center;
    font-weight: 500;
    padding: 10px 20px;
    transition: 0.4s background-size, 0.4s box-shadow;
    margin: 30px auto;
    border-radius: 4px;
    max-width: 600px;

}

.page-entry .entry-content strong:has(a[href*="www.dlsite"]) a:hover {
    background-size: 100% auto;
    box-shadow: 0 0 10px #EA5455;
}

.page-entry .entry-content strong:has(a[href*="www.dlsite"]) a strong {
    font-weight: 700;
    font-size: 1.1rem;
}

.page-entry .entry-content strong:has(img[src*="img.dlsite"]) {
    display: block;
    text-align: center;
    margin: auto;
    max-width: 800px;
}

.page-entry .entry-content strong:has(img[src*="img.dlsite"]) img {
    max-width: 100%;
    height: auto;
}

.page-entry .comment-box {
    background: #eee;
    padding: 14px;
    text-align: right;
}

.entry-comment {
    position: relative;
    background: #fff;
    padding: 14px;
    display: grid;
    grid-template-areas:
        "commentBody commentBody"
        "commentName commentTime"
    ;
    grid-template-rows: repeat(2, min-content);
    grid-template-columns: 1fr min-content;

}

.comment-content {
    grid-area: commentBody;
    margin-bottom: 10px;
}

.comment-user-name {
    grid-area: commentName;
    white-space: nowrap;
}

.comment-metadata {
    grid-area: commentTime;
    white-space: nowrap;
}

.comment-metadata time {
    top: 2px;
    position: relative;
}

.comment-user-name a,
.comment-user-name,
.comment-metadata {
    font-size: 0.8rem;
    color: #999;
}

.entry-comment+.entry-comment {
    margin-top: 20px;

}















.page-entry .comment-box .comment {
    text-align: left;
}

.page-entry .comment-box .leave-comment-title {
    display: inline-block;
    padding: 10px 20px;
    background: #ff769f;
    color: #fff;
    margin-left: auto;
    margin-top: 20px;
}

.entry-footer-section {
    text-align: right;
}

.entry-footer-section time:before {
    content: '最終更新日：'
}

.entry-footer-section time {
    color: #aaa;
    font-size: 0.8rem;
}

.entry-footer-section .author {
    display: none;
}

.entry-footer .related-entries {
    display: flex;
    flex-wrap: wrap;
}

.entry-footer .related-entries>li {
    flex: 0 0 250px;
}

.entry-footer .related-entries-item-inner {
    transition: 0.4s;
    position: relative;
    padding: 10px;
}

.entry-footer .related-entries-item-inner:hover {
    background: #ffe7ec;
}

.entry-footer .related-entries-image-link:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.entry-footer .related-entries-title-link {
    font-weight: 700;
    font-size: 1rem;
}

.entry-footer .related-entries-entry-body {
    font-size: 0.8rem;
}

.page-entry .entry-date {
    display: none;
}

.page-entry .entry-categories {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 10px 0 0;
}

.page-entry .entry-categories:before {
    content: 'カテゴリー：';
}

.page-entry .entry-categories a {
    display: inline-block;
    background: #eee;
    border-radius: 4px;
    padding: 4px 10px;

}

.page-entry .entry-title {
    padding: 20px 10px;
    border-top: 4px solid #ff769f;
    background: #e9ebee;
}

.page-entry .pager {
    display: flex;
    align-items: center;
    margin-top: 30px;
    gap: 0 10px;
}

.page-entry .pager span {
    padding: 10px;
}

.page-entry .pager>span {
    padding: 0;
    flex: 1 1 50%;
}


.page-entry .pager a {
    display: inline-block;
    background: #eee;
    padding: 10px;
    border-radius: 4px;
}

.page-entry .pager .pager-next a,
.page-entry .pager .pager-prev a {
    display: flex;
    align-items: center;

}

.page-entry .pager .pager-next a {
    justify-content: end;
}


/* アーカイブ */
.page-archive .archive-heading {
    border-left: 4px solid #ff3e3e;
    padding-left: 20px;
}

.page-archive .archive-heading:before {
    content: 'カテゴリー：'
}

.page-archive .archive-heading:after {
    content: 'の同人誌一覧'
}

/* 検索結果 */
.search-result {
    margin-bottom: 10px;
}

.search-result form {
    display: none;
}


.copy {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}



.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.8);
    transition: 0.4s background;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: grid;
    place-items: center;

}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);

}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-top: 4px solid #ff769f;
    border-right: 4px solid #ff769f;
    position: relative;
}

.swiper-button-next:after {
    rotate: 45deg;
    left: -3px
}

.swiper-button-prev:after {
    rotate: -135deg;
    right: -3px;
}


/*広告*/
.page-archive .archive-entry.ad {
    flex: 0 0 100%;
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.entry-ad {
    padding: 20px 0;
    text-align: center;
    width: 300px;
    margin: auto;
}

.adsbygoogle {
    text-align: center;
}


.entry-ad,
#box2,
.entry-footer-modules {
    overflow: hidden;
}

/* スマホ */
@media (min-width: 1px) and (max-width: 1300px) {
    .page-archive .archive-entry:nth-of-type(-n+2) {
        flex: 1 1 100%;
    }

    .page-archive .archive-entry {
        flex: 0 0 33.33%
    }
}

@media (min-width: 1px) and (max-width: 992px) {
    .mainSwiper .slide-item {
        grid-template-columns: 1fr 1fr;
    }

    .page-archive .archive-entry:nth-of-type(-n+2) {
        flex: 1 1 100%;
    }

    .page-archive .archive-entry {
        flex: 0 0 50%;
    }

    .entry-footer .related-entries>li {
        flex: 0 0 50%;
    }

    .globalNav-Cat h3 {
        padding: 10px;
    }
}

@media (min-width: 1px) and (max-width: 576px) {
    #blog-description {
        font-size: 3.2vw;
    }

    #blog-title-inner {
        height: 170px;

    }

    #title a {
        margin: auto;
        width: calc(476px * 0.3);
        height: calc(157px* 0.3);
        position: relative;
        top: 3.2vw;
    }


    .mainSwiper .swiper-slide {
        width: 100%;
    }

    .mainSwiper .slide-item {
        height: auto;
        max-height: none;
        grid-template-areas:
            "slideImg"
            "slideText";
        grid-template-columns: 1fr;
        grid-template-rows: 100vw 50vw;
        background-position: center bottom !important
    }

    .mainSwiper .slide-text {
        margin-top: -100px;
    }

    .mainSwiper .slide-text-title {
        font-size: 1rem;
    }




    #content-inner {
        grid-template-areas: "main"
            "side";
        grid-template-columns: 1fr;
    }

    .globalNav-Cat {
        grid-template-columns: 1fr;
    }

    .globalNav-Cat ul {
        overflow: auto;
        flex-wrap: nowrap;
    }


    .page-archive .archive-entry:nth-of-type(-n+2) {
        grid-template-columns: 1fr;

        grid-template-areas:
            "archiveSide "
            "archiveTitle"
            "archiveCat"
            "archiveDesc";
    }

    .page-archive .archive-entry {
        flex: 0 0 50%;
        padding: 10px;
    }

    #box2 {
        margin-top: 40px;
    }

    .page-entry .pager {
        flex-wrap: wrap;
    }

    #main-inner .pager>span {
        flex: 1 1 100%;

    }

    .page-entry .pager>span+span {
        margin-top: 10px;
    }

    .page-entry .comment-box .leave-comment-title {
        width: 100%;
        text-align: center;
    }

    .entry-footer .related-entries>li {
        flex: 0 0 50%;
    }

    .hatena-module-custom-dlbanner {
        display: none;
    }


    .page-archive .archive-entry .entry-title {
        font-size: 0.9rem;
    }

    .page-archive .archive-entry:nth-of-type(-n+2) .entry-title {
        font-size: 1rem;
    }



}