:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #252923;
  --secondary: #51574e;
  --accent: #92402d;
  --forest: #26382f;
  --line: #d4d4c9;
  --surface: #eeefe7;
  --feature-line: #a8b3a2;
  --feature-title: #314734;
  --on-accent: #fff;
  --accent-hover: #71301f;
  --focus-ring: #156891;
  --gutter: clamp(1.1rem, 4.5vw, 4.6rem);
  --header-height: 5.1rem;
  --serif: Baskervville, Georgia, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "DM Sans", "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-padding-top: calc(var(--header-height) + .8rem); }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  font: 1rem/1.7 var(--sans);
}
body > main { flex: 1 0 auto; }
body, button, summary { -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.shell { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.skip { position: fixed; z-index: 6; top: .6rem; left: 1rem; padding: .55rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.masthead { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, .brand, nav, .action { display: flex; align-items: center; }
.header-inner { min-height: var(--header-height); gap: 1.5rem; justify-content: space-between; }
.header-inner > .brand { margin-inline-end: auto; }
.theme-toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--surface); }
.theme-toggle[hidden], .theme-toggle .sun, .theme-toggle[aria-pressed="true"] .moon { display: none; }
.theme-toggle[aria-pressed="true"] .sun { display: inline; }
.brand { width: fit-content; min-height: 44px; gap: .65rem; text-decoration: none; }
.brand-icon { width: 2.25rem; height: 2.25rem; border-radius: .48rem; }
.wordmark { font: 600 1.94rem/1 var(--serif); letter-spacing: -.055em; }
nav { flex-wrap: wrap; gap: clamp(.8rem, 2vw, 2.1rem); }
nav a, .footer-email { display: inline-flex; align-items: center; min-height: 44px; font-size: .89rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current], .footer-email:hover { text-decoration: underline; }
.language { position: relative; padding-inline-start: clamp(.8rem, 2vw, 2rem); }
.language::before { position: absolute; left: 0; height: 1.1em; content: ''; border-left: 1px solid var(--line); }
.wide-nav { flex-wrap: nowrap; }
.compact-menu { display: none; position: relative; }
.compact-menu summary { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .3rem .55rem; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 600; }
.compact-menu summary::-webkit-details-marker { display: none; }
.hamburger { position: relative; width: 1.2rem; height: .9rem; display: grid; align-items: center; }
.hamburger i, .hamburger::before, .hamburger::after { content: ''; width: 100%; height: 2px; background: currentColor; border-radius: 2px; }
.hamburger::before, .hamburger::after { position: absolute; left: 0; }
.hamburger::before { top: 0; }
.hamburger::after { bottom: 0; }
.compact-menu[open] .hamburger i { visibility: hidden; }
.compact-menu[open] .hamburger::before, .compact-menu[open] .hamburger::after { top: 50%; transform: translateY(-50%) rotate(45deg); }
.compact-menu[open] .hamburger::after { transform: translateY(-50%) rotate(-45deg); }
.compact-menu nav { position: absolute; top: calc(100% + .4rem); right: 0; display: grid; gap: 0; width: min(17rem, 100vw - 2 * var(--gutter)); max-height: calc(100dvh - var(--header-height) - 1rem); overflow-y: auto; padding: .35rem; background: var(--paper); border: 1px solid var(--line); border-radius: .3rem; box-shadow: 0 .6rem 1.8rem #23302124; }
.compact-menu nav a { padding: .55rem .85rem; }
.compact-menu nav a:hover { background: var(--surface); }
.compact-menu .language { border-top: 1px solid var(--line); }
.compact-menu .language::before { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(2rem, 4vw, 4.5rem); padding-block: clamp(2.3rem, 4.5vw, 4.25rem); }
.hero-copy { padding-block: .3rem; }
.hero h1, .section-title, .article h1, .article-section h2 { font-family: var(--serif); font-weight: 600; }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.65rem); line-height: 1.38; letter-spacing: -.055em; }
.hero h1 span { display: block; }
:lang(en) .hero h1 { font-size: clamp(2.65rem, 5.35vw, 5.35rem); line-height: 1.02; }
.hero-copy > p { max-width: 29em; margin-top: 1.28rem; color: var(--secondary); line-height: 1.95; font-size: clamp(.98rem, 1.15vw, 1.12rem); }
.action { gap: 1.3rem; width: fit-content; min-height: 48px; margin-top: 1.8rem; padding: .72rem 1.28rem; border-radius: .22rem; background: var(--accent); color: var(--on-accent); font-weight: 650; font-size: .96rem; text-decoration: none; }
.action:hover { background: var(--accent-hover); }
.action span { font: 1.25rem/1 var(--sans); }
.hero-photo { overflow: hidden; border-radius: .24rem; background: #c9af8d; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.about { border-top: 1px solid var(--line); padding-block: clamp(2.4rem, 3.8vw, 3.9rem) clamp(3rem, 5vw, 5rem); background: var(--surface); }
.section-title { margin-bottom: 1.65rem; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.4; letter-spacing: -.045em; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.feature { border-top: 1px solid var(--feature-line); padding-top: 1.15rem; }
.feature h3 { font-size: clamp(1.04rem, 1.5vw, 1.3rem); font-weight: 650; line-height: 1.5; color: var(--feature-title); }
.feature p { margin-top: .55rem; font-size: .95rem; color: var(--secondary); line-height: 1.9; }
.release-section { padding-block: 2.5rem; }
.release-section ul { padding: 0; list-style: none; }
.site-footer { background: var(--forest); color: #faf8f3; }
.footer-inner { min-height: 6.5rem; flex-wrap: wrap; gap: .5rem 2.1rem; padding-block: 1.15rem; }
.footer-brand { margin-inline-end: auto; }
.copyright { display: block; color: #dbe3d9; font-size: .78rem; line-height: 1.5; }
.site-footer .brand-icon { width: 1.85rem; height: 1.85rem; }
.site-footer .wordmark { font-size: 1.6rem; }
.site-footer nav a, .footer-email { font-size: .83rem; }
.footer-email { color: #dfebda; overflow-wrap: anywhere; }
.article { max-width: 48rem; padding-block: clamp(1.6rem, 3vw, 3rem) clamp(3rem, 6vw, 6rem); overflow-wrap: anywhere; }
.back-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .5em; font-weight: 600; color: var(--accent); }
.back-link { margin-bottom: 1.2rem; color: var(--secondary); font-size: .88rem; }
.article h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.3; letter-spacing: -.045em; }
.article .intro { margin-top: 1rem; color: var(--secondary); font-size: 1.07rem; }
.article-section, .contact-card { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.article-section h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.5; }
.article-section h3 { margin-top: 1.3rem; font-size: 1.04rem; }
.article-section p, .contact-card p { margin-top: .65rem; color: var(--secondary); line-height: 1.9; }
.text-link { margin-top: .6rem; }
.contact-card { padding: clamp(1rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: .25rem; }
.contact-card h2 { font-size: .96rem; }
.email { display: inline-block; padding-block: .25rem; min-height: 44px; font: 600 clamp(1.22rem, 3.7vw, 2.1rem)/1.5 var(--serif); color: var(--accent); }
.legal-page { max-width: 48rem; }
.policy-header h1 {
  font-size: clamp(1.65rem, 4.3vw, 2.9rem);
  line-height: 1.32;
  letter-spacing: -.035em;
  word-break: keep-all;
  text-wrap: balance;
}
.policy-meta { display: flex; flex-wrap: wrap; gap: .2rem 1.45rem; margin-top: 1rem; color: var(--secondary); font-size: .91rem; }
.policy-toc { display: block; margin-block: 1.65rem 2.1rem; border-block: 1px solid var(--line); }
.policy-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 1em; min-height: 48px; padding: .55rem .1rem; font-weight: 650; color: var(--accent); cursor: pointer; list-style: none; }
.policy-toc summary::-webkit-details-marker { display: none; }
.policy-toc summary::after { content: ''; width: .55em; height: .55em; margin-inline-end: .4em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-20%) rotate(45deg); }
.policy-toc details[open] summary::after { transform: translateY(20%) rotate(225deg); }
.policy-toc ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 0 1.5rem; list-style: none; padding: 0 0 .8rem; margin: 0; }
.policy-toc a { display: block; min-height: 44px; padding: .55rem .1rem; color: var(--secondary); font-size: .92rem; font-weight: 500; line-height: 1.5; text-decoration: underline; }
.policy-toc a:hover { color: var(--accent); }
.policy-body { font-size: clamp(1rem, 1.3vw, 1.06rem); line-height: 1.92; }
.policy-body section + section { margin-top: clamp(2.2rem, 5vw, 3.2rem); border-top: 1px solid var(--line); padding-top: clamp(1.4rem, 3vw, 2rem); }
.policy-body h2 { margin: 0 0 1rem; font: 600 clamp(1.3rem, 2.5vw, 1.75rem)/1.45 var(--serif); letter-spacing: -.025em; text-wrap: pretty; }
.policy-body :is(h3, h4, h5, h6) { margin-block: 1.2rem .6rem; line-height: 1.55; }
.policy-body p { max-width: 75ch; white-space: pre-line; }
.policy-body p + p, .policy-body li + li { margin-top: .85em; }
.policy-body:lang(ja) > section > p, .policy-body:lang(ja) > p { max-width: 46em; text-indent: 1em; }
.policy-body ul, .policy-body ol { margin-block: 1em; padding-inline-start: 1.8em; }
.policy-body li { padding-inline-start: .25em; }
.policy-body li.parenthesized::marker { content: counter(list-item) ') '; }
.policy-body li p { margin-top: .35em; }
.policy-body a { color: var(--accent); text-decoration: underline; overflow-wrap: anywhere; }
.policy-body strong { font-weight: 700; }
.legal-page > .text-link { margin-top: 2.1rem; }
@media (min-width: 45rem) and (max-width: 63.99rem) {
  .hero { gap: 1.8rem; }
  .about > .shell { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 2rem; }
  .features { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 44.99rem) {
  :root { --header-height: 4.1rem; }
  .header-inner { gap: .6rem; }
  .wide-nav { display: none; }
  .compact-menu { display: block; }
  .brand { gap: .35rem; }
  .brand-icon { width: 1.8rem; height: 1.8rem; }
  .wordmark { font-size: 1.5rem; }
  nav { gap: .6rem; }
  .hero { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 2.1rem 1.6rem; }
  .hero h1, :lang(en) .hero h1 { font-size: clamp(2.44rem, 9vw, 3.75rem); }
  .hero-copy > p { margin-top: .85rem; max-width: 35em; }
  .action { margin-top: 1.15rem; }
  .section-title { margin-bottom: 1.25rem; }
  .features { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-inner { display: grid; gap: .2rem; padding-block: 1.35rem; }
  .site-footer nav { gap: .3rem 1.4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
