/* 全体スタイル */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.8; /* 行間を広く設定 */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* 明るい背景色 */
    color: #222; /* 濃い文字色でコントラストを向上 */
}

/* コンテンツセクション */
#policy-content {
    padding: 20px;
    width: 80%;
    max-width: 800px;
    margin: 0 auto 20px auto;
    background-color: #ffffff; /* 白い背景で文字を際立たせる */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333; /* 濃い文字色 */
}

/* CSS 見出し*/
.cp_h1title {
	border-bottom: 2px dashed #29B6F6;
}

.list-tit {
  background: #99bdde;
  border-radius: 6px 6px 0 0;
  color: #fff;
  font-weight: bold;
  font-size: .9em;
  line-height: 2;
  margin: 0;
  padding: .2em 1em;
  text-align: center;
  max-width: 100%;
}
.list-box {
  background: #ebf4f8;
  border: 2px solid #99bdde;
  border-radius: 10px;
  line-height: 2;
}
.list-design {
  list-style-type: disc;
}
.list-design li {
  margin-top: 10px;
}
.list-design li:first-of-type {
  margin-top: 0;
}
.list-design li::marker {
  color: #99bdde;
}

#policy-content section h2 {
    font-size: 1.6em;
    border-bottom: 2px solid #007BFF; /* アクセントの青線 */
    color: #007BFF; /* 見出しの青色 */
    padding-bottom: 5px;
    margin-bottom: 15px;
}

#policy-content section p {
    margin: 15px 0;
    text-align: justify; /* テキスト整列 */
    color: #444; /* 柔らかい濃い文字色 */
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1); /* 軽いシャドウで文字を際立たせる */
}

/* ヘッダー */
header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

/* メイン部分 */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main p {
    font-size: 1.1em; /* フォントサイズアップ */
    margin: 15px 0;
    text-align: justify;
    color: #333; /* 文字色 */
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

/* フッター */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
}

footer a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #0056b3;
}



/* 目次セクション */
#table-of-contents {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#table-of-contents h2 {
    margin-top: 0;
    font-size: 1.5em;
}

#table-of-contents ul {
    list-style: none;
    padding: 0;
}

#table-of-contents ul li {
    margin: 10px 0;
}

#table-of-contents ul li a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}

#table-of-contents ul li a:hover {
    color: #0056b3;
}



/* メニューアイコンのスタイル */
#menu-toggle {
    position: fixed;
    top: 10px; /* 上のスペースを調整 */
    left: 10px; /* 左のスペースを調整 */
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
}

/* サイドメニュー */
#menu-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
}

#side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #1e272e;
    color: white;
    transition: left 0.3s;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

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

#side-menu ul li {
    margin: 20px 0;
}

#side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* オーバーレイ背景 */
#menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* トップ画面 */
header {
    text-align: center;
    background-color: #2c3e50; /* ダークな背景 */
    color: white;
    padding: 100px 20px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
    color: #dcdde1; /* 明るいグレー */
}

#bookshelf {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.book-card {
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 200px;
}


/* サイドメニュー */
#side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    padding-top: 60px; /* アイコンとの間隔を確保 */
    background-color: #1e272e;
    color: white;
    transition: left 0.3s;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

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

#side-menu ul li {
    margin: 20px 0;
}

#side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* ヘッダーセクション */
header {
    text-align: center;
    margin: 20px 0;
}

header h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* スライダーコンテナ */
#slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

/* 矢印ボタン */
.slider-arrow {
    background-color: #333;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: #555;
}


/* スライダー */
#slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.slider-arrow {
    background-color: #333;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: #555;
}

#slider {
    display: flex;
    width: 100%;
    justify-content: center;
    position: relative;
}

.slide {
    display: none; /* 初期状態では非表示 */
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide.active {
    display: block; /* 表示するスライド */
}



/* 作品一覧セクション */
#book-list {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#book-list h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.book {
    display: inline-block;
    width: 30%; /* PC画面で3列配置 */
    margin: 15px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    vertical-align: top;
    text-align: left;
    transition: transform 0.2s ease-in-out;
}

.book:hover {
    transform: scale(1.05);
}

.book img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.book h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.book p {
    font-size: 0.9em;
    color: #555;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .book {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .book {
        width: 100%;
    }
}

/* フッターのスタイル */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 30px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 20px; /* リンク間の間隔 */
}

