.page{
    width:100%;
    box-sizing:border-box;
}

@media (min-width:1024px){

    .page{
        max-width:1100px;
        margin:0 auto;
        padding:0 30px;
    }

}

body {
    margin: 0;
    background: #000;
    color: #d8b070;
    text-shadow: 0 0 3px rgba(255,180,80,.18);
    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;

    /* PC */
    padding-bottom: 90px;
}

/* スマホだけ余白を増やす */
@media (max-width: 768px) {
    body {
        padding-bottom: 140px;
    }
}

img {
    width:100%;
    height:auto;
}

hr {
    border: none;
    border-top: 1px solid #b8860b;
}

/* =====================================================
   ■ メニュー（.site-menu 仕様アップデート版）
===================================================== */
.site-menu {
    text-align: center;
    padding: 8px 0;
    border-top: 1px solid #c58a3a;
    border-bottom: 1px solid #c58a3a;
    box-shadow: 0 0 6px rgba(255,180,80,.18);
    background: #000; /* 背景を漆黒に固定 */
}

/* メニューのリンク（あの美しいアンバー系カラー） */
.site-menu a {
    color: #d8b070;
    text-decoration: none;
    padding: 0 18px;
    /* 💡 これが、お目当ての「|」の仕切り線の正体です！ */
    border-right: 1px solid #8a5a2b; 
    font-size: 14px;
    font-weight: bold;
    transition: color 0.2s;
}

/* 最後のメニュー（ABOUT）の右側の仕切り線だけを消去するスマートな処理 */
.site-menu a:last-child {
    border-right: none;
}

/* ホバー（マウスを載せた時）は、まばゆい白に変化 */
.site-menu a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* 💡 アクティブ（現在開いているページ）のスタイルを追加！
   各ページの自分自身のリンクに class="active" を付けると、
   その文字がゴールド（#ffb84d）に輝くようになります */
.site-menu a.active {
    color: #ffb84d;
    text-shadow: 0 0 8px rgba(255,184,77,0.6);
    pointer-events: none; /* 現在地なのでクリック連打できないように防御 */
}

.about-footer {
    margin-top: 50px;
    text-align: center;
}

.special-thanks {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.avatar img {
    width: 200px;
    margin: 18px auto 0;
}

.kmw-btn {
  height: 48px;
  background: #222;
  border: 1px solid #333;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ロング再生ボタン */
.kmw-btn-wide {
  width: 110px;
  justify-content: center;
  gap: 8px;
}

.kmw-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1, h2, h3 {
	margin-top: 30px;
    margin-bottom: 8px;
}

p {
    margin-top: 0;
}

/* Linksページ */
.link-item {
    margin-bottom: 24px;
    line-height: 1.6;
}

.link-item a {
    color: #ffcc33;          /* アンバー */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s;
}

.link-item a:hover {
    color: #ffe680;          /* 少し明るく */
    text-decoration: underline;
}

.link-item a:visited {
    color: #d8a800;          /* 訪問済みは少し落ち着いた色 */
}

.link-item span {
    display: block;
    margin-top: 4px;
    color: #cccccc;          /* 説明文は淡いグレー */
    font-size: 0.95em;
}

.track {
    font-size: 1.1em;
    font-weight: bold;
}

.choice-comment {
    font-size: 1em;
    margin-bottom: 2px;
}

.choice-guide {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 0;
}

.sub-title{
    font-size: 0.6em;
    font-weight: normal;
}

.about-sub{
    font-size: 0.9em;
    font-weight: normal;
}

.log-link {
    color: #ffd060;
    text-decoration: none;
}

.log-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.archive-link{
    font-size:0.55em;
    font-weight:normal;
    margin-left:12px;
    vertical-align:middle;
}

.archive-link a{
    color:#d8b15b;          /* 見やすいアンバー */
    text-decoration:none;
}

.archive-link a:hover{
    color:#ffd78a;
    text-decoration:underline;
}

/* =========================================================
   BBS Archive
========================================================= */
.archive-link {
    margin-left: 12px;
    font-size: 0.55em;
    color: #9a7a42;
    text-decoration: none;
}

.archive-link:hover {
    color: #ffd27a;
}

.archive-description{
    margin:0 0 30px;
    line-height:1.8;
}

.archive-description p{
    margin:0;
}

.archive-description small{
    display:block;
    margin-top:10px;
    color:#9aa4a8;
    line-height:1.7;
    font-size:0.9em;
}

.archive-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin:30px 0;
    padding:12px 0;
    border-top:1px solid #444;
    border-bottom:1px solid #444;
}

.archive-nav a{
    color:#8fd7e8;
    text-decoration:none;
    transition:.2s;
}

.archive-nav a:hover{
    color:#ffd56a;
}

.archive-period{
    color:#888;
    font-size:.9em;
}

.archive-month{
    margin:40px 0 12px;
    color:#d6b35a;
    font-size:.9em;
    letter-spacing:2px;
    text-transform:uppercase;
}

.archive-post{
    padding:18px 0 24px;
    border-top:1px solid #444;
}

.archive-meta{
    color:#888;
    font-size:.85em;
    margin-bottom:6px;
}

.archive-name{
    color:#d6b35a;
    font-weight:bold;
    margin-bottom:14px;
}

.archive-body{
    color:#dddddd;
    line-height:1.9;
}

.archive-body p{
    margin:0 0 1em;
}

.archive-body a{
    color:#8fd7e8;
}

.archive-body a:hover{
    color:#ffd56a;
}

.archive-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:6px;
    font-size:0.85rem;
}

.archive-nav a{
    white-space:nowrap;
}

.archive-period{
    font-size:0.8rem;
}

.page-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;   /* リンク同士の間隔 */
  margin: 40px 0;
  padding-top: 20px;
  border-top: 1px solid #666;
}

.page-nav a {
  display: inline-block;
  color: #d8b070;
  text-decoration: none;
}

.page-nav a:hover {
  text-decoration: underline;
}

#editors-note {
  margin-top: 0px;
  padding-top: 20px;
  /*border-top: 1px solid #666;*/
}