/* ===== ベース（スマホ基準20260208 UTF-8） ===== */

/* =========================
   Base (Mobile First)
========================= */

html {
  font-size: 16px; /* ブラウザ標準 */
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Kaku Gothic Pro",
    "Noto Sans JP",
    "Meiryo",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #000033;
  margin: 0;
}

/* 画像は画面に収まるように */
img {
  max-width: 100%;
  height: auto;
}

/* リンク */
a:link,
a:visited {
  color: #0000FF;
}

a:hover {
  color: #FF0000;
  background-color: #FFFF99;
  text-decoration: underline;
}

a:active {
  color: #FF0000;
  background-color: #FFCCFF;
}

/* テーブル */
td,
.td_center {
  color: #000033;
}

.td_center {
  text-align: center;
}

/* 見出し */
h1 {
  font-size: 1.2rem;          /* 旧: 約20px相当 */
  font-weight: bold;
  color: #FFFFFF;
  background-image: url(../images/bg_grad_28.gif);
  background-repeat: repeat-x;
  text-indent: 10px;
}

h2 {
  font-size: 1.1rem;          /* 旧: 約14px相当 */
  font-weight: bold;
  color: #000000;
  background-color: #DFDDFF;
  border-bottom: 1px solid #666666;
  border-left: 10px solid #666666;
  background-image: url(../images/bg_h2_18.gif);
  background-repeat: repeat-x;
  text-indent: 5px;
}

/* 画像ボックス（共通） */
.imagebox {
  background-color: #eeeeff;
  width: 300px;
  margin: 2px; /* 隣のイメージとの余白 */
}

p.image,
p.caption {
  text-align: center;
  margin: 0;       /* Box内余白：ここは0必須 */
  font-size: 0.9rem;
  color: black;    /* 文字色 */
}

/* スマホ用：横スクロール領域 */
.scroll {
  overflow: auto;
  white-space: nowrap;
}

/* =========================
   Tablet and up (>= 641px)
========================= */
@media (min-width: 641px) {
  body {
    font-size: 0.75rem; /* 旧TB/PCの12px相当の見た目に寄せる */
  }

  /* 旧TB/PCと同じく横並び */
  .imagebox {
    float: left;
  }
}

/* =========================
   PC and up (>= 918px)
========================= */
@media (min-width: 918px) {
  #wrapperBox {
    width: 918px;
    margin-bottom: 5px;
  }

  h1 {
    font-size: 1.25rem;  /* 約20px */
    line-height: 1.4;
  }

  h2 {
    font-size: 0.875rem; /* 約14px */
    line-height: 1.3;
  }
}
