:root {
  color-scheme: light;
  --bg: #fff7ec;
  --surface: #ffffff;
  --ink: #3a2f28;
  --muted: #715e50;
  --line: #e5d3c1;
  --accent: #d95f13;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 300px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a { color: #8b3e0d; text-underline-offset: 4px; }
a:hover { color: #b14d0c; }
a:focus-visible { outline: 3px solid #ff7a1a; outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: -100px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.skip-link:focus { top: 16px; }

.info-header {
  display: flex;
  width: min(calc(100% - 32px), 900px);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.site-brand {
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.site-brand::before {
  content: "←";
  margin-right: 8px;
  color: var(--accent);
}

.x-profile {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.x-profile:hover { background: #303030; color: #fff; }

.x-profile span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
}

.info-main {
  width: min(calc(100% - 32px), 820px);
  margin: 12px auto 42px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(58, 47, 40, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.45; }
h1 { margin: 0; font-size: clamp(28px, 6vw, 42px); }
h2 { margin: 36px 0 10px; font-size: 21px; }
p { margin: 12px 0 0; }
ul { margin: 12px 0 0; padding-left: 1.4em; }
li + li { margin-top: 7px; }

.lead { color: var(--muted); font-size: 16px; font-weight: 700; }
.updated { margin-top: 14px; color: var(--muted); font-size: 12px; }

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.page-links a::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

/* SUBPAGE_FOOTER_START */
.info-footer {
  display: block;
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto;
  padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 36px);
  border: 0;
  color: #715e50;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.info-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 17px; }
.info-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #8b3e0d;
  font-size: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: normal;
}
.info-footer a:hover { color: #b14d0c; }
.info-footer a:focus-visible { outline: 3px solid #ff7a1a; outline-offset: 4px; border-radius: 4px; }
.info-footer p { margin: 6px 0 0; }
/* SUBPAGE_FOOTER_END */

@media (max-width: 520px) {
  .info-header { min-height: 72px; }
  .site-brand { font-size: 15px; }
  .x-profile { padding: 6px 10px; }
  .info-main { margin-top: 4px; border-radius: 22px; }
  h2 { margin-top: 30px; font-size: 19px; }
}
