/* 緑帯7のホームページ */

:root {
  --bg: #fff;
  --fg: #000;
  --link: #0000ee;
  --side-bg: #eeeefc;
  --line: #999;
  --accent: #f00;
  --side-width: 340px;

  --dot-pink: #ffcccc;
  --dot-green: #00ff00;
  --dot-cyan: #00ffff;
  --dot-blue: #0099ff;
  --dot-navy: #3333aa;
  --dot-magenta: #cc00cc;

  /* 背景の透かし文字 */
  --watermark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='260'><g font-family='Monotype Corsiva,Apple Chancery,URW Chancery L,Z003,cursive,serif' font-style='italic' font-size='58' fill='%23c4ecd6'><text x='0' y='90'>Green Belt 7</text><text x='210' y='220'>Green Belt 7</text></g></svg>");

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
[hidden] { display: none; }
[id] { scroll-margin-top: 12px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

a { color: var(--link); }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }

.page {
  display: flex;
  min-height: 100vh;
  border-top: 5px solid #333;
}

nav {
  width: var(--side-width);
  flex: none;
  background: var(--side-bg);
  border-right: 3px solid var(--line);
  padding: 60px 0 20px 26px;
}
nav a {
  display: block;
  margin: 0 0 33px;
  font-size: 18px;
}

.dot {
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: -3px;
}
.dot--pink    { background: var(--dot-pink); }
.dot--green   { background: var(--dot-green); }
.dot--cyan    { background: var(--dot-cyan); }
.dot--blue    { background: var(--dot-blue); }
.dot--navy    { background: var(--dot-navy); }
.dot--magenta { background: var(--dot-magenta); }

main {
  flex: 1;
  min-width: 0;
  padding: 20px 24px 40px;
  background: var(--watermark) repeat;
}

h1 {
  font-size: 38px;
  text-align: center;
  margin: 40px 0 28px;
  font-weight: 700;
}
.center { text-align: center; font-size: 18px; margin: 0 0 16px; }
.section-title { font-size: 16px; margin: 10px 0 6px; }

.cols {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.left { width: 300px; max-width: 100%; }
.left img { display: block; width: 100%; height: auto; }
.left p { margin: 10px 0 0; }
.right { flex: 1; min-width: 240px; }

.news-item { margin: 0 0 0 2em; }
.news-item--gap { margin-top: 10px; }
.new { color: var(--accent); font-weight: 700; }
.link-list { margin: 0 0 0 1em; padding-left: 1em; list-style: none; }

/* スマホ */
@media (max-width: 760px) {
  .page { flex-direction: column; }
  nav {
    width: 100%;
    border-right: 0;
    border-bottom: 3px solid var(--line);
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
  }
  nav a { margin: 0; font-size: 16px; }
  h1 { font-size: 28px; margin-top: 20px; }
}
