@charset "utf-8";

body {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #666;
  word-break: break-all; 
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: #f7f6fb;
}

h5, h6 {
  margin: 0; /* Add to Modern CSS Reset */
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a:link,
a:visited {
  color: #666;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  opacity: 0.6;
  transition: 0.6s;
}

.pad-5 {
  padding: 5px;
}

.pad-10 {
  padding: 10px;
}

.pad-15 {
  padding: 15px;
}

.pad-20 {
  padding: 20px;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.date-margin {
  margin-top: -10px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

header {
  display: block;
  text-align: center;
  line-height: 1.6;
  background-color: #cce5ff;
}

header h2 {
  font-size: 1.3rem;
}

header h2 a {
  color: #666;
  text-decoration: none;
}

header h2 a:hover {
  text-decoration: underline;
}

footer {
  display: block;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 10px;
}

.article-contents {
  max-width: 100%;
  margin-bottom: 30px;
}

.single-contents {
  max-width: 100%;
}

.article-contents h4,
.single-contents h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.article-contents h4 a,
.single-contents h4 a {
  color: #666;
  text-decoration: none;
}

.article-contents h4 a:hover,
.single-contents h4 a:hover {
  text-decoration: underline;
}

.article-contents pre,
.single-contents pre {
  overflow: auto;
}

.article-contents img,
.single-contents img {
  margin-top: 10px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  border: 1px solid #ccc;
  margin-right: 5px;
  padding: 10px;
}

.pagination a:hover {
  opacity: 0.6;
  transition: 0.6s;
}

.pagination a:active {
  background-color: #999;
  transition: none;
}