/* 雨上がりの葉っぱの上:うすい若葉色の地に、白い葉っぱのカード。区切りはカタツムリが通ったあとの光る点線 */
:root {
  --bg: #f1f5ee; --surface: #ffffff; --ink: #2a3a2e; --muted: #5f6f63; --line: #dbe5d5;
  --leaf: #5e8f5c; --leaf-deep: #3d6743; --leaf-soft: #e3eedc; --rain: #9fbccb; --shell: #c98b4a; --shell-soft: #f6e6d4;
  --danger: #b4483c;
  --display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #131915; --surface: #1b231d; --ink: #e5ede2; --muted: #a3b1a5; --line: #2d3b30;
  --leaf: #86b97f; --leaf-deep: #b2d7a9; --leaf-soft: #22301f; --rain: #5f7f8e; --shell: #e2a96c; --shell-soft: #3a2c1f;
  --danger: #f08a7e; color-scheme: dark; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.85; }
a { color: var(--leaf-deep); }
img, svg { max-width: 100%; }
.wrap { max-width: 640px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }

header.site { padding-block: 14px; }
header.site .wrap { display: flex; align-items: center; gap: 10px; }
header.site img { width: 44px; height: auto; }
header.site .name { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.3; }
header.site .name small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }

.hero { padding-block: 28px 36px; text-align: left; }
.hero .art { width: min(260px, 70%); margin: 0 0 8px -6px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 8vw, 42px); line-height: 1.35; margin: 0 0 12px; text-wrap: balance; }
.hero p { margin: 0 0 22px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-family: var(--display); font-weight: 700; font-size: 17px;
  padding: 14px 26px; border-radius: 999px; border: 0; background: var(--leaf-deep); color: var(--surface); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--rain); outline-offset: 2px; }
.note-small { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* カタツムリの通ったあと */
.trail { height: 14px; margin-block: 8px; background-image: radial-gradient(circle, var(--rain) 2px, transparent 2.6px); background-size: 18px 14px; background-repeat: repeat-x; background-position: left center; opacity: .8; }

section { padding-block: 26px; }
section h2 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; text-wrap: balance; }
section h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--shell); flex: none; }
section p { margin: 0 0 12px; }

.leaf { background: var(--surface); border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; padding: 18px 20px; }
.speech { font-family: var(--display); font-size: 17px; line-height: 2; white-space: pre-line; }

.methods { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.methods li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.methods b { font-family: var(--display); display: block; font-size: 17px; color: var(--leaf-deep); }

.promise { margin: 0; padding-left: 1.2em; }
.promise li { margin-bottom: 6px; }

.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf-deep); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }

/* フォーム */
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.req { font-size: 11px; color: var(--surface); background: var(--shell); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.opt { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: 2px; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
input[type=text], input[type=email], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.choices input { accent-color: var(--leaf-deep); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.agree input { margin-top: 6px; accent-color: var(--leaf-deep); width: 18px; height: 18px; flex: none; }
.error { color: var(--danger); font-size: 13px; margin: 0; }
.notice { background: var(--shell-soft); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.notice ul { margin: 6px 0 0; padding-left: 1.2em; }
.done { text-align: center; }
.done img { width: 140px; }
.done h3 { font-family: var(--display); font-size: 22px; margin: 6px 0; }

footer.site { padding-block: 30px 40px; font-size: 13px; color: var(--muted); text-align: center; }
footer.site a { color: var(--muted); }

/* プライバシーポリシー */
.doc h1 { font-family: var(--display); font-size: 26px; margin: 18px 0; }
.doc h2 { font-family: var(--display); font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .hero .art { animation: crawl 6s ease-in-out infinite alternate; }
  @keyframes crawl { from { transform: translateX(0); } to { transform: translateX(10px); } }
}

/* 本物のアイコン(丸い絵)用 */
header.site img, .hero .art, .done img { border-radius: 50%; }
.hero .art { width: min(220px, 60%); margin: 0 0 14px; display: block; }
