/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', Meiryo, sans-serif;
  color: #333;
  line-height: 1.85;
  background: #f4faf4;
}
a { color: #2e7d32; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
header {
  background: #2e7d32;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.site-title { display: flex; flex-direction: column; text-decoration: none; }
.site-title-main { font-size: 1.3rem; font-weight: bold; color: #fff; line-height: 1.2; }
.site-title-sub  { font-size: 0.72rem; color: #c8e6c9; }
.site-title:hover .site-title-main { opacity: 0.88; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #a5d6a7;
  color: #fff;
  font-size: 1.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
}
nav a {
  color: #c8e6c9;
  font-size: 0.82rem;
  white-space: nowrap;
}
nav a:hover { color: #fff; text-decoration: none; }
nav a.active { color: #fff; font-weight: bold; border-bottom: 2px solid #a5d6a7; }

/* ── Main / 1-column ── */
main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem 4rem;
}
.content-wrapper {
  background: #fff;
  border-radius: 6px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ── Typography ── */
h1 { font-size: 1.75rem; color: #1b5e20; margin: 1.25rem 0 0.9rem; line-height: 1.4; }
h2 { font-size: 1.35rem; color: #2e7d32; margin: 1.5rem 0 0.7rem;
     border-left: 4px solid #66bb6a; padding-left: 0.6rem; }
h3 { font-size: 1.1rem; color: #388e3c; margin: 1.2rem 0 0.5rem; }
h4 { font-size: 1rem; color: #2e7d32; margin: 1rem 0 0.4rem; }
p { margin: 0.7rem 0; }
ruby rt { font-size: 0.6em; }
small { font-size: 0.82em; }
hr { border: none; border-top: 1px solid #c8e6c9; margin: 1.5rem 0; }

/* WP heading classes */
.wp-block-heading { }
.has-text-align-center, .c { text-align: center; }

/* Colour utility classes (original site) */
.bold-green { color: #1b5e20; font-weight: bold; }
.bold-red   { color: #c62828; font-weight: bold; }
.r          { color: #c62828; }
.marker     { background: linear-gradient(transparent 60%, #fff176 60%); }
.marker-under-blue { border-bottom: 2px solid #1565c0; }
.P18        { font-size: 1.125rem; }
.link       { cursor: pointer; color: #1565c0; }

/* Separator */
hr.separator { border-top: 2px dashed #a5d6a7; margin: 1rem 0; }

/* Images */
img { max-width: 100%; height: auto; display: block; }
figure { margin: 1rem 0; }
figcaption { font-size: 0.8rem; color: #666; text-align: center; margin-top: 0.3rem; }
.wp-block-image { margin: 1rem 0; }
.wp-block-image.aligncenter { text-align: center; }
.wp-block-image.aligncenter img { margin: 0 auto; }

/* Columns (WP layout → stack) */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.wp-block-column  { flex: 1 1 200px; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
th, td { border: 1px solid #c8e6c9; padding: 0.45rem 0.7rem; text-align: left; }
th { background: #e8f5e9; color: #1b5e20; font-weight: bold; }
tr:nth-child(even) td { background: #f9fff9; }

/* Details/Summary */
details { border: 1px solid #a5d6a7; border-radius: 4px; margin: 0.75rem 0; padding: 0 0.75rem; }
summary { padding: 0.5rem 0; cursor: pointer; font-weight: bold; color: #2e7d32; }
details[open] { padding-bottom: 0.75rem; }

/* LINE button area */
.line-wrap { text-align: center; margin: 1rem 0; }

/* Blog list */
.blog-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }
.blog-list li { border-left: 3px solid #66bb6a; padding-left: 0.75rem; }
.blog-list a { font-size: 0.95rem; }
.blog-date { font-size: 0.8rem; color: #777; display: block; }

/* ── Footer ── */
footer {
  background: #1b5e20;
  color: #c8e6c9;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.84rem;
  margin-top: 3rem;
}
footer a { color: #a5d6a7; }

/* ── Report list ── */
.report-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.report-item { display: flex; align-items: baseline; gap: 0.75rem; border-left: 3px solid #66bb6a; padding-left: 0.75rem; }
.report-date { font-size: 0.8rem; color: #777; white-space: nowrap; }
.report-item a { font-size: 0.95rem; color: #1b5e20; }
.report-item a:hover { text-decoration: underline; }
footer a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  nav { width: 100%; display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0.1rem; padding: 0.5rem 0; }
  nav a { font-size: 0.9rem; padding: 0.25rem 0; display: block; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.15rem; }
  .content-wrapper { padding: 1rem 1rem; }
  main { margin: 1rem auto; padding: 0 0.5rem 3rem; }
}
