/*
Theme Name: erodoujin
Theme URI: 
Description: 
Version: 1
Author: 
Author URI: 
*/

/* https://jxnblk.github.io/hello-color/?c=afcb9c */

html {
    margin: 0 !important;
}
body {
    /* background: darkgray; */
    background: #fff;
    margin: 0;
    padding: 0;
}
img {
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: #4d5156;
}

.header,
.footer {
    /* width: 1104px; */
    background-color: #4d5156;
    /* margin: 0 auto; */
}
.footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #fff;
}
.copylight {
    padding-top: 8px;
    font-size: 13px;
    color: #fff;
    display: inline-block;
}
.page-links {
    padding-top:24px;
}
.page-links a {
    color: #fff;
    margin: 0 8px;
}
.main {
    background: #fff;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 1104px;
    margin: 0 auto;
}
.main-list {
    display: flex;
    flex-wrap: wrap;
    width: 830px;
    justify-content: space-between;
}
.list-item {
    width: 268px;
    border: 1px solid;
    margin-bottom: 8px;
}
.list-item a {
    text-decoration: none;
}
.list-item__title {
    font-size: 14px;
    font-weight: bold;
    margin: 4px 4px 16px;
}
.thumb {
    max-width: 100%;
}
.site-title {
    font-size: 35px;
    line-height: 1.5;
    font-weight: bold;
    /* background-color: #4d5156; */
    margin: 0;
    color: #fff;
    padding: 40px;
    margin-bottom: 12px;
    /* border-radius: 8px; */
    text-align: center;
}


.pagination{
   margin: 0 auto;
}
.nav-links{
   display:flex;
   margin: 12px 0 24px 0;
   font-weight: bold;
}
.pagination .page-numbers{
   display:inline-block;
   margin-right:15px;
   padding:20px 20px;
   color:#4d5156;
   border-radius:3px;
   box-shadow:0 3px 3px #999;
   background:#fff;
}
.pagination .current{
   padding:20px 20px;
   background:#69a4db;
   color:#fff;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#69a4db;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
   padding: 20px 10px;
}

.main-single {
    padding: 24px;
    border: 4px solid #4d5156;
    border-radius: 28px;
    width: 794px;
    box-sizing: border-box;
    margin-right: 10px;
}
.main-single .main-img img {
    max-width: 560px;
}
.main-single img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}

.main-single h1 {
    font-size: 24px;
    color: #4d5156;
}

.single-info {
    /* margin: 24px; */
}

.download {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 24px;
}
.download a {
    -webkit-box-shadow: 0px 0px 0px 2px #55bed5;
    box-shadow: 0px 0px 0px 2px #55bed5;
    border: 2px solid #fff;
    color: #fff;
    background-color: #55bed5;
    border-radius: 8px;
    font-size: 18px;
    padding: 14px 60px;
    display: inline-block;
}

.ads-728-90{
    margin: 12px auto;
    width: 728px;
    height: 90px;
}
.right-box {
    width: 300px;
    /* padding: 0 8px; */
    box-sizing: border-box;
    /* background-color: #4d5156; */
}
.main-title {
    margin-right: 10px !important;
}
.main-title,
.right-box__title {
    margin: 0;
    text-align: center;
    color: #fff;
    background-color: #4d5156;
    font-size: 24px;
    margin-bottom: 8px
}
.right-box figure {
    margin: 0;
    padding: 0;
}
.right-box figure img {
    max-width: 100%;
    height: auto;
}
.right-box .post-ttl {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 16px;
    color: #4d5156;
}

.content-bottom {
    padding: 32px 0;
}
.content-bottom h2,
.content-bottom h3 {
    font-size: 15px;
    line-height: 1.6;
    margin: 16px 8px 16px 0;
}
.content-bottom p {
    font-size: 12px;
    line-height: 1.6;
    /* margin: 4px; */
}

