:root {
  --ink: #27365d;
  --muted: #627291;
  --line: #ded5e366;
  color-scheme: light;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fffaf0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); background: radial-gradient(ellipse at 10% 25%, #ffe3eb55, transparent 55%), #fffaf0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #9464bb; outline-offset: 5px; }
img { max-width: 100%; }
.keep-word { white-space: nowrap; }

.content-page { min-height: 100vh; }
.content-header, .content-page main, .content-footer { width: min(1040px, calc(100% - 40px)); margin-inline: auto; }
.content-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; border-bottom: 1px solid var(--line); }
.content-brand { font-size: 25px; font-weight: 700; letter-spacing: -1.4px; white-space: nowrap; }
.content-brand span { color: #8c85b6; }
.content-header nav, .content-footer { display: flex; align-items: center; gap: 22px; }
.content-header nav a { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.content-header a[aria-current] { color: #a05b8a; }
.content-page main { max-width: 960px; padding-block: 30px 60px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.content-page h1 { font-size: clamp(25px, 4vw, 38px); letter-spacing: .03em; line-height: 1.5; text-wrap: balance; margin: 0 0 20px; }
.content-page h2 { font-size: 23px; line-height: 1.6; margin: 44px 0 20px; scroll-margin-top: 24px; }
.content-page h3 { font-size: 16px; line-height: 1.6; margin: 0 0 8px; }
.content-page p, .content-page dd { font-size: 14px; line-height: 2; color: #536583; overflow-wrap: anywhere; }
.content-page .lead { font-size: 16px; max-width: 730px; margin-bottom: 26px; }
.content-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 48px; padding: 12px 24px; border: 1px solid #7481a1; border-radius: 100px; background: #f7c4d7; font-size: 14px; }
.content-cta:hover { background: #f9cee0; }
.guide-steps { padding-left: 27px; margin: 0; max-width: 760px; }
.guide-steps li { padding: 14px 0 16px 10px; }
.guide-steps li::marker { color: #9a77a0; font-size: 16px; }
.guide-steps p { margin: 0; }
.questions { margin: 0; }
.questions > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.questions dt { font-size: 16px; font-weight: 600; line-height: 1.8; }
.questions dd { margin: 8px 0 0; max-width: 760px; }
.reference-callout { margin-top: 48px; padding: 1px 26px 30px; border: 1px solid #27365d28; border-radius: 20px; background: #fffcf7; }
.reference-callout h2 { margin-top: 24px; }
.reference-callout > a:not(.content-cta) { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.suit-links { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 20px 0 34px; }
.suit-links a { font-size: 12px; border: 1px solid #c7c6d7; border-radius: 100px; padding: 12px 17px; min-height: 44px; display: inline-flex; align-items: center; background: #fffcf7; }
.suit-section h2 { display: flex; align-items: center; gap: 14px; }
.suit-section h2 > span { font-size: 12px; font-weight: 400; color: var(--muted); }
.meaning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.meaning-card { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px; background: #fffcf7; border: 1px solid #27365d20; border-radius: 16px; scroll-margin-top: 20px; }
.meaning-card:target { outline: 2px solid #b599ca; outline-offset: 3px; }
.artwork-link { display: block; border-radius: 8px; overflow: hidden; }
.artwork-link img { display: block; width: 100%; height: auto; }
.meaning-card h3 { font-size: 15px; }
.meaning-card dl { margin: 0; }
.meaning-card dt { font-size: 10px; color: #8e7695; margin-top: 9px; }
.meaning-card dt[data-orientation="upright"] { color: #9b426b; }
.meaning-card dd { font-size: 12px; margin: 2px 0 0; line-height: 1.8; }
.content-footer { padding-block: 20px 35px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.content-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.content-footer span { margin-left: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 20; padding: 14px 20px; background: #fffaf0; border: 1px solid #7481a1; border-radius: 8px; }
.skip-link:focus { top: 10px; }
@media (max-width: 700px) {
  .content-header nav { gap: 16px; }
  .content-header { min-height: 64px; }
  .content-page main { padding-top: 24px; }
  .content-page h2 { font-size: 20px; }
  .content-page .lead { font-size: 14px; }
  .meaning-grid { grid-template-columns: minmax(0, 1fr); }
  .meaning-card { grid-template-columns: 88px minmax(0, 1fr); padding: 16px; gap: 16px; }
  .reference-callout { padding-inline: 20px; }
}
@media (max-width: 360px) {
  .content-brand { font-size: 23px; }
  .content-header nav { gap: 12px; }
  .meaning-card { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .content-footer { gap: 10px; }
}
