/* 利用規約・プライバシーポリシーの共通スタイル。色と文字はトップ（index.html）とチラシに合わせる（2026-11-15） */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #00C853;
  --green-d: #00A040;
  --green-l: #12D963;
  --forest: #14513C;
  --yellow: #FFE45C;
  --mint: #F1FBF4;
  --mint-2: #E6F6EC;
  --ink: #1F2D24;
  --sub: #5F7265;
  --sub-light: #8A9A8F;
  --line: #E3EEE6;
  --white: #FFFFFF;
  --warn-bg: #FFF8D6;
  --warn-border: #F2D766;
  --warn-text: #6B5300;
  --r: 24px;
  --r-sm: 14px;
  --pill: 999px;
  --max-w: 880px;
  --nav-h: 60px;
  --shadow-card: 0 18px 40px rgba(0, 60, 25, .16);
  --head: 'LINE Seed JP', 'Noto Sans JP', -apple-system, 'Hiragino Sans', sans-serif;
  --body: 'Noto Sans JP', 'LINE Seed JP', -apple-system, 'Hiragino Sans', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--body);
  background: var(--mint);
  color: var(--ink);
  line-height: 1.85;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* NAV（トップと同じ緑の帯） */
nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(0, 176, 72, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff;
}
.nav-inner {
  max-width: 1120px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.nav-brand .logo-box {
  width: 34px; height: 34px; border-radius: 10px; background: #fff;
  display: grid; place-items: center; flex: none;
}
.nav-brand img { width: 26px; height: 26px; }
.nav-brand span:last-child {
  font-family: var(--head); font-weight: 800; font-size: 16px; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-back {
  margin-left: auto; flex: none; text-decoration: none;
  font-family: var(--head); font-size: 14px; font-weight: 700; color: #fff;
  background: var(--forest); padding: 8px 18px; border-radius: var(--pill);
  transition: background .2s;
}
.nav-back:hover { background: #0E3C2C; color: #fff; text-decoration: none; }

/* 見出しの帯（トップのヒーローと同じグラデーション） */
.page-header {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 64px 24px 112px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, .10) 0 200px, transparent 201px),
    radial-gradient(circle at 6% 100%, rgba(255, 255, 255, .08) 0 160px, transparent 161px),
    linear-gradient(165deg, var(--green-l) 0%, var(--green) 45%, var(--green-d) 100%);
}
.eyebrow {
  display: table; margin-left: auto; margin-right: auto; font-family: var(--head); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; color: #fff;
  background: rgba(255, 255, 255, .2); border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: var(--pill); padding: 5px 16px; margin-bottom: 20px;
}
.page-title {
  font-family: var(--head); font-weight: 800; letter-spacing: .01em;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.3; margin-bottom: 14px;
}
/* 題名の黄色の下線（チラシの「やること」と同じ） */
.page-title {
  display: inline;
  background: linear-gradient(transparent 68%, var(--yellow) 68%, var(--yellow) 92%, transparent 92%);
  padding: 0 .12em;
}
.page-date { display: block; margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .88); }

/* 本文のカード（見出しの帯に少し重ねる） */
.container { position: relative; z-index: 1; max-width: var(--max-w); margin: -72px auto 0; padding: 0 24px 88px; }
.policy-card {
  background: var(--white); border-radius: var(--r);
  padding: 48px 52px; box-shadow: var(--shadow-card);
}
.intro { font-size: 15px; color: var(--ink); }
.section { margin-bottom: 40px; }
.section:last-child { margin-bottom: 0; }
.section-number {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 34px; padding: 0 8px; margin-bottom: 12px;
  font-family: var(--head); font-size: 13px; font-weight: 800; color: #fff;
  background: var(--green); border-radius: var(--pill);
  box-shadow: 0 4px 10px rgba(0, 160, 64, .25);
}
h2 {
  font-family: var(--head); font-size: 1.2rem; font-weight: 800; color: var(--forest);
  margin-bottom: 12px; letter-spacing: .01em; line-height: 1.5;
}
.subhead { font-family: var(--head); font-size: .98rem; font-weight: 700; margin-top: 20px; margin-bottom: 6px; color: var(--green-d); }
p { font-size: 14.5px; color: var(--sub); line-height: 1.95; margin-bottom: 10px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;
  background: var(--mint); border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 6px; color: var(--forest); word-break: break-all;
}
ul { padding-left: 0; list-style: none; margin-top: 10px; }
ul li {
  position: relative; padding: 9px 0 9px 20px;
  border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--sub); line-height: 1.8;
}
ul li:last-child { border-bottom: none; }
ul li::before {
  content: ''; position: absolute; left: 2px; top: calc(9px + .7em); width: 8px; height: 8px;
  background: var(--green); border-radius: 2px;
}
ol { padding-left: 0; list-style: none; counter-reset: list; margin-top: 10px; }
ol li {
  counter-increment: list; position: relative; padding: 9px 0 9px 34px;
  border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--sub); line-height: 1.8;
}
ol li:last-child { border-bottom: none; }
ol li::before {
  content: counter(list); font-family: var(--head); color: #fff; font-weight: 800; font-size: 11.5px;
  min-width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; position: absolute; left: 0; top: 12px;
}
.note {
  background: var(--mint); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--r-sm); padding: 14px 18px; margin-top: 14px;
  font-size: 13.5px; color: var(--sub); line-height: 1.85;
}
.warn {
  background: var(--warn-bg); border: 1px solid var(--warn-border); border-left: 4px solid var(--yellow);
  border-radius: var(--r-sm); padding: 14px 18px; margin-top: 14px;
  font-size: 13.5px; color: var(--warn-text); line-height: 1.85;
}
.warn strong { color: var(--warn-text); }
.divider { height: 1px; background: var(--line); margin: 36px 0; }
a { color: var(--green-d); text-decoration: none; font-weight: 500; }
a:hover { color: var(--forest); text-decoration: underline; }

/* FOOTER（トップと同じ濃い緑） */
footer { background: var(--forest); color: rgba(255, 255, 255, .85); padding: 36px 0 28px; }
.ft-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ft-bottom {
  font-size: 12.5px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 20px;
}
.ft-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; margin-right: 16px; font-weight: 500; }
.ft-bottom a:last-child { margin-right: 0; }
.ft-bottom a:hover { color: var(--yellow); text-decoration: none; }

@media (max-width: 640px) {
  .nav-inner { padding: 0 16px; }
  .nav-brand span:last-child { font-size: 14px; }
  .nav-back { font-size: 13px; padding: 7px 14px; }
  .page-header { padding: 44px 16px 84px; }
  .container { margin-top: -56px; padding: 0 16px 64px; }
  .policy-card { padding: 28px 20px; border-radius: 20px; }
  .divider { margin: 28px 0; }
  .section { margin-bottom: 32px; }
  p, ul li, ol li { font-size: 14px; }
  .ft-inner { padding: 0 16px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
  .ft-bottom a { display: inline-block; margin: 0 14px 6px 0; }
}
