/* mt side story css 2026.08.19 */
  body {
    font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    line-height: 1.8;
    color: #333333;
    background-color: #f7f9fa;
    margin: 0;
    padding: 20px;
  }
/* 全体の基本設定（ボックスサイズの計算を統一） */
* {
  box-sizing: border-box;
}

/* 本文コンテナ（パソコン表示時は中央寄せ、幅を固定せず最大幅で制御） */
.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px;
  background: #ffffff;
}
header {
            text-align: center;
            margin-bottom: 0px;
            border-bottom: 1px solid #2b6cb0;
            padding-bottom: 5px;
        }
/* パソコン表示時の画像の回り込み設定 */
/*
.image {
  float: left;
  width: 400px;
  max-width: 45%;
  margin: 0 20px 15px 0;
}
*/
h1 {
    font-size: 24px;
    color: #1a365d;
    border-bottom: 1px solid #2b6cb0; 
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom:0px;
    text-align: center;
    letter-spacing:2px;
  }
  h2 {
    font-size: 20px;
    color: #2b6cb0;
    border-left: 6px solid #2b6cb0;
    padding-left: 12px;
    margin-top: 40px;
    margin-bottom: 20px;
    background: #edf2f7;
    padding-top: 8px;
    padding-bottom: 8px;
    clear: both;
}
  h3 {
    font-size: 17px;
    color: #2d3748;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #cbd5e0;
    padding-bottom: 6px;
    clear: both;
  }
  p {
    margin-bottom: 1.5em;
    text-indent: 1em;
  }
.tabi_index ol {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px 20px 20px 40px;
    margin-bottom: 1.5em;
    list-style-type:none;
  }
  .tabi_index ol li {
    margin-bottom: 6px;
  }
.tabi_index ol li  a {
    text-decoration:none;
  }
.tabi_index ol li  a:hover {
    background: #edf2f7;
  }

 .image-box {
     float: left;
     width: 70%;          /* 幅を制限して文章が入る隙間を作る */
     max-width: 70%;        /* 画面幅に応じた上限 */
     margin: 0 20px 15px 0; /* 画像の右側・下側に余白を空ける */
  }
  .image-box img {
    width:100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
  .image-caption {
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
    text-align: center;
    font-weight: bold;
  }
  .image-box img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
  ol {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px 20px 20px 40px;
    margin-bottom: 1.5em;
  }
  ol li {
    margin-bottom: 6px;
  }
   .page_counter {
        color:#000;
   }
.tope , .modoru {
   width:8%;
   border:1px solid black;
   border-radius:5px;
   text-align:center;
}
.tope a, .modoru a {
   text-decoration: none;
}
.tope a:hover , .modoru a:hover {
    background: #edf2f7;
    display:block;
  }

/* --------------------------------------------------
   画面幅768px以下（タブレット・スマートフォン）の設定
--------------------------------------------------- */
@media screen and (max-width: 768px) {
  body {
    padding: 5px; /* 画面端の余白を狭くする */
  }

  .container {
    padding: 5px 8px; /* スマホでの内側余白を調整 */
  }

  /* 見出しの文字サイズを画面に合わせて少し小さく */
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 16px;
  }

  /* スマホでは画像の回り込みを解除し、中央寄せで縦並びにする */
  .image-box {
    float: none;           /* 回り込みを解除 */
    width: 100%;           /* 幅いっぱいに広げる */
    max-width: 100%;
    margin: 20px auto;     /* 上下に余白を取り、中央寄せ */
  }
  .image-caption {
    font-size: 12px;
  }
.tope , .modoru {
   width:15%;
  }

}
