@charset utf-8;
/*
Theme Name: caramel-sp3
Author: caramel-sp.com
Version: 1.0
*/

* { margin:0; padding:0;}
body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, Helvetica, Arial, sans-serif; background:#fff;}
a { text-decoration:none; color:#684b43;}
a img { border:none;}
img { vertical-align:bottom;}
ul, ol, li { list-style:none; margin:0; padding:0;}
p { margin:0; padding:0; -webkit-margin-before:0; -webkit-margin-after:0; -webkit-margin-start:0; -webkit-margin-end:0;}
input[type="button"], input[type="submit"], input[type="text"] { border-radius:0; -webkit-appearance:none;}
:root {
--maincolor:#ff6b9f;
--subcolor:#b06621;
--bgcolor:#fffcf0;
--signfont:'Amatic SC', cursive;
}

#header { background:#dfc1a6; width:100%; height:50px; display:flex; display:-webkit-flex; justify-content:space-between; position:fixed; top:0; z-index:2;}
#header .logo { width:150px; height:50px; flex:0 0 auto: -webkit-flex:0 0 auto; margin-left:10px;}
#header .logo a { display:block; padding:5px 0;}
#header .logo img { width:150px; height:40px;}
#header .menu { flex:0 0 auto;}
.menu-open { display:block; width:40px; height:40px; font-size:40px; line-height:40px; padding:5px 5px; position:absolute; top:0px; right:0px; cursor:pointer; z-index:10;}
.menu-open::before { content:"\e5d2"; font-family:Material Icons; font-size:40px; color:#fff;}
.menu-close { position:absolute; top:calc(50% - 20px); right:calc(75% + 16px); z-index:13}
@media screen and (min-width:800px) {
    .menu-close { right:616px;}
}
.menu-close::before { content:"\e5cd"; font-family:Material Icons; font-size:40px; color:#fff;}
.menu { position:fixed; top:0; right:0; display:none; z-index:11;}
.menu.showing { display:block; width:100%; height:100vh; padding:0;}
.menu-inner { width:75%; max-width:600px; height:100vh; background:#fff0f5; overflow-y:scroll; padding:50px 16px; box-sizing:border-box; position:absolute; top:0; right:0; z-index:13}
.menu-background { display:none; z-index:12;}
.showing .menu-background { display:block; width:100%; height:100vh; background:rgba(0,0,0,0.5); position:fixed; top:0; left:0;}

.search-form { margin-bottom:16px;}
.search-form .form { display:flex; width:100%; height:48px; position:relative;}
.search-form .input { width:100%; border:solid 1px var(--subcolor); line-height:48px; padding-left:40px; box-sizing:border-box;}
.search-form .submit { display:block; width:40px; height:48px; border:none; background:none; line-height:48px; text-align:center; position:absolute; top:0; left:0;}
.search-form .submit::before { content:"\e8b6"; font-family:Material Icons; font-size:24px; color:#666;}
.menu li { padding:8px 0;}
.menu li a { font-size:15px; font-weight:bold;}
.menu .sns { padding:16px 0;}
.menu .sns a.tw::before { content:url(/img/icons/32f/x.svg);}

#main { margin-top:50px; overflow:hidden;}
/* アーカイブ一覧用の <main class="index"> も固定ヘッダーと被らないようにする */
main.index { margin-top:50px; overflow:hidden;}
@media screen and (min-width:960px) {
  #header .logo { width:180px; height:50px; margin-left:30px;}
  #header .logo a { padding:1.5px 0;}
  #header .logo img { width:180px; height:47px;}
  #main { width:calc(100% - 360px); padding:30px; box-sizing:border-box; float:left;}
  #sub { width:360px; float:right; padding:30px; box-sizing:border-box; margin-top:50px;}
  #footer { clear:both; padding-top:30px;}
}

/* 個別作品ページでも PC ではトップページ同様に #sub と2カラム表示 */
@media screen and (min-width:960px) {
  #main.single {
    width:calc(100% - 360px);
    padding:30px;
    box-sizing:border-box;
    float:left;
  }
}

.site-title { margin:10px 10px; font-size:14px; color:var(--maincolor); font-weight:bold;}
.site-description { margin:10px 10px; font-size:13px; color:#666;}
#main section header { padding:10px 10px 25px; text-align:center; background:var(--bgcolor); border-top:solid 1px #dfc1a6; border-bottom:solid 1px #dfc1a6;}
#main section header h1 { color:var(--subcolor); font-weight:bold; font-size:18px; line-height:1.3; margin-top:15px;}
#main section header h2 { color:var(--subcolor); font-weight:bold; font-size:15px; line-height:1.0;}
#main section header .sign { color:var(--subcolor); font-family:var(--signfont); font-size:32px;}
.comic-list { border-top:solid 1px #ddd; margin-bottom:16px;}
.comic-list li { border-bottom:solid 1px #ddd; position:relative;}
.comic-list li a { display:block; overflow:hidden; padding:10px 10px;}
.comic-list li .thumbnail,
.book-list .thumbnail { float:left; width:100px; height:140px; margin-right:10px;}
.comic-list li .thumbnail img,
.book-list .thumbnail img { width:100px; height:140px;  object-fit:contain; background:#efefef;}
.comic-list li .title,
.book-list .title { color:var(--maincolor); font-size:18px; font-weight:bold; line-height:1.3; margin-bottom:3px;}
.comic-list li .author,
.book-list .author { color:var(--subcolor); font-size:13px;}
.comic-list li .author span:last-child::before { content:" / ";}
.comic-list li .author span:last-child:empty::before { content:"";}
.comic-list li .comment { color:#666; font-size:12px; line-height:1.4;}
.comic-list li .genre,
.book-list .genre {
  color:#555;
  font-size:11px;
  line-height:18px;
  display:inline-block;
  padding:0 4px;
}
.comic-list li.tl .genre,
.book-list li.tl .genre { background:#f082ab;}
.comic-list li.bl .genre,
.book-list li.bl .genre { background:#82abf0;}

/* BL / TL ラベル（一覧カード内） */
.book-label {
  display: inline-block;
  font-size: 10px;
  line-height: 1.6;
  padding: 0 4px;
  margin-right: 4px;
  border-radius: 3px;
  color: #fff;
}
.book-label-bl {
  background: #82abf0; /* BL用：青系 */
}
.book-label-tl {
  background: #f082ab; /* TL用：ピンク系 */
}
.comic-list li .date,
.book-list .date { color:#aaa; font-size:11px; line-height:18px;}
.comic-list li .credit { display:inline-block; padding:0 0; position:absolute; right:10px; bottom:10px;}
.comic-list li .credit a { display:inline; padding:0 0;}
.comic-list li > div.pr { border-top:solid 1px #ddd; overflow:hidden;}

.more a { display:block; margin:0 16px 16px; text-align:center; font-size:16px; line-height:40px; color:#fff; background:#ffa6c5; border-radius:20px; position:relative;}
.more a::after { content:"\e409"; font-family:Material Icons; font-size:20px; position:absolute; right:16px; top:0;}
.more span  { display:block; margin:0 16px 16px; text-align:center; font-size:16px; line-height:40px; color:#aaa; background:#eee; border-radius:20px;}
.pager { margin:0 16px 16px; display:flex; display:-webkit-flex;}
.pager p { flex:0 0 auto; -webkit-flex:0 0 auto; width:50%; overflow:hidden;}
.pager a { display:block; font-size:16px; line-height:40px; color:#fff; background:#ffa6c5; padding:0 16px;}
.pager span { display:block; font-size:16px; line-height:40px; color:#aaa; background:#eee; padding:0 16px;}
.pager .prev { border-radius:20px 0 0 20px; padding-right:1px;}
.pager .next { border-radius:0 20px 20px 0; text-align:right;}

/* 一覧（「もっと見る」= 2ページ目以降）のページャーは中央寄せ（ランキング等の .pager には影響させない） */
.list-footer .pager {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  /* paginate_links() の出力に含まれる改行/空白テキストノードが
     flex item 扱いになって隙間が出ることがあるため潰す */
  font-size: 0;
}

.list-footer .pager a,
.list-footer .pager span {
  font-size: 16px;
}

/* rankingページのタブ（デイリー/週間/月間/全期間） */
.ranking-select-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:10px 16px 16px;
}
.ranking-select-tabs li { display:block; }
.ranking-select-tabs a {
  display:inline-block;
  padding:0 14px;
  font-size:14px;
  line-height:34px;
  border-radius:17px;
  border:1px solid #ddd;
  background:#fff;
  color:#888;
}
.ranking-select-tabs li.active a {
  background:#ffa6c5;
  border-color:#ffa6c5;
  color:#fff;
  font-weight:bold;
}

/* タグ/作家一覧（/tags /artists） */
.term-search-form { margin:16px 0 10px; text-align:center; }
.term-search-input {
  width:calc(100% - 32px);
  max-width:520px;
  height:44px;
  line-height:44px;
  padding:0 14px;
  border:1px solid #ddd;
  border-radius:22px;
  background:#fff;
  box-sizing:border-box;
}
.term-search-list {
  display:flex;
  flex-wrap:wrap;
  gap:10px 8px;
  justify-content:center;
  padding:0 16px 16px;
}
.term-search-list .term-item { display:block; }
.term-search-list .term-item a {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 12px;
  font-size:14px;
  line-height:34px;
  border-radius:17px;
  background:#f3f3f3;
  color:#684b43;
}
.term-search-list .term-item a:hover { background:#fff0f5; }
.term-search-list .term-item span {
  font-size:12px;
  color:#888;
}
/* tagsページだけ # を付ける */
.term-search-list-tags .term-item a::before { content:"#"; color:#aaa; }
.term-search-list-artists .term-item a::before { content:""; }
.term-search-list .notfound { width:100%; text-align:center; color:#666; padding:16px 0; }

.page-number { text-align:right; color:var(--subcolor); font-size:13px; padding:8px 10px;}
/* ランキング番号（CSSカウンター）は .ranking-list のみに限定（他の <ol> を壊さない） */
.ranking-list { counter-reset:rank;}
.ranking-list > li { position:relative; padding-left:40px; box-sizing:border-box;}
.ranking-list > li::before { content:counter(rank); counter-increment:rank; font-size:15px; line-height:30px; display:block; text-align:center; font-weight:bold; color:#fff; width:30px; height:30px; background:#F082AB; position:absolute; top:0; left:0; opacity:0.95;}

/* ランキング番号のスタイル */
.ranking-number {
    font-size: 15px;
    line-height: 30px;
    display: block;
    text-align: center;
    font-weight: bold;
    color: #fff;
    width: 30px;
    height: 30px;
    background: #F082AB;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.95;
    z-index: 1;
}

/* ランキングページではCSSカウンターを無効化 */
.ranking-item::before {
    display: none;
}
.ranking-item {
    position: relative;
    padding-left: 40px; /* 番号分のスペースを確保 */
}

.comic-header { background:var(--bgcolor); padding:16px 10px;}
/* 個別投稿ページのヘッダー（single.php の .book-header）＋アーカイブヘッダー */
.book-header,
.archive-header {
  background:var(--bgcolor);
  padding:16px 10px;
}

.comic-header h1 { font-size:24px; line-height:1.4; color:var(--subcolor); margin-bottom:8px;}
.book-header h1,
.archive-header .archive-title {
  font-size:24px;
  line-height:1.4;
  color:var(--subcolor);
  margin-bottom:8px;
}

.comic-author { font-size:14px; color:#444;}
.book-artist { font-size:12px; color:#444;}

.comic-description { font-size:13px; color:#666; padding:16px 0;}
.book-description { font-size:13px; color:#666; padding:16px 0;}
.book-meta {
    margin-top: 4px;
}
.book-artist span:first-child,
.book-tags span:first-child {
    font-weight: bold;
    margin-right: 4px;
}
.book-tags {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.book-tags a {
    display: inline-block;
    font-size: 11px;
    line-height: 1.8;
    padding: 0 8px;
    margin: 0 4px 4px 0;
    border-radius: 12px;
    background: #fff0f5;
}

/* 原作小説リンクボタン（single.php の .book-header 内） */
.book-original-link {
    margin-top: 12px;
}
.book-original-link a {
    display: inline-block;
    padding: 0 28px;
    line-height: 44px;
    font-size: 15px;
    font-weight: bold;
    color: #b06621;
    background: #ffe4ef; /* 淡いピンク */
    border-radius: 24px; /* 角丸を少し大きく */
    border: 1px solid #f7b9d0;
}
.book-original-link a:hover {
    background: #ffcfe2;
}

/* SP のときは常にホバー時と同じ色にする（テーマのブレイクポイントに合わせて 959px 以下） */
@media screen and (max-width:959px) {
  .book-original-link a {
    background: #ffcfe2 !important;  /* PCホバー時と同じ色を優先適用 */
  }
  .book-original-link a:hover {
    background: #ffcfe2 !important;  /* 触っても色が変わらないよう固定 */
  }
}
.comic-page-count { font-family:var(--signfont); text-align:center; color:var(--subcolor); font-size:20px;}
.comic-view .gallery li { margin-bottom:16px;}
.comic-view .gallery img { width:100%; height:auto; aspect-ratio:1100/1500; object-fit:cover; background:#fafafa;}
.comic-view .licence { padding:10px; font-size:13px; color:var(--maincolor);}
.comic-view .page-number { color:#aaa; padding:0 10px;}
.comic-pager p { padding:0 10px 10px;}
.comic-pager p a { display:block; text-align:center; color:#fff; font-size:16px; line-height:40px; background:#aaa; position:relative;}
.comic-pager .next a,
.comic-pager .continue a { background:var(--maincolor);}
.comic-pager .next a::before { content:"\e409"; font-family:Material Icons; font-size:20px; position:absolute; right:16px; top:0;}
.comic-pager .prev a::before { content:"\e408"; font-family:Material Icons; font-size:20px; position:absolute; left:16px; top:0;}
.comic-pager .return a::before { content:"\e5dc"; font-family:Material Icons; font-size:20px; position:absolute; left:16px; top:0;}

.comic-footer { padding:20px 10px; background:#f0f0f0; color:#666;}
.comic-metadata { font-size:14px; margin-bottom:16px;}
.comic-metadata li { min-height:38px; margin-bottom:5px;}
.comic-metadata a { display:inline-block; padding:0 10px; margin:0 8px 8px 0; font-size:14px; line-height:28px; border:solid 1px #ddd; background:#fff; border-radius:14px; color:#888;}
.comic-metadata .tags a::before { content:"#";}
.comic-metadata .title b { font-size:15px;}

/* 個別作品ページのフッター（メタ情報） */
.book-footer {
    padding: 20px 10px;
    background: #f0f0f0; /* 薄いグレー */
    color: #666;
}
.purchase-link { text-align:center;}
.purchase-link a { color:var(--maincolor); display:inline-block; padding:0 20px; font-size:16px; line-height:38px; border:solid 1px var(--maincolor); border-radius:20px; background:#fff;}
.purchase-link a::before { content:"\e409"; font-family:Material Icons; vertical-align:top;}

.page-header { background:var(--bgcolor); padding:16px 10px;}
.page-header h1 { font-size:24px; line-height:1.4; color:var(--subcolor); margin-bottom:8px;}
.page-content { padding:16px 10px;}
.page-content h2 { font-size:18px; font-weight:bold; padding:1em 0 1.5em; color:#666;}
.page-content p { font-size:15px; margin-bottom:1.8em;}
.tag-list { display:flex; flex-wrap:wrap; gap:10px 8px;}
.tag-list li { flex:0 0 auto;}
.tag-list li a { display:block; padding:0 10px; font-size:15px; line-height:30px; border-radius:15px; background:#f3f3f3;}
.tag-list li a:hover { background:#fff0f5;}
.tag-list li a::before { content:"#";}
.author-list li a::before { content:none;}

.table-content {width:100%; overflow-x:scroll;}
.table-content table { box-sizing:border-box; border-spacing:0; border-collapse:collapse; border:1px solid #aaa; font-size:12px; line-height:1.3; color:#666;}
.table-content th { background-color:#fff2f9; text-align:left;}
.table-content th,
.table-content td { border:1px solid #aaa; padding:10px; min-width:100px; box-sizing:border-box;}
.table-content td li { white-space:nowrap;}
.table-content td li::before { content:"・"}
.table-content td a { color:#684b43;}
.table-content td a:hover { text-decoration:underline;}

#sub header { padding:10px 0 25px; text-align:center;}
#sub header h2 { color:#666; font-weight:normal; font-size:13px; line-height:1.0;}
#sub header .sign { color:#666; font-family:var(--signfont); font-size:32px;}

.search { background:#fff0f5; padding-bottom:16px;}
.hashtags { padding:16px; overflow:hidden;}
.hashtags > div { border-top:solid 1px #ddd; padding-bottom:16px;}
.hashtags h3 { text-align:center; padding:16px 0; color:#666; font-size:13px;}
.hashtags li { display:block; float:left;}
.hashtags a { display:inline-block; padding:0 10px; margin:0 8px 8px 0; font-size:14px; line-height:28px; border:solid 1px #ddd; background:#fff; border-radius:14px; color:#888;}
.hashtags a::before { content:"#";}

/* SEARCH内のタグ（.taglist）を中央寄せ */
.hashtags .taglist { text-align:center; }
.hashtags .taglist a { margin:0 6px 8px 6px; }
.authors { padding:16px; overflow:hidden; background:var(--bgcolor);}
.authors h3 { text-align:center; padding:16px 0; color:#666; font-size:13px;}
.authors li { display:block; float:left;}
.authors a { display:inline-block; padding:0 10px; margin:0 8px 8px 0; font-size:14px; line-height:28px; border:solid 1px #ddd; background:#fff; border-radius:14px; color:#888;}
.toc ul { margin:10px 5px; display:flex; display:-webkit-flex; flex-wrap:wrap; -webkit-flex-wrap:wrap;}
.toc li { flex:1 1 auto; -webkit-flex:1 1 auto; margin:5px;}
.toc li a { display:block; text-align:center; padding:10px 16px; background:#fff0f5; font-size:15px; line-height:1.0;}
.toc li a::before { content:"\e409"; font-family:Material Icons; vertical-align:top;}

.recommend-site { background:#f0f0f0; padding:16px 16px;}
.recommend-site-list li { padding:8px 0;}
.recommend-site-list a { font-size:12px;}
.recommend-site-list a:hover { text-decoration:underline;}
.recommend-site h3 { font-size:13px; color:#666; padding-top:16px; margin-top:16px; text-align:center; border-top:solid 1px #ccc;}

#footer .footer-inner { padding:16px;}
#footer .footer-inner nav { border-top:solid 1px #ddd; padding-top:20px;}
#footer .sign { color:#666; font-family:var(--signfont); font-size:24px;}
/* フッターでは実画像を使うため X アイコンの疑似要素は無効化 */
#footer .sns a.tw::before {
    content: none;
}

#footer nav ul { margin-bottom:8px;}
#footer nav li { padding:8px 0;}
#footer nav li a { font-size:14px; color:#888;}
#footer .licence { font-size:13px; color:#666; margin:20px 0;}

#footer .credit { background:#e0e0e0; text-align:center; padding:24px;}
#footer .credit a { font-size:12px;}

.not-found { padding:16px 10px;}

@media screen and (min-width:960px) {
#main section header { border:none; padding:20px 0 40px;}

/* まずは1列レイアウト（横幅が狭いPCでも崩れないように） */
.comic-list { border-top:none; margin-top:16px;}
.comic-list li { width:100%; border-bottom:none; margin-bottom:16px;}
.comic-list li a { background:#fafafa; height:100%; box-sizing:border-box;}
.comic-list li .thumbnail { width:160px; height:226px;}
.comic-list li .thumbnail img { width:160px; height:226px;}
.comic-list li.pr { display:none;}
.comic-list li > div.pr { display:none;}

.book-list { border-top:none; margin-top:16px;}
.book-list li { width:100%; border-bottom:none; margin-bottom:16px;}
.book-list li .book-card { background:#fafafa; height:100%; box-sizing:border-box;}

.page-number { padding:16px 0 0;}
.comic-header { padding:20px 16px; margin-bottom:16px;}
.book-header { padding:20px 16px; margin-bottom:16px;}
.comic-view .page-number { padding:0 0;}
.comic-pager p { padding:0 0 16px;}
.comic-footer { padding:20px 16px; margin-bottom:16px;}
.page-header { padding:20px 16px; margin-bottom:16px;}
.page-content { padding:16px 0;}
#sub aside { margin-bottom:30px;}
#footer .footer-inner { padding:30px;}
}

/* 幅が十分広いときだけ2列にする */
@media screen and (min-width:1120px) {
  .comic-list li { width:calc(50% - 8px); }

  .book-list {
    display:flex;
    display:-webkit-flex;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    justify-content:space-between;
  }
  .book-list li {
    width:calc(50% - 8px);
  }
}

/*---Native---*/
.comic-list li > div { height:160px; overflow:hidden;}
.comic-list li > div > iframe { width:100%!important; height:160px!important;}

/* SP（モバイル）では1列表示を明示的に指定 */
@media screen and (max-width:959px) {
  .book-list li {
    width: 100%; /* 1列表示 */
  }
  .comic-list li {
    width: 100%; /* 1列表示 */
  }
}

.rectangle { width:300px; height:250px; margin:16px auto;}
.textad { text-align:center; height:90px; margin:0 auto;}
.mobileonly { display:block;}
@media screen and (min-width:744px) {
  .mobileonly { display:none;}
  .rectangle { display:none;}
}
.overlay iframe { aspect-ratio:640 / 200!important;}
.gn_inline_exp_content { -webkit-transform: scale(1.0, 1.0)!important; transform: scale(1.0, 1.0)!important;}

/* WordPressテーマ対応用追加スタイル */
body.fixed {
    position: fixed;
    width: 100%;
}

/* パンくずリスト調整 */
.breadcrumb,
.breadcrumbs {
    padding: 16px 10px;
    margin-top: 16px; /* 上に少し余白 */
}
.breadcrumb ul,
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    font-size: 11px; /* 文字を少し小さく */
}
.breadcrumb li,
.breadcrumbs-list li {
    flex: 0 0 auto;
    max-width: 100%;
}
.breadcrumb li::after,
.breadcrumbs-list li::after {
    content: "\e5cc";
    font-family: Material Icons;
    display: inline-block;
    padding-left: 2px;
    vertical-align: middle;
    color: #888;
}
.breadcrumb li:last-child::after,
.breadcrumbs-list li:last-child::after {
    content: none;
}
.breadcrumb li span,
.breadcrumbs-list li span {
    color: #aaa;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* PC幅では下に少し余白を追加したい場合の調整 */
@media screen and (min-width:960px) {
  .breadcrumb,
  .breadcrumbs {
    padding: 0 8px 24px;
  }
}

/* WordPress固有のスタイル調整 */
.site-title {
    margin: 10px 10px;
    font-size: 14px;
    color: var(--maincolor);
    font-weight: bold;
}

.site-description {
    margin: 10px 10px;
    font-size: 13px;
    color: #666;
}

/* 漫画リストのWordPress対応（book-list用） */
.book-list {
    border-top: solid 1px #ddd;
    margin-bottom: 16px;
}

.book-list li {
    border-bottom: solid 1px #ddd;
    position: relative;
}

/* 1件分全体（サムネ＋本文） */
.book-list li .book-card {
    display: block;
    overflow: hidden;
    padding: 10px 10px;
}

/* サムネイルまわり（元サイト .comic-list と同じ構造） */
.book-list-item-thumbnail {
    float: left;
    width: 100px;
    height: 140px;
    margin-right: 10px;
    background: #efefef;
}

.book-list-item-thumbnail img,
.book-list-item-thumbnail .no-image {
    width: 100px;
    height: 140px;
    object-fit: contain;
    display: block;
}

/* タイトル＋メタ情報のラッパー：画像右側にテキストを流し込む */
.book-list-item-body {
    overflow: hidden;
}

/* タイトル */
.book-list-item-title {
    color: var(--maincolor);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 6px;
}

/* メタ情報（作家・日付） */
.book-list-item-meta {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.book-list-item-artist {
    margin-bottom: 2px;
}

.book-list-item-artist span {
    display: inline-block;
    background: #f3f3f3;
    padding: 0 6px;
}

.book-list-item-date {
    color: #aaa;
}

/* 個別作品ページの本文（viewer 部分）背景 */
.single .book-body {
  background:#f0f0f0;
  padding:16px 10px;
}

/* ランキング用のレイアウト調整（ベースは book-list と同じ） */
.ranking-list {
    margin-top: 16px;
    margin-bottom: 24px;
}

/* PCレイアウト時の book-list カード調整（画像左・テキスト右） */
@media screen and (min-width:960px) {
  /* サムネイルサイズ（元サイト参考・縦長寄り） */
  .book-list-item-thumbnail {
      width: 160px;
      height: 226px;
  }
  .book-list-item-thumbnail img,
  .book-list-item-thumbnail .no-image {
      width: 160px;
      height: 226px;
  }

  /* テキスト側の見た目（タイトル・作者・日付） */
  .book-list-item-title {
      font-size: 18px;
  }
  .book-list-item-artist {
      font-size: 13px;
      color: var(--subcolor);
  }
  .book-list-item-date {
      font-size: 11px;
  }
}

.book-list li .credit a {
    display: inline;
    padding: 0 0;
}

.book-list li > div.pr {
    border-top: solid 1px #ddd;
    overflow: hidden;
}

/* SNSリストのサイズ調整 */
.sns-list {
    padding-top: 1em;
}
.sns-list ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.sns-list ul li {
    width: 24px;
    height: 24px;
}
.sns-list ul li a {
    display: block;
    width: 100%;
    height: 100%;
}
.sns-list ul li a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* アーカイブの件数表示＋ページネーション */
.archive-footer {
    text-align: center;
    margin: 16px 0 24px;
}
.archive-footer .archive-count,
.archive-footer .archive-pagination {
    color: #555;
    font-size: 13px;
}

/* フッターのSNSアイコン調整 */
#footer .sns {
    text-align: left;           /* 左寄せ */
    margin: 20px 0 12px;        /* 上に少し余白を追加 */
}
#footer .sns a {
    display: inline-flex;       /* 中央寄せしやすいようにflexに変更 */
    align-items: center;
    justify-content: center;
    width: 32px;                /* 角丸の四角形サイズ */
    height: 32px;
    margin: 0 0 0 0;
    background: #000;           /* 黒ベース */
    border-radius: 6px;         /* 角丸の四角形 */
}
#footer .sns a img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
