html {
  overflow-y:scroll}

body {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  font-size:14px;
  letter-spacing:0.1px;
  line-height:2;
  background-color:#f2f2f7;
  color:#333;
  margin:0;
  padding:1em}

main {
  background:#fff;
  max-width:600px;
  margin:0 auto;
  padding:1em;
  border-radius:12px;
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
  box-sizing:border-box}

h1 {
  font-size:19px;
  margin-top:1.2em;
  margin-bottom:0.6em;
  word-break:keep-all}

main h1:first-child {
  margin-top:0}

h2 {
  font-size:17px;
  margin-top:1em;
  margin-bottom:0.5em}

h3 {
  font-size:15px;
  margin-top:0.8em;
  margin-bottom:0.4em}

p {
  margin-bottom:1em}

ul {
  padding-left:1.2em;
  margin-bottom:1em}

#searchBox {
  width:100%;
  padding:0.6em;
  font-size:0.95em;
  border:1px solid #ddd!important;
  border-radius:8px;
  background-color:#f9f9f9!important;
  box-sizing:border-box;
  transition:border-color 0.3s ease,background-color 0.3s ease!important}

#searchBox:hover {
  border-color:#bbb!important}

#searchBox:focus {
  border-color:#666!important;
  background-color:#fff!important;
  outline:none}

.center-content {
  text-align:center}

hr {
  border:none;
  border-top:0.5px solid #ccc;
  margin:2em 0;
  opacity:0.8}

.site-header {
  margin-bottom:2em;
  text-align:center}

.site-header-inner {
  max-width:760px;
  margin:0 auto}

.site-title-link {
  text-decoration:none;
  color:#333}


.site-title  {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
               "ヒラギノ角ゴ ProN", "游ゴシック体", "メイリオ", sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  color: #333;
  text-align: center;
  margin-top: 1rem;
}


.site-subtitle {
  font-weight:normal;
  margin-top:0.5em}

.top-intro {
  text-align:center;
  margin-bottom:3em}

.top-intro-text {
  font-size:1em;
  margin:0 auto;
  max-width:600px}

.top-search {
  text-align:center;
  margin-bottom:2em}

.top-search-inner {
  display:inline-block;
  text-align:left;
  width:90%;
  max-width:400px}

#resultsList {
  list-style:none;
  padding-left:0;
  margin-top:0.8em}

.top-tags {
  text-align:center;
  margin-bottom:2em}

.top-tags-inner {
  display:inline-block;
  text-align:left;
  width:90%;
  max-width:400px}

.top-tags-title {
  font-size:1.2em;
  margin-bottom:1em}

.top-tags-list {
  list-style:none;
  padding-left:0}

.site-footer {
  text-align:center;
  margin-top:3em;
  margin-bottom:1em;
  font-size:0.9em;
  color:#666}

.site-footer a {
  margin:0 1em;
  color:inherit;
  text-decoration:none}

.site-footer a:hover {
  text-decoration:underline}

.site-footer p {
  margin:0.5em 0}

.tags-footer {
  margin-top:2em;
  padding:0}

.tags-footer p {
  font-weight:bold;
  font-size:1.2em;
  margin-bottom:1.5em;
  line-height:1.4}

.tags-footer-links {
  display:flex;
  flex-wrap:wrap;
  gap:0.5em;
  font-size:1em}

.tags-footer-links a {
  display:inline-block;
  padding:0.4em 0.8em;
  border:1px solid #ccc;
  border-radius:9999px;
  background-color:#f8f8f8;
  color:#333;
  font-size:0.9em;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color 0.2s}

.tags-footer-links a:hover {
  background-color:#e0e0e0}

.fade-in {
  opacity:0;
  transform:translateY(20px);
  animation:fadeInAnimation 0.6s ease-out forwards}

@keyframes fadeInAnimation {
  0% {
  opacity:0;
  transform:translateY(20px)}

100% {
  opacity:1;
  transform:translateY(0)}
}

button.play-audio {
  display:inline-block;
  padding:6px 12px;
  margin-top:1.2em;
  margin-bottom: 1.2em;
  font-size:0.95em;
  border:1px solid #333;
  border-radius:6px;
  background-color:#f8f8f8;
  color:#333;
  cursor:pointer;
  text-align:center}

.play-audio-main {
  display:block}

.play-audio-sub {
  display:block;
  font-size:0.9em;
  margin-top:0.2em}

.tags-footer .last-update {
  text-align:right;
  font-weight:normal;
  font-size:0.9em;
  color:#444;
  margin-top:3em}

.info-center {
  text-align:center;
  margin:2em 0}

.info-center p {
  margin-bottom:0.5em;
  color:#333}

.tag-grid {
  display:flex;
  flex-wrap:wrap;
  gap:0.5em;
  margin-top:1em}

.tag-item {
  width:48%}

.top-counts {
  text-align:center;
  margin-bottom:2em}

.top-counts-inner {
  display:inline-block;
  text-align:left;
  width:90%;
  max-width:400px}

.top-counts-title {
  font-size:1.2em;
  margin-bottom:1em}

.top-counts-list {
  list-style:disc;
  padding-left:1.2em;
  margin-bottom:1em}

.pagination ul {
  display:flex;
  flex-wrap:wrap;
  gap:0.5em;
  padding-left:0;
  list-style:none;
  justify-content:center;
  margin-top:1em}

.pagination li a {
  display:block;
  padding:0.4em 0.8em;
  background-color:#f0f0f0;
  border-radius:6px;
  text-decoration:none;
  color:#333;
  font-weight:500}

.pagination li.active a {
  background-color:#333;
  color:#fff}

.accordion-button  {
  display: block;
  width: 100%;
  padding: 0.5em;
  font-weight: bold;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s;
  margin-top: 1.5em;
}

.accordion-content  {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

mark {
  background-color:#ffe0b2;
}

.blog-card {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin: 1em 0;
}
.blog-card-thumb img {
  width: 160px;
  height: 100%;
  object-fit: cover;
}
.blog-card-content {
  padding: 10px;
  background: #fff;
}
.blog-card-content h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.blog-card-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}
