/* Uguisu 製品サイト。色はアプリのアイコン（D-50・D-51）に合わせる */
:root {
  --cream: #faf7e8;
  --paper: #fffdf5;
  --uguisu: #928c36;
  --uguisu-dark: #5f6222;
  --uguisu-deep: #40542c;
  --ink: #2b2b24;
  --muted: #6b6a5c;
  --line: #e4dfc6;
  --rec: #ee7880;
  --proc: #6ea0ec;
  --radius: 14px;
  --max: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16px;
}

a { color: var(--uguisu-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none;
}
.brand img { width: 36px; height: 36px; }
.brand small { font-weight: 400; color: var(--muted); font-size: 13px; }
.nav a { margin-left: 18px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--uguisu-deep); text-decoration: underline; }

/* 見出しエリア */
.hero {
  background: linear-gradient(180deg, var(--cream), var(--paper));
  padding: 64px 0 48px;
}
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 34px; line-height: 1.4; margin: 0 0 16px; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.hero-figure { text-align: center; }
.hero-figure img { width: 200px; height: 200px; filter: drop-shadow(0 8px 20px rgba(64, 84, 44, .18)); }
.states { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.states figure { margin: 0; font-size: 12px; color: var(--muted); }
.states img { width: 48px; height: 48px; display: block; margin: 0 auto 4px; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 16px;
}
.btn-primary { background: var(--uguisu-deep); color: #fff; }
.btn-primary:hover { background: var(--uguisu-dark); }
.btn-ghost { border: 2px solid var(--uguisu-deep); color: var(--uguisu-deep); margin-left: 10px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* 本文の区切り */
section { padding: 56px 0; }
section.alt { background: var(--cream); }
h2 { font-size: 26px; margin: 0 0 24px; }
h2::before {
  content: ""; display: inline-block; width: 10px; height: 26px; margin-right: 10px;
  background: var(--uguisu); border-radius: 4px; vertical-align: -4px;
}
h3 { font-size: 18px; margin: 0 0 8px; }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.flow li {
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; position: relative;
}
.flow li::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--uguisu); color: #fff; font-weight: 700; margin-bottom: 8px;
}
.flow { padding: 0; margin: 0; }

/* 特長 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 表 */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 28%; background: var(--cream); font-weight: 700; }

/* 価格 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.plan.featured { border: 2px solid var(--uguisu); position: relative; }
.plan.featured .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--uguisu); color: #fff; font-size: 12px; padding: 2px 12px; border-radius: 999px;
}
.plan .price { font-size: 30px; font-weight: 700; margin: 8px 0 2px; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan ul { text-align: left; padding-left: 1.2em; font-size: 14px; color: var(--muted); }
.plan .btn { margin-top: 10px; }

/* よくある質問 */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

/* 未決定の印（公開前に必ず埋める） */
.todo { background: #fff1b8; color: #6b4e00; padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* 規約などの文書ページ */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: 28px; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 32px 0 12px; }
.doc h2::before { height: 20px; width: 8px; vertical-align: -3px; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); background: var(--cream); padding: 28px 0; font-size: 14px; color: var(--muted); }
.site-footer .links a { margin-right: 18px; }

@media (max-width: 760px) {
  .hero .wrap, .features, .plans, .flow { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .nav { display: none; }
  th { width: 38%; }
}
