@charset "UTF-8";

:root {
  color-scheme: dark;
  --night: #060d1e;
  --ivory: #f1eadd;
  --gold: #d9bc83;
  --muted: #bbb9c6;
  --footer-space: 118px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  background: var(--night);
  color: var(--ivory);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .35em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; border-radius: 2px; }
.site { min-height: 100svh; display: flex; flex-direction: column; }
.site > main { flex: 1; }
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 10;
  padding: 12px 20px; background: var(--night); color: var(--ivory);
}
.skip-link:focus { top: 16px; }


.identity-rule { width: 78%; margin: 28px auto 0; }
.identity-rule, .footer-rule { display: flex; align-items: center; gap: 12px; }
.identity-rule::before, .identity-rule::after,
.footer-rule::before, .footer-rule::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, #c8a46499);
}
.identity-rule::after, .footer-rule::after { transform: rotate(180deg); }
.identity-rule span, .footer-rule span {
  width: 6px; height: 6px; transform: rotate(45deg);
  border: 1px solid var(--gold); background: #c8a46433;
}

.site-footer {
  position: relative; padding: 0 24px max(24px, env(safe-area-inset-bottom));
  background: var(--night); text-align: center; color: var(--muted);
}
.footer-rule { max-width: 1240px; margin: 0 auto 14px; opacity: .7; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 28px; }
.site-footer nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; letter-spacing: .06em; text-decoration: none;
  transition: color .2s;
}
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] { color: var(--gold); }
.site-footer small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .12em; }

.content-header { padding: 36px 32px 0; }
.content-header a { display: block; width: 168px; margin: auto; }
.information-page { width: min(100% - 48px, 760px); margin: 74px auto 112px; }
.information-page h1 {
  margin: 0; padding-bottom: 28px; border-bottom: 1px solid #d9bc834d;
  color: var(--ivory); font-size: clamp(23px, 3vw, 34px); font-weight: 500;
  letter-spacing: .06em; overflow-wrap: anywhere;
}
.information-page p { margin: 40px 0 60px; color: var(--muted); line-height: 1.9; }
.back-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; color: var(--gold); }

.legal-page {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  font-size: 18px; line-height: 1.9; overflow-wrap: anywhere;
}
.legal-page h1 { font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; }
.legal-page p { margin: 16px 0; color: var(--ivory); }
.legal-page section { margin-top: 40px; }
.legal-page h2 {
  margin: 0 0 16px; font-size: 21px; font-weight: 600;
  line-height: 1.65; color: var(--gold); scroll-margin-top: 24px;
}
.legal-page ul { margin: 16px 0; padding-left: 1.5em; }
.legal-page li + li { margin-top: 10px; }
.legal-page p a, .legal-page li a { color: var(--gold); }
.legal-page .back-link { margin-top: 40px; }

@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  :root { --footer-space: 128px; }
  .identity-rule { margin-top: 18px; width: 76%; }
  .site-footer { padding-inline: 16px; }
  .site-footer nav { column-gap: 20px; }
  .site-footer nav a { font-size: 12px; letter-spacing: .01em; }
  .content-header { padding-top: 32px; }
  .information-page { margin-block: 56px 88px; }
  .legal-page { font-size: 16px; }
  .legal-page h2 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer nav a { transition: none; }
}

/* 小道にはロゴ画像がまだないので、ヘッダーとトップの名前は文字で出す */
.content-header a {
  width: auto; text-align: center; text-decoration: none;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 22px; letter-spacing: .12em;
}
.identity { width: min(100% - 48px, 540px); margin: 22svh auto 112px; text-align: center; }
.identity h1 {
  margin: 0; font-size: clamp(32px, 6vw, 52px); font-weight: 500; letter-spacing: .1em;
  text-shadow: 0 5px 18px #01071bd9;
}
.legal-page .enacted { margin-top: 40px; color: var(--muted); font-size: 14px; }
