/* ================================
   全体の背景など（必要なら調整）
================================ */

/* indexページだけ背景あり */
.index-page {
    background-image: url("./img/title2.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center top;
}
.counter-box {
  background: rgba(255,255,255,0.4);
  padding: 4px 8px;
  border-radius: 4px;
}

/* ほかのページは背景なし（白） */
body {
 margin-top: 25px;
    background: #ffffff;
}
/* ================================
   左上固定バナー（banaa）
================================ */
.right-banner {
    position: fixed;
    top: 60px; /* marqueeの下に来るように調整 */
    left: 20px;
    height: 80px;
    z-index: 2000;
}

/* ================================
   3カラム全体レイアウト
================================ */
.layout {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 120px; /* marquee + バナーの高さぶん余白 */
    box-sizing: border-box;
}

/* ================================
   左カラム（LIGHT）
================================ */
.col-left {
    width: 200px;
    padding: 20px;
    box-sizing: border-box;
}

.left-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-button {
    display: block;
    background-color: #ff99cc;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.menu-button:hover {
    background-color: #e688b8;
}

/* ================================
   中央カラム（CENTER）
================================ */
.col-center {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
}

/* ナビボタン */
.nav-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.nav-buttons .btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #7ed957;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.2s;
}

.nav-buttons .btn:hover {
    background-color: #5cb743;
}

/* 小説ボタン（NOVEL） */
.novel-box {
    display: inline-block;
    background-color: rgba(126, 217, 87, 0.6);
    padding: 40px 60px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.novel-box a {
    text-decoration: none;
    color: #000;
}

/* メイン info */
.info {
    text-align: center;
    font-size: 16px;
    margin-top: -50px;   /* ← 上に持ち上げる（必要に応じて調整） */
    margin-bottom: 30px; /* ← 小説との間隔を広げる */
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
     width: 60%;      /* 好きな幅に */
    margin-left: 10%; /* 右寄りに移動 */
}


/* ================================
   右カラム（LEFT：更新履歴）
================================ */
.col-right {
    width: 260px;
    padding: 20px;
    box-sizing: border-box;
}

.update-log {
    background: rgba(255,255,255,0.8);
    padding: 15px;
    border-left: 2px solid #f3c4d4;
    font-size: 14px;
    color: #555;
}

.update-log h2 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
    color: #666;
}

.update-log ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.update-log li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}
.update-log {
    position: relative;
    top: -5px;
}

.update-log li:last-child {
    border-bottom: none;
}

.toggle-btn {
    margin: 10px auto 0;
    display: block;
    background: #f3c4d4;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
}

/* ================================
   フッター
================================ */
footer.copyright {
    position: fixed;
    bottom: 0;
    left: 0;                 /* ← 左端に固定する決め手 */
    background: rgba(255,255,255,0.7);
    padding: 10px 20px;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
    color: #333;
    z-index: 3000;
    white-space: nowrap;
}
/* ================================
   プロフィール画像（丸型・影つき）
================================ */
.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: block;
    margin-right* ← 右寄せの決め手 */
    margin-left: auto;
    margin-bottom: 10px;
}
.profile-credit {
    text-align: left;   /* ← 左寄せ */
    font-size: 12px;
    color: #666;
    margin-top: -5px;
}
.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #ffe4ec;
  color: #d84c73;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  margin-bottom: 10px;     /* ← ボタン同士の間隔 */
}

.menu-button:hover {
    background-color: #e688b8;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #7ed957;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: 0.2s;
}
.link-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  padding: 10px 16px;
  background-color: #ffe4ec;
  color: #d84c73;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.counter-box {
  position: fixed;
  bottom: 50px; /* コピーライトの上に配置 */
  left: 0;
  padding: 6px 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 2000;
}