footer ul li {
    margin: 0;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #aaa; /* ホバー時の色変更 */
}

/* 本文 */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main p {
    margin: 15px 0;
    text-align: justify;
}

/* フッター */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #2c3e50;
    color: white;
}

#pagination {
    margin-bottom: 10px;
}

#pagination a {
    margin: 0 10px;
    color: #ddd;
    text-decoration: none;
    font-size: 1em;
}

#pagination a:hover {
    color: white;
    text-decoration: underline;
}

#pagination {
    text-align: center; /* コンテンツを中央寄せに */
    margin: 20px 0; /* 上下の余白を適用 */
}

#pagination a {
    display: inline-block; /* ボタンをインラインブロックにする */
    padding: 10px 20px; /* 内側の余白を適用して目立たせる */
    margin: 0 10px; /* ボタン間の間隔を設定 */
    background-color: #4a90e2; /* 背景色（例: 落ち着いた青色） */
    color: #ffffff; /* 文字色を白に */
    text-decoration: none; /* 下線を削除 */
    border-radius: 5px; /* ボタンに角丸を適用 */
    font-weight: bold; /* 太字で目立たせる */
    transition: background-color 0.3s ease; /* 背景色変更のアニメーションを適用 */
}

#pagination a:hover {
    background-color: #ff4500; /* ホバー時の色を変更 */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}


.novel-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.novel-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    overflow: hidden;
}

.novel-item img {
    width: 100%;
    height: auto;
}

.novel-item h2 {
    font-size: 20px;
    margin: 10px 0;
}

.novel-item p {
    font-size: 16px;
    padding: 10px;
    color: #333333;
}

.read-button {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-button:hover {
    background-color: #357abd;
}

.choice-buttons {
    text-align: center; /* 中央揃え */
    margin-top: 20px;
}

.choice-button {
    display: inline-block;
    padding: 15px 30px; /* ボタン内の余白 */
    margin: 10px; /* ボタン間の間隔 */
    background-color: #4a90e2; /* 落ち着いた青色 */
    color: #ffffff;
    text-decoration: none; /* 下線を削除 */
    border-radius: 5px; /* 角丸 */
    font-weight: bold;
    font-size: 18px; /* フォントサイズを調整 */
    transition: background-color 0.3s ease, transform 0.3s ease; /* アニメーションを追加 */
}

.choice-button:hover {
    background-color: #357abd; /* ホバー時の色 */
    transform: scale(1.05); /* 少し拡大して強調 */
}

/* サイドメニュー */
.side-menu {
    position: fixed;
    top: 50%; /* 画面の垂直方向中央 */
    right: 10px; /* 画面右端から10px */
    transform: translateY(-50%); /* 中央揃えの調整 */
    background-color: #4a90e2;
    padding: 10px;
    border-radius: 5px;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    margin: 10px 0;
}

.side-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.side-menu a:hover {
    color: #ffcc00; /* ホバー時の効果 */
}

/* アンティーク調の区切り線 */
.divider {
    text-align: center;
    font-size: 24px;
    color: #6495ed; /* コーンフラワーブルー */
    margin: 20px 0;
    font-family: 'Times New Roman', serif; /* 高級感のあるフォント */
    letter-spacing: 5px; /* 文字間隔を広げてデザイン性を強調 */
}

/* 最新話の電光掲示板 */
#scrolling-text {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    background: transparent; /* 背景なしに */
    color: #333; /* 落ち着いた文字色 */
    font-size: 1.2em;
    font-weight: bold;
}

#scrolling-text p {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 20s linear infinite;
}

@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}



/* 掲示板スタイル */
#announcement-board {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

#announcement-board h2 {
    color: #007BFF;
    text-align: center;
}

#announcement-board ul {
    list-style: none;
    padding: 0;
}

#announcement-board li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

#announcement-board a {
    color: #ff4500;
    text-decoration: none;
    font-weight: bold;
}

#announcement-board a:hover {
    text-decoration: underline;
}

.related-novels {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*関連*/
.related-novels h2 {
    text-align: center;
    margin-bottom: 20px;
}

.related-novels .novel-item {
    margin: 10px;
    text-align: center;
}

/*メモボックス*/
.sample-box-12 {
    border: 4px solid #82636b;
    border-radius: 240px 15px 185px 15px / 15px 200px 15px 185px;
    margin: 2em 0;
    padding: 2em;
}