/* YONEREN ルートサイト (yoneren.com) */
:root {
  --paper: #faf8f3;
  --ink: #1c1a17;
  --ink-soft: #4a463e;
  --muted: #8a8474;
  --gold: #b08d4f;
  --border: rgba(28, 26, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic UI", sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: var(--ink);
}

/* ---- トップページ (スプラッシュ) ---- */
body.splash::before,
body.splash::after {
  /* 二重罫の額縁 (装飾なので操作は妨げない) */
  content: "";
  position: fixed;
  pointer-events: none;
  border: 1px solid var(--border);
}
body.splash::before {
  inset: 12px;
}
body.splash::after {
  inset: 17px;
  border-color: rgba(28, 26, 23, 0.08);
}

.home {
  /* svh でモバイルのアドレスバー分の余分なスクロールを出さない */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 28px 30px;
  text-align: center;
}

.hero {
  margin: auto;
  animation: rise 0.9s ease-out both;
}

.hero .brand {
  margin: 0;
}

.hero .brand img {
  display: block;
  height: clamp(54px, 13vw, 82px);
  width: auto;
  margin: 0 auto;
}

.hero .rule {
  width: 56px;
  height: 1px;
  margin: 30px auto 24px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold) 25%,
    var(--gold) 75%,
    transparent
  );
}

.hero .tagline {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.55em;
  /* 字間ぶん右に寄って見えるのを補正 */
  padding-left: 0.55em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
}

/* ---- 共通フッター ---- */
.site-footer {
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.site-footer nav {
  display: flex;
  gap: 26px;
  justify-content: center;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer .contact {
  margin: 8px 0 0;
}

/* ---- 文書ページ (利用規約 / プライバシーノーティス) ---- */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 24px 56px;
}

.doc .back {
  margin: 0 0 30px;
  font-size: 14px;
}

.doc .doc-brand {
  margin: 0 0 10px;
}

.doc .doc-brand img {
  display: block;
  height: 27px;
  width: auto;
}

.doc h1 {
  font-size: 25px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

.doc .updated {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 30px;
}

.doc h2 {
  font-size: 16.5px;
  letter-spacing: 0.03em;
  margin: 34px 0 8px;
}

.doc p,
.doc li {
  font-size: 15px;
  color: var(--ink-soft);
}

.doc ul {
  padding-left: 1.4em;
}

.doc .site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
}

.doc .site-footer nav {
  justify-content: flex-start;
}
