/* --- news-md markdown表示領域 --- */
#news-md {
  /* Removed box styling for cleaner look */
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 1.2em;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05em;
  line-height: 1.7;
  min-height: 400px;
}
/* --- policy-md markdown表示領域 --- */
#policy-md {
  margin-bottom: 1.2em;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  /* Removed box styling for cleaner look */
  padding: 0;
  font-size: 1.05em;
  line-height: 1.7;
  height: 600px;
  overflow-y: auto;
}
@media (max-width: 700px) {
  #policy-md {
    height: 400px;
  }
}
#policy-md h1, #policy-md h2, #policy-md h3, #policy-md h4, #policy-md h5, #policy-md h6 {
  text-align: left;
  font-weight: bold;
  margin-top: 1.2em;
}
#policy-md ul, #policy-md ol {
  text-align: left;
  margin-left: 1.2em;
}
#policy-md p {
  text-align: left;
  margin: 0.7em 0;
}
#policy-md table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}
#policy-md th, #policy-md td {
  border: 1px solid #bbb;
  padding: 0.5em 0.8em;
  text-align: left;
}
#policy-md pre, #policy-md code {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-size: 0.98em;
}
/* --- Reset CSS --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
*, *:before, *:after { box-sizing: border-box; }
body {
  background: #e5e5e5;
  color: #111;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', Arial, sans-serif;
  line-height: 1.8;
}
a {
  color: #111;
  text-decoration: underline;
  transition: color .2s;
}
a:hover { color: #000; }
header {
  background: #fff;
  border-bottom: 2px solid #bbb;
  text-align: center;
  padding: 1.2em 0 1em 0;
}
header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.2em 0;
  color: #111;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1em;
  text-align: center;
  padding: 0;
  margin: 0;
}
nav li { display: inline-block; }
nav a {
  color: #111;
  background: #e5e5e5;
  font-weight: 600;
  font-size: 1em;
  padding: 0.7em 1.5em;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 1px 2px #bbb;
  display: inline-block;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
nav a:hover {
  background: #111;
  color: #fff;
}
.catch {
  background: #fff;
  color: #111;
  font-size: 1.12rem;
  font-weight: 600;
  text-align: center;
  padding: 1em 0.7em;
  margin: 1.2em auto;
  border-radius: 10px;
  box-shadow: 0 1px 4px #bbb;
  max-width: 600px;
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5em 1em 2em 1em;
}
section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px #bbb;
  margin-bottom: 1.5em;
  padding: 1.2em 1em 1em 1em;
}
h2 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.7em 0;
  border-left: 4px solid #bbb;
  padding-left: 0.7em;
}
ul, ol {
  margin: 0.5em 0 1em 0;
  padding-left: 1.5em;
  list-style-position: inside;
}
li {
  margin-bottom: 0.4em;
}
.policy-list {
  margin: 2em 0 0.5em 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.policy-list .policy-item {
  font-size: 2rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 1em;
  line-height: 1.2;
  text-align: center;
}
.policy-list .policy-desc {
  font-size: 1rem;
  color: #333;
  margin-top: 0.2em;
  display: inline-block;
  text-align: center;
}
.cta-btn, button[type="submit"] {
  display: inline-block;
  background: #111;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  box-shadow: 0 1px 4px #bbb;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  margin: 0.5em 0.2em 0.2em 0;
  white-space: nowrap;
}
.cta-btn:hover, button[type="submit"]:hover {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}
footer {
  background: #e5e5e5;
  color: #111;
  padding: 1em 0.5em;
  text-align: center;
  font-size: 0.95em;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 -1px 4px #bbb;
  margin-top: 2em;
}
footer small {
  display: block;
  margin-top: .5rem;
}
.donate-form-section, .donate-done-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px #bbb;
  max-width: 600px;
  margin: 2em auto;
  padding: 2em 1.2em 1.5em 1.2em;
}
.note {
  background: #e5e5e5;
  border-radius: 7px;
  padding: 0.7em 1em;
  margin-bottom: 1em;
  color: #111;
  font-size: 0.97em;
}
.field-group {
  margin-bottom: 1.2em;
  display: flex;
  flex-direction: column;
}
label {
  font-weight: 500;
  margin-bottom: 0.3em;
}
input, select, textarea {
  font-size: 1em;
  padding: 0.5em 0.7em;
  border-radius: 5px;
  border: 1.2px solid #bbb;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
input[type="checkbox"] {
  accent-color: #bbb;
  margin-right: 0.5em;
  vertical-align: middle;
  width: 1.1em;
  height: 1.1em;
}
button[type="submit"], .cta-btn {
  background: #111;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  box-shadow: 0 1px 4px #bbb;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  margin: 0.5em 0.2em 0.2em 0;
  white-space: nowrap;
  display: inline-block;
}
button[type="submit"]:hover, .cta-btn:hover {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}
@media (max-width: 600px) {
  header h1 { font-size: 1.1rem; }
  nav ul { gap: 0.5em; }
  nav a { font-size: 1em; padding: 0.7em 1em; border-radius: 14px; }
  .catch { font-size: 0.97rem; padding: 0.6em 0.1em; margin: 0.7em auto 1em auto; border-radius: 7px; max-width: 99vw; }
  main { padding: 0.5em 0.1em 1em 0.1em; max-width: 100vw; }
  section { padding: 0.7em 0.3em 0.7em 0.3em; border-radius: 7px; margin-bottom: 1em; box-shadow: 0 1px 4px #bbb; }
  h2 { font-size: 1em; padding-left: 0.3em; margin-bottom: 0.5em; }
  .cta-btn, button[type="submit"] { font-size: 0.95em; padding: 0.6em 1em; border-radius: 10px; }
  .policy-list .policy-item { font-size: 1.1rem; margin-bottom: 0.7em; }
  .policy-list .policy-desc { font-size: 0.97rem; margin-top: 0.2em; }
  footer { padding: 0.7em 0.2em; border-radius: 0; box-shadow: none; font-size: 0.9em; margin-top: 1em; }
  .donate-form-section, .donate-done-section {
    padding: 1em 0.2em 1em 0.2em;
    max-width: 99vw;
  }
}
