@charset "UTF-8";
/* Generic base stylesheet — the original theme CSS was not archived.
   Provides readable typography and a coherent single-column layout for the
   preserved text content. Kept intentionally minimal and generic. */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: #fbf7f0;
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    "Yu Gothic", "游ゴシック", "MS PGothic", sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

#dorakids { background: #fbf7f0; }

#contents {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px 48px;
  background: #fff;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: #e8630a; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.4;
  color: #c94f00;
}
h1 { font-size: 1.7em; margin: .2em 0 .8em; }
h2 {
  font-size: 1.35em;
  margin: 1.6em 0 .7em;
  padding: .35em .6em;
  border-left: 6px solid #e8630a;
  background: #fff4e8;
  color: #b34500;
}
h3 { font-size: 1.15em; margin: 1.3em 0 .5em; color: #b34500; }
h4 { font-size: 1.05em; margin: 1.1em 0 .4em; }

p { margin: .6em 0; }

ul, ol { margin: .6em 0; padding-left: 1.6em; }
li { margin: .25em 0; }

/* Navigation blocks (image-based in the original; kept legible as text lists) */
.menu, #topmenu, #coursemenu, #bottommenu, #submenu, #classmenu {
  margin: .4em 0;
}
.menu a, #topmenu a, #coursemenu a, #bottommenu a {
  margin-right: 1em;
}

/* Main content wrappers */
#main, #nakami, #reportbody, #reporttop, #schoolinfo, #catchcopy {
  margin: 1em 0;
}
.nerai { margin: .5em 0; }

table {
  border-collapse: collapse;
  margin: 1em 0;
  max-width: 100%;
}
th, td {
  border: 1px solid #e3d9c8;
  padding: 6px 10px;
  vertical-align: top;
}
th { background: #fff4e8; }

/* Footer / copyright */
#footer { margin-top: 2.5em; }
#copyright {
  margin-top: 1.5em;
  padding: 1.2em 0;
  border-top: 2px solid #f0e6d6;
  color: #888;
  font-size: .82em;
  line-height: 1.6;
  text-align: center;
}

hr { border: 0; border-top: 1px solid #eadfce; margin: 1.5em 0; }
