* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f0f0f0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

main {
  flex: 1;
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #1a1f36;
  margin: 0 0 16px 8px;
  letter-spacing: 0.5px;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "ＭＳ Ｐ明朝", serif;
  padding-bottom: 6px;
}

h1,
h2,
h3 {
  color: #222;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2em);
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.5em);
  margin-top: 1em;
  margin-bottom: 0.2em;
  border-bottom: solid 3px #cce4ff;
  position: relative;
}

h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}

h3 {
  font-size: clamp(1rem, 2.5vw, 1.2em);
  margin-top: 1.5em;
  margin-bottom: 0.3em;
}

p {
  margin: 0 0;
}


ul {
  margin: 0.5em 0 0.5em 1.5em;
}

li {
  margin-bottom: 0.3em;
}

.important {
  color: #d33;
  font-weight: bold;
}

.note {
  background: #fff3cd;
  border-left: 4px solid #ffeeba;
  padding: 10px;
  margin: 10px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

th,
td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: left;
}

th {
  background: #eee;
}

.table-wrapper {
  max-height: 300px;
  overflow-y: auto;
}

#bugTable thead th {
  position: sticky;
  top: 0;
  background: #eee;
  z-index: 1;
}

figure {
  margin: 1em 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
}

figcaption {
  font-size: 0.9em;
  color: #555;
  margin-top: 0.3em;
}

details {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.5em 1em;
  margin: 1em 0;
  background-color: #f9f9f9;
}

summary {
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  outline: none;
  padding: 0.2em 0;
}

summary::before {
  content: "▶ ";
  font-size: 0.9em;
  transition: transform 0.2s;
  display: inline-block;
}

details[open] summary::before {
  transform: rotate(90deg);
}

@media (max-width: 550px) {
  #bugTable {
    font-size: 0.7em;
  }
}

@media (max-width: 460px) {
  #bugTable {
    font-size: 0.5em;
  }
}