/* 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);
}
.hi {
  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;
}
.st { display: flex; flex-direction: column; text-decoration: none; }
.stm { font-size: 1.3rem; font-weight: bold; color: #fff; line-height: 1.2; }
.sts  { font-size: 0.72rem; color: #c8e6c9; }
.st:hover .stm { opacity: 0.88; }

/* Hamburger */
.nt {
  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.act { color: #fff; font-weight: bold; border-bottom: 2px solid #a5d6a7; }

/* ── Main / 1-column ── */
main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem 4rem;
}
.cw {
  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 */
.bh { }
.tc, .ct { text-align: center; }

/* Colour utility classes (original site) */
.bg { color: #1b5e20; font-weight: bold; }
.brd   { color: #c62828; font-weight: bold; }
.re          { color: #c62828; }
.mk     { background: linear-gradient(transparent 60%, #fff176 60%); }
.mub { border-bottom: 2px solid #1565c0; }
.p18        { font-size: 1.125rem; }
.lk       { cursor: pointer; color: #1565c0; }

/* Separator */
hr.sep { 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; }
.bi { margin: 1rem 0; }
.bi.ac { text-align: center; }
.bi.ac img { margin: 0 auto; }

/* Columns (WP layout → stack) */
.bc { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.bcl  { 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 */
.lw { text-align: center; margin: 1rem 0; }

/* Blog list */
.bls { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }
.bls li { border-left: 3px solid #66bb6a; padding-left: 0.75rem; }
.bls a { font-size: 0.95rem; }
.bld { 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 ── */
.rl { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.ri { display: flex; align-items: baseline; gap: 0.75rem; border-left: 3px solid #66bb6a; padding-left: 0.75rem; }
.rd { font-size: 0.8rem; color: #777; white-space: nowrap; }
.ri a { font-size: 0.95rem; color: #1b5e20; }
.ri a:hover { text-decoration: underline; }
footer a:hover { color: #fff; }

/* ── Dropdown ── */
.hd { position: relative; }
.hd .dp {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1b5e20;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  min-width: 120px;
  z-index: 200;
  padding: 0.3rem 0;
  list-style: none;
  flex-direction: column;
  gap: 0;
}
.hd:hover .dp,
.hd.open .dp { display: flex; }
.hd .dp li { width: 100%; }
.hd .dp a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  color: #c8e6c9;
  white-space: nowrap;
}
.hd .dp a:hover { color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .nt { 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; }
  .cw { padding: 1rem 1rem; }
  main { margin: 1rem auto; padding: 0 0.5rem 3rem; }
  /* Mobile dropdown */
  .hd .dp {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.15);
    border-radius: 0;
    padding: 0;
  }
  .hd .dp a { padding: 0.25rem 0 0.25rem 1.2rem; }
}
