@charset "UTF-8";
/* === base.css v20250809-fix2 ===
   - Light fixed / green brand tokens
   - Global list-style reset
   - Header nav bullets removed
   - Skip-link shows only on keyboard focus
================================================ */

/* 1) Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; } /* bullets off globally */
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
:root { color-scheme: light; } /* OS UI also light */

/* 2) Tokens */
:root {
  --bg: #ffffff;
  --fg: #222222;
  --muted: #60646c;

  /* Brand */
  --accent: #16a34a;       /* green-600 */
  --accent-hover: #15803d; /* green-700 */

  /* Surfaces */
  --border: #e5e7eb;
  --surface: #f6faf7;
  --shadow: 0 10px 20px rgba(0,0,0,.06), 0 6px 6px rgba(0,0,0,.05);

  /* Layout */
  --container: 1100px;
  --radius: 14px;
  --radius-lg: 20px;

  /* Header/Footer brand colors (can be overridden in style.css) */
  --header-bg: var(--accent);
  --header-fg: #fff;
  --footer-bg: var(--accent);
  --footer-fg: #fff;
}

/* 3) Base */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 4) Header & Footer base color */
header { background: var(--header-bg); color: var(--header-fg); }
header a { color: var(--header-fg); }
footer { background: var(--footer-bg); color: var(--footer-fg); }

/* 5) Container helper */
.main-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* 6) Buttons */
.cta-button, .link-button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff; font-weight: 700;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow: var(--shadow);
}
.link-button { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
.cta-button:hover, .btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.link-button:hover { color: #fff; background: var(--accent); }
.cta-button:focus-visible, .link-button:focus-visible, .btn:focus-visible {
  outline: 3px solid rgba(22,163,74,.35); outline-offset: 2px;
}

/* 7) Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; }

/* 8) Utilities */
.muted { color: var(--muted); }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }
.hidden { display: none !important; }

/* 9) Skip link ? focus only */
.skip-link{
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus-visible{
  position: fixed !important;
  left: 12px !important;
  top: 12px !important;
  width: auto; height: auto;
  padding: 10px 14px;
  z-index: 9999;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}

/* 10) Header nav list reset (safety) */
header nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
header nav li { margin: 0; padding: 0; }

/* 11) Nice-to-have */
::selection { background: var(--accent); color: #fff; }
a, button { -webkit-tap-highlight-color: rgba(22,163,74,.18); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
  header, footer, nav, .skip-link { display: none !important; }
}

/* ヘッダー全体を中央にまとめる */
.site-header {
  max-width: 1200px;   /* PC時の最大幅 */
  margin: 0 auto;      /* 中央寄せ */
  padding: 0 20px;     /* 端にくっつかないよう余白 */
}

/* ヘッダー内の配置は横並びのまま維持 */
.site-header .container {
  display: flex;
  justify-content: space-between; /* 左＝タイトル, 右＝ナビ */
  align-items: center;
}

/* ===== 全体共通レイアウト（中央寄せ） ===== */
.site-header,
.site-footer,
.main-content {
  max-width: 1200px;   /* PC表示での最大幅 */
  margin: 0 auto;      /* 中央寄せ */
  padding: 0 20px;     /* スマホ時の左右余白確保 */
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .footer-copy {
    font-size: 12px;
  }
  .footer-copy span.sp-hide {
    display: none;
  }
}

/* PC時（デフォルト：フル表記） */
.site-footer .copyright .short {
  display: none;
}

/* スマホ時（幅767px以下で短縮版だけ表示） */
@media screen and (max-width: 767px) {
  .site-footer .copyright .full {
    display: none;
  }
  .site-footer .copyright .short {
    display: inline;
  }
}
