:root {
  --paper: #f4f1e8;
  --paper-deep: #ebe6d9;
  --ink: #2b2a26;
  --ink-soft: #5c574b;
  --ember: #8c5a3c;
  --ember-deep: #7c4e33;
  --line: #e0d9c8;
  --card: #fbf9f3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

header.top {
  padding: 56px 24px 32px;
  text-align: center;
}

.mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #a06b46, #74472c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(116, 71, 44, 0.28);
}

h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.sub {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

nav.crumbs {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 18px;
}
nav.crumbs a {
  color: var(--ember-deep);
  text-decoration: none;
  margin: 0 8px;
}
nav.crumbs a:hover { text-decoration: underline; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  margin-top: 8px;
}

h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--ink);
}

p { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
p.muted { color: var(--ink-soft); font-size: 13.5px; }

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

.contact-box {
  background: var(--paper-deep);
  border-radius: 12px;
  padding: 22px 24px;
  text-align: center;
  margin-top: 8px;
}
.contact-box .label { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.contact-box .mail {
  font-size: 18px;
  font-weight: 700;
  color: var(--ember-deep);
  word-break: break-all;
}

.note {
  background: var(--paper-deep);
  border-left: 3px solid var(--ember);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 0 0 16px;
}
.note p:last-child { margin-bottom: 0; }

table.terms {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.terms tr { border-bottom: 1px solid var(--line); }
table.terms tr:last-child { border-bottom: none; }
table.terms th, table.terms td {
  text-align: left;
  padding: 14px 4px;
  vertical-align: top;
}
table.terms th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

table.plans {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 16px;
}
table.plans th, table.plans td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.plans thead th {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
}
table.plans tbody th {
  font-weight: 600;
  color: var(--ink-soft);
  width: 34%;
}

ul { margin: 0 0 14px; padding-left: 20px; }
li { font-size: 15px; margin-bottom: 6px; }

ol { margin: 0 0 14px; padding-left: 22px; }
ol li { font-size: 15px; margin-bottom: 6px; }

footer.bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
footer.bottom a { color: var(--ink-soft); }

@media (max-width: 480px) {
  .card { padding: 24px 20px; }
  table.terms th { width: 40%; white-space: normal; }
  table.plans th, table.plans td { padding: 10px 6px; }
}
