/* LP と規約などのページで共通の色・文字・部品 */
:root {
  --bg: #e4e9f2;
  --dk: #bdc5d6;
  --lt: #ffffff;
  --ink: #2c3753;
  --ink2: #4a5470;
  --mut: #5d6782;
  --acc: #3b57d6;
  --ok: #1f7a5c;
  --line: rgba(44, 55, 83, 0.14);
  --accSolid: #4d6cf0;
  --accLight: #7f97ff;
  --bar: color-mix(in srgb, var(--bg) 84%, transparent);
  --grad: linear-gradient(145deg, var(--accLight), var(--accSolid));
  --up: 9px 9px 18px var(--dk), -9px -9px 18px var(--lt);
  --up-lg: 18px 18px 40px var(--dk), -16px -16px 36px var(--lt);
  --up-sm: 5px 5px 10px var(--dk), -5px -5px 10px var(--lt);
  --in: inset 6px 6px 12px var(--dk), inset -6px -6px 12px var(--lt);
  --in-sm: inset 3px 3px 6px var(--dk), inset -3px -3px 6px var(--lt);
  --icon: 12px 12px 26px var(--dk), -10px -10px 24px var(--lt);
  --icon-sm: 8px 8px 18px var(--dk), -7px -7px 16px var(--lt);
  --icon-xs: 4px 4px 9px var(--dk), -3px -3px 8px var(--lt);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
}
a { color: var(--acc); text-decoration: none; }
button { font-family: inherit; border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accSolid); outline-offset: 4px; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }

.m-root {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
.m-root, .m-root * { transition: background-color .7s ease, box-shadow .7s ease, color .7s ease, border-color .7s ease; }
.m-root h1, .m-root h2, .m-root h3 { text-wrap: balance; }
.m-root p, .m-root li { text-wrap: pretty; }
.ph { display: inline-block; }
.nowrap { white-space: nowrap; }

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-m {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--up-sm);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-m img { width: 22px; height: auto; display: block; }
.brand-word { height: 22px; width: auto; display: block; }
.btn-soft {
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: var(--up-sm);
  color: var(--acc);
  font-weight: 700;
  white-space: nowrap;
}

/* フッター */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--mut);
}
.site-footer img { height: 20px; width: auto; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: var(--mut); }

.m-press { transition: box-shadow .22s ease, transform .3s cubic-bezier(.34,1.56,.64,1), background-color .4s ease, color .4s ease; }
.m-press:active { transform: scale(.95); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
