/* ===== サイト共通メニューUI ===== */

/* --- 背景 --- */
body{
  margin:0;
<!--  background:#ffc0cb; /* 左右余白色 */-->
  font-family:sans-serif;
  line-height:1.6;
}


/* =============================
   テーマカラー切替
============================= */

/* --- ピンク --- */
.theme-pink{
  background:#e7a9b6;   /* 外側（やや暗め） */
}

.theme-pink .container{
  background:#ffe4ec;   /* 中央（淡い） */
}

/* --- ブルー --- */
.theme-blue{
  background:#7faed6;
}

.theme-blue .container{
  background:#dbeeff;
}

/* --- グリーン --- */
.theme-green{
  background:#2f6f4f;
}

.theme-green .container{
  background:#f3faf6;
}

/* --- 中央固定 --- */
.container{
  max-width:900px;
  margin:auto;
<!--  background:white;-->
  padding:30px;
  text-align:center;
}

/* --- 表記調整 --- */
h1{
  margin-top:5px;
}

p{
  margin-top:3px;
  margin-bottom:20px;
padding-left: 10px;
}

ul{
margin:0;
padding:0 20px;
list-style: none;
}

/* --- 枠付説明文 --- */
.book-list{
 text-align:left;
  background: #fafafa;              /* 白背景 /
  border: 1px solid #e5e5e5;           / 薄いグレー枠 /
  padding: 12px 20px;               / 内側余白 /
  margin:0px 10px;
  font-size: 0.9rem;                / 少し小さめ /
  line-height: 1.6;                 / 読みやすさ /
  border-radius: 4px;               / 少し角丸（任意） */
}

ul.book-list{
list-style: none;
margin:0;
padding-left: 20px;
}

/* --- 画像 --- */
.top-img{
  max-width:100%;
  height:auto;
}

/* --- リンクボタン --- */
.link-btn{
  display:inline-block;
  padding:10px 18px;
  margin:8px 0px 0px;
  background:#fff;
  border:1px solid #ccc
  border-radius:8px;
  text-decoration:none;
  color:#0033cc;
  font-size:1.1em;
  font-weight:bold;
  transition:0.2s;
}

/* ホバー */
.link-btn:hover{
  background:#f0f0f0;
  transform:scale(1.05);
}

/* --- 折りたたみ --- */
details{
  margin:25px 0;
  text-align:left;
}

summary{
  font-size:1.3em;
  font-weight:bold;
  cursor:pointer;
  padding:8px;
  background:#fff;
  border-radius:8px;
  list-style:none;
}

/* ▼マーク消す（ブラウザ差対策） */
summary::-webkit-details-marker{
  display:none;
}

/* 開いた状態 */
details[open] summary{
  background:#f0f0f0;
}

/* --- ページリンク --- */
.page-links{
  margin-left:10px;
}

.page-links a{
  margin:3px;
  display:inline-block;
}

/* --- フッター --- */
.footer{
  margin-top:40px;
  font-size:0.9em;
  text-align:center;
}

/* ===== 画像モーダル ===== */
.img-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.4);
  justify-content:center;
  align-items:center;
  z-index:999;
  overflow:auto;
}

.img-modal img{
  max-width:90%;
  max-height:90%;
object-fit:contain;
  cursor:pointer;
display:block;
}

/* 原寸モード */
.img-modal img.fullsize{
  width:auto;
  height:auto;
  max-width:none;
  max-height:none;
}

.img-modal.fullmode{
  align-items:flex-start;
  overflow:auto;
}

/* サムネにカーソル反応 */
.zoom-img{
  cursor:pointer;
  transition:0.2s;
}

.zoom-img:hover{
  transform:scale(1.03);
}

/* ズームテキスト強化 */
.zoom-img{
  cursor:pointer;
  color:#0033cc;
  text-decoration:underline;
  display:inline-block;
  padding:5px 8px;
  transition:0.2s;
}

.zoom-img:hover{
  background:#f0f0f0;
  border-radius:6px;
}

/* 下部メニュー */
.footer{
  display:flex;
  justify-content:center;
  gap:24px;
  margin-top:40px;
  margin-bottom:40px;
}