@charset "UTF-8";

html {
  font-size: 16px;
  color: #e6e6fa ; /*#000;*/ /* XP風に黒寄り */
  background: #f0f0f0; /*#d4d0c8;*/ /* XPクラシックの標準背景 */
}

body {
  margin: 20px auto;
  padding: 1rem;
  max-width: 900px;
  line-height: 1.7;
  background: #333; /*#ffffff;*/ /* 本文エリアは白 */
  font-family: "M PLUS 1", "Kosugi", "Noto Sans JP",
               Tahoma, "MS Sans Serif", sans-serif;
  border: 2px solid #808080; 
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #404040; /* XP枠風 */
}

p {
  text-indent: 1em;   /* 段落冒頭を1文字分下げる */
  margin: 0 0 1em;    /* 段落ごとに下だけ余白 */
}

/* 見出し */
/*リセット*/
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}
/*デザイン*/
/*リセット*/
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}
/*デザイン*/
h1 {
  font-size: 45px;
  font-weight: bold;
  padding: 10px 20px;
  margin-bottom: 1em;
  color: #2f4f4f ;
  border-radius: 10px;
  background: #f0f8ff;
}
h2 {
  font-size: 35px;
  font-weight: bold;
  padding: 15px 30px;
  margin-bottom: 1em;
  /*color: #ffffff;*/
  border-radius: 10px;
  background: #6495ed ;
}
h3 {
  font-size: 30px;
  font-weight: bold;
  padding: 10px 30px;
  margin-bottom: 1em;
  border-radius: 5px;
  background: #82C3EC;
}
h4 {
  font-size: 25px;
  font-weight: bold;
  padding: 10px 20px;
  margin-bottom: 1em;
  border-radius: 5px;
  background: #b0c4de ;
  color: #ffffff ;
}
h5 {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 20px;
  margin-bottom: 1em;
  border-bottom: 3px double #E7EFEE;
}
h6 {
  font-size: 15px;
  font-weight: bold;
  padding: 10px 20px;
  margin-bottom: 1em;
  border-bottom: 3px dotted #E7EFEE;
}

/* ボックス要素（囲み枠） */
.box {
  margin: 1em 0;
  padding: 0.8em;
  background: #000000 ;
  color: #ffffff ;
  border: 2px solid #808080;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #404040;
}

/* ボタン */
button, .btn {
  padding: 4px 12px;
  font-family: inherit;
  font-size: 0.95em;
  color: #000;
  background: #e0e0e0;
  border: 2px solid #808080;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #404040;
  cursor: pointer;
}

button:hover, .btn:hover {
  background: #c0c0c0;
}

/* リンク */
a {
  color: #0000ff;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
}

/* フッター */
footer {
  width: 100%;
  height: 30px; 
  text-align: center;
  color: #2f4f4f ;
  background: #f0f8ff ;
}

/* 区切り線 */
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2em 0;
  }
