/* Site-wide pages (about / terms / privacy / cookie / disclaimer / contact).
   Warm paper, quiet rules, readable prose. No framework. */
:root {
  --bg: #fbf7f4;
  --paper: #fffdfb;
  --ink: #433a38;
  --muted: #8b7b75;
  --line: #ece1d9;
  --rose: #c97b6f;
  --rose-deep: #a85f55;
  --rose-soft: #fbece5;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 300px;
  background:
    radial-gradient(ellipse at 8% 4%, #fbedec 0, transparent 34%),
    radial-gradient(ellipse at 96% 26%, #f4f0e0 0, transparent 32%),
    var(--bg);
  font-size: 15px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--rose-deep); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid #cf8e82; outline-offset: 3px; border-radius: 4px; }

/* header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 251, .82);
}
.head-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--rose-soft);
  font-size: 21px;
  font-family: sans-serif;
}
.brand-text { display: flex; flex-direction: column; font-size: 17px; line-height: 1.3; }
.brand-text small {
  color: #a29590;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .06em;
  margin-top: 2px;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a {
  color: #6f605b;
  font-size: 12px;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--rose-deep); border-bottom-color: #e7c4bb; }

/* page */
.page { max-width: 900px; margin: 0 auto; padding: 40px 24px 84px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #a89791;
  font-size: 11px;
  margin-bottom: 26px;
}
.crumbs a { color: #8b7b75; text-decoration: none; }
.crumbs a:hover { color: var(--rose-deep); }
.crumbs span[aria-hidden] { color: #d3c5be; }

.page-head { padding: 4px 0 34px; border-bottom: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
}
.page-head h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.35;
  letter-spacing: .02em;
  font-weight: 700;
}
.page-head .lead {
  margin: 15px 0 0;
  max-width: 700px;
  color: #6f615c;
  font-size: 14.5px;
  line-height: 2;
}
.page-head .updated { margin: 16px 0 0; color: #a89791; font-size: 11px; }

/* prose */
.prose { padding-top: 34px; font-size: 14.5px; }
.prose h2 {
  position: relative;
  margin: 52px 0 18px;
  padding-left: 16px;
  color: #4c403d;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: .02em;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(#e2a79b, #c97b6f);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 10px; color: #584a46; font-size: 16px; line-height: 1.6; }
.prose p { margin: 0 0 17px; }
.prose ul { margin: 0 0 20px; padding-left: 1.35em; }
.prose li { margin: 7px 0; }
.prose li::marker { color: #d5a498; }
.prose strong { color: #4a3d39; }

.notice {
  margin: 0 0 30px;
  padding: 19px 22px;
  border: 1px solid #f0d9d0;
  border-left: 4px solid #d99a8e;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(135deg, #fff8f4, #fdf3ed);
  color: #6d5851;
  font-size: 13.5px;
  line-height: 1.95;
}
.doc-dates { margin: -18px 0 26px; color: #a89791; font-size: 11px; }

/* about */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 10px;
}
.value-card {
  padding: 20px 18px;
  border: 1px solid #eee0d8;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(120, 82, 72, .04);
}
.value-number {
  color: #d5a498;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.value-card h3 { margin: 6px 0 8px; font-size: 14px; line-height: 1.6; }
.value-card p { margin: 0; color: #7c6c66; font-size: 12.5px; line-height: 1.9; }

.tool-list { display: grid; gap: 10px; list-style: none; margin: 22px 0 8px; padding: 0; }
.tool-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 16px 19px;
  border: 1px solid #eee0d8;
  border-radius: 14px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.tool-card strong { font-size: 14px; color: #544540; }
.tool-card span { grid-column: 1; color: #7d6d67; font-size: 12.5px; line-height: 1.8; }
.tool-card em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #c98b7e;
  font-style: normal;
  font-size: 18px;
}
.tool-card:hover {
  transform: translateY(-2px);
  border-color: #e8cfc5;
  box-shadow: 0 14px 30px rgba(120, 82, 72, .07);
  color: inherit;
}
.tool-card:hover em { transform: translateX(3px); }

/* tables (cookie policy) */
.table-scroll { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 12.5px; line-height: 1.8; background: var(--paper); }
th, td { padding: 13px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #faf2ec; color: #5c4b45; font-size: 11.5px; letter-spacing: .04em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: #5a4a45; white-space: nowrap; }

/* contact */
.contact-card {
  margin: 4px 0 34px;
  padding: 26px 26px 22px;
  border: 1px solid #eed9ce;
  border-radius: 18px;
  background: linear-gradient(140deg, #fffaf6, #fdf1ea);
  text-align: center;
  box-shadow: 0 16px 40px rgba(120, 82, 72, .06);
}
.contact-label { display: block; color: #a8796c; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.contact-mail {
  display: inline-block;
  margin: 9px 0 10px;
  color: #a85f55;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(19px, 4vw, 26px);
  font-weight: 700;
  letter-spacing: .01em;
  word-break: break-all;
  text-decoration: none;
  border-bottom: 2px solid #e6c1b7;
}
.contact-mail:hover { border-bottom-color: var(--rose); }
.contact-card p { margin: 0; color: #82716b; font-size: 12px; line-height: 1.85; }

/* next links */
.page-next { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.page-next strong { display: block; margin-bottom: 10px; color: #8f7f79; font-size: 11px; letter-spacing: .12em; }
.page-next div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.page-next a { color: #8b6f67; font-size: 12px; text-decoration: none; }
.page-next a:hover { color: var(--rose-deep); text-decoration: underline; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: rgba(255, 252, 249, .7); }
.foot-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 38px 24px 26px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 34px;
}
.foot-brand p { margin: 10px 0 0; color: #8d7c75; font-size: 11.5px; line-height: 1.9; }
.foot-brand p.small { color: #a99992; font-size: 10px; }
.foot-logo {
  color: #5c4a44;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.foot-col { display: flex; flex-direction: column; gap: 5px; }
.foot-col strong { margin-bottom: 5px; color: #7c6a63; font-size: 10.5px; letter-spacing: .12em; }
.foot-col a { color: #947d75; font-size: 11.5px; text-decoration: none; line-height: 1.7; }
.foot-col a:hover { color: var(--rose-deep); text-decoration: underline; }
.foot-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #f2e9e2;
  color: #ab9b94;
  font-size: 10px;
}

@media (max-width: 760px) {
  .head-inner { padding: 14px 18px; gap: 10px; }
  .site-nav { gap: 2px 14px; }
  .site-nav a { font-size: 11px; }
  .page { padding: 28px 18px 60px; }
  .page-head h1 { font-size: 29px; }
  .prose { font-size: 14px; }
  .prose h2 { margin-top: 42px; font-size: 19px; }
  .value-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 26px; padding: 30px 18px 22px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { padding: 14px 18px 26px; }
}
@media (max-width: 460px) {
  .site-nav a:nth-child(1) { display: none; }
  .brand-text small { display: none; }
  .foot-inner { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { padding: 22px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tool-card, .tool-card em { transition: none; }
}