.single-categories ul,
.tag-ranking ul {
    list-style: none;
    padding: 0 4px 4px 4px;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.single-categories ul li,
.tag-ranking ul li {
    color: #fff;
    border: 1px solid;
    padding: 4px 8px;
    border-radius: 6px;
    margin: 0 4px 4px 0;
    display: block;
    width: auto;
    max-width: 120px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background-color: #db392b;
}
.single-categories ul li a,
.tag-ranking ul li a {
    font-size: 14px;
    color: #fff;
}

.summary__txt {
    font-size: 15px;
    word-wrap: break-word;
}

.main-content {
    min-width: 840px;
}
/* 
.productInformation.u-common__clearfix{
    font-size: 12px;
    padding: 0px 16px;
}

.informationList__ttl {
    width: 115px;
    font-weight: bold;
    vertical-align: top;
    float: left;
}

.informationList {
    margin: 4px;
}

.productInformation .productInformation__item:last-of-type {
    display: none;
} */


/* 全体をテーブル風に */
.productInformation {
    display: table;
    width: 100%;
    background: #f9f9f9;
    border-radius: 8px;
    border-collapse: collapse;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-bottom: none;
    max-width: 500px;
}

/* 1行ずつ表示 */
.productInformation__item {
    display: table-row;
}
dl.informationList {
    margin: 0;
    border-bottom: 1px solid #ddd
}

/* 左側（タイトル） */
.informationList__ttl {
    display: table-cell;
    font-weight: bold;
    font-size: 12px;
    color: #333;
    padding: 10px;
    width: 100px;
    background: #f1f1f1;
}

/* 右側（内容） */
.informationList__txt {
    display: table-cell;
    font-size: 12px;
    color: #555;
    padding: 8px;
    width: 70%;
}
.informationList__item {
    display: table-cell;
}

/* ジャンルリスト */
.genreTagList {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    list-style: none;
    margin: 0;
    color: #555;
}

/* ジャンルタグ */
.genreTagList__item {
    font-size: 13px;
}

/* プロモーションバナー */
.promotionBnr__img img {
    display: none;
}

.author-box {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #4d5156;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 24px;
}
.author-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px !important;
}
.author-info {
    flex: 1;
}
.author-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}
.author-bio {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}

.ranking-page-link {
    text-align: center;
    margin-bottom: 32px;
}
.ranking-page-link > a{
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    background-color: #db392b;
    color: #fff;
    font-size: 16px;
    display: inline-block;
}

.ranking-page {
    counter-reset: rank;
}
.ranking-page > .list-item a {
    position: relative;
    /* padding-top: 1.5em; 番号と被らないよう余白 */
    counter-increment: rank;
    display: block;
}
.ranking-page > .list-item a::before {
  content: counter(rank);
  position: absolute;
  top: 0;
  left: 0;
  background-color: crimson;
  color: white;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 0 0 4px 0;
  font-weight: bold;
}

/* Q&Aエリア */
.qa-block {
  padding: 20px 20px 0;
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 640px;
  margin: 8px auto 30px;
}

.qa-item {
  margin-bottom: 20px;
}

.qa-question {
  font-weight: bold;
  color: #bf0000;
  margin-bottom: 5px;
  font-size: 16px;
}

.qa-answer {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  padding-left: 1em;
}

/* details要素全体のスタイリング */
.details-qa {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 20px;
    background-color: #f9f9f9;
    position: relative; /* 追加アイコンの位置指定のため */
}

/* summary要素のスタイリング */
.summary-qa {
    font-weight: bold;
    color: #333;
    cursor: pointer;
    outline: none; /* フォーカス時のアウトラインを削除 */
    list-style: none; /* デフォルトの三角形を非表示に */
}

/* summary要素の疑似要素にカスタムアイコンを追加 */
.summary-qa::before {
    content: '◎';
    font-size: 16px;
    color: red;
    margin-right: 5px;
    position: absolute; /* 絶対位置指定 */
    left: 0; /* 左端から配置 */
}

/* details要素が開いたときのsummaryのアイコンを変更 */
.details-qa[open] .summary-qa::before {
    content: '◉'; /* アイコンを変更 */
}

/* クリック可能な領域を示すためにマウスホバー時のスタイルを変更 */
.summary-qa:hover {
    background-color: #e8e8e8;
}

/* デフォルトのマーカーを消すための追加スタイル */
.details-qa summary::-webkit-details-marker {
    display: none;
}

h2.post-inner-title {
    background-color: #4d5156;
    padding: 8px;
    color: #fff;
    line-break: anywhere;
    border-radius: 6px;
    margin-top: 24px;
    font-size: 22px;
    line-height: 1.5;
}

.short-review-item {
  background: #fff;
  color: #000;
  padding: 8px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 50px 0;
}

.post-nav div {
  flex: 1;
}

.post-nav a {
  min-height: 48px;
  display: block;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-nav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 前の記事を左寄せ、次の記事を右寄せ */
.nav-previous a { text-align: left; }
.nav-next a { text-align: right; }