/* Aster support pages — shared editorial shell */
:root {
  --page: #f2efe9;
  --surface: #fff;
  --surface-subtle: #f8f5f0;
  --text: #231f29;
  --muted: #625b69;
  --brand: #4c365f;
  --brand-strong: #352343;
  --accent: #80651f;
  --border: #d9d3c9;
  --border-strong: #a99bae;
  --radius: 10px;
  --ui: var(--aster-font-ui);
  --display: var(--aster-font-display);
}

* { box-sizing: border-box; }
body {
  max-width: 1120px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 24px 80px;
  background: var(--page);
  color: var(--text);
  font-family: var(--ui);
  font-size: var(--aster-size-body);
  line-height: 1.65;
}
.wrap { max-width: 1040px; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--brand-strong);
  font-family: var(--ui);
  font-size: var(--aster-size-nav);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.back::before { content: "Back"; font-size: 0; }
.back:hover { border-color: var(--brand); background: rgba(76, 54, 95, .06); }

.hero { max-width: 760px; margin: 0 0 42px; text-align: left; }
.overline {
  color: var(--brand);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
}
h1, h2, h3 { color: var(--brand-strong); font-family: var(--display); line-height: 1.16; }
h1 { max-width: 800px; margin: 0 0 14px; font-size: clamp(39px, 5vw, 66px); letter-spacing: -.7px; }
h2 { margin-top: 38px; padding: 0 0 9px; border-bottom: 1px solid var(--border); color: var(--brand-strong); font-size: 26px; letter-spacing: 0; }
h3 { font-size: 20px; }
.hero p, .note { color: var(--muted); font-family: var(--ui); font-style: normal; }

.panel, .tier, details, .m-area, .m-draw {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(44, 31, 55, .05);
}
.panel { padding: 26px 28px; }
.panel + .panel { margin-top: 16px; }
.panel p, .readers li { color: var(--text); }

.cta, .cta-chip, .m-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-family: var(--ui);
  font-size: var(--aster-size-action);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none;
}
.cta:hover, .cta-chip:hover, .m-cta:hover { border-color: var(--brand-strong); background: var(--brand-strong); color: #fff; filter: none; }
.cta-chip.quiet { border-color: var(--border-strong); background: transparent; color: var(--brand-strong); }

.tiers { gap: 16px; }
.tier { border-radius: var(--radius); padding: 26px 24px; }
.tier.hero-tier { border-color: var(--border-strong); box-shadow: 0 12px 28px rgba(44, 31, 55, .09); }
.ribbon { border-radius: 5px; background: var(--accent); color: #fff; font-family: var(--ui); }
.tier .kind, .tier h2, .price, .packrow .pname, .packrow .pprice { color: var(--brand-strong); }
.tier ul { border-top-style: solid; border-top-color: var(--border); }
.tier li::before { content: "✓"; color: var(--accent); }
.packrow { border-bottom: 1px solid var(--border); }

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.legal-nav a, .legal-nav .here {
  margin: 0;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--brand);
  text-decoration: none;
}
.legal-nav .here { border-color: var(--brand); background: var(--brand); color: #fff; }

details { margin: 10px 0; }
summary { min-height: 52px; padding: 14px 16px; color: var(--brand-strong); font-family: var(--ui); }
details[open] summary { border-bottom-color: var(--border); }
details div { padding: 16px 18px 18px; }

.fine { color: var(--muted); font-family: var(--ui); }
.bloom { background: var(--accent); }

/* About — calm editorial page rather than a marketing price funnel */
.about-page {
  max-width: none;
  padding: 0;
}
.static-header,
.about-main,
.static-footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.static-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}
.static-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-strong);
  text-decoration: none;
}
.static-brand img { display: block; }
.static-brand span { display: grid; line-height: 1.1; }
.static-brand b {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.static-brand small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .035em; }
.static-header nav,
.static-footer nav { display: flex; align-items: center; gap: 8px; }
.static-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: var(--aster-size-nav);
  font-weight: 400;
  letter-spacing: .5px;
  text-decoration: none;
}
.static-header nav a:hover,
.static-header nav a.current { border-bottom-color: var(--accent); color: var(--brand-strong); }
.static-header nav a.current { font-weight: 600; }
.about-main { padding: 0 0 80px; }
.about-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: 72px 0;
}
.about-hero h1 { max-width: 690px; font-size: clamp(39px, 5vw, 66px); letter-spacing: -.035em; }
.about-lede { max-width: 700px; margin: 0 0 28px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.about-figure { border-top: 1px solid var(--border-strong); }
.about-figure div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.about-figure strong { color: var(--brand-strong); font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1; }
.about-figure span { color: var(--muted); font-size: 13px; letter-spacing: .035em; text-transform: uppercase; }
.about-section { padding: 72px 0; border-top: 1px solid var(--border); }
.about-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 120px); }
.about-section h2,
.about-closing h2 { margin: 0; padding: 0; border: 0; font-size: clamp(31px, 4vw, 48px); letter-spacing: -.02em; }
.section-label { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.about-copy { padding-top: 32px; color: var(--muted); font-size: 18px; }
.about-copy p:first-child { margin-top: 0; }
.section-heading-static { max-width: 720px; margin-bottom: 48px; }
.section-heading-static > p:last-child { color: var(--muted); }
.reader-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 36px 28px; }
.reader-list article {
  display: grid;
  grid-template-columns: clamp(92px, 9vw, 116px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--brand);
}
.reader-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  border: 1px solid var(--border-strong);
  object-fit: cover;
  filter: saturate(.88) contrast(1.03);
}
.reader-list h3 { margin: 0 0 8px; font-size: 22px; }
.reader-list p { margin: 0; color: var(--muted); font-size: 15px; }
.principles-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 7vw, 96px); }
.principles-section .section-heading-static { margin: 0; }
.principles { display: grid; gap: 0; }
.principles article { display: grid; grid-template-columns: 42px 1fr; padding: 24px 0; border-top: 1px solid var(--border); }
.principles article:last-child { border-bottom: 1px solid var(--border); }
.principles span { grid-row: 1 / span 2; color: var(--accent); font-size: 12px; font-weight: 750; }
.principles h3 { margin: 0 0 6px; font-size: 21px; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }
.about-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 48px;
  background: var(--brand-strong);
  color: #fff;
}
.about-closing h2 { color: #fff; }
.about-closing .section-label { color: #dcc588; }
.about-main .cta-chip { padding-inline: 24px; }
.about-closing .cta-chip { border-color: #fff; background: #fff; color: var(--brand-strong); }
.about-closing .cta-chip:hover { border-color: #eee7df; background: #eee7df; color: var(--brand-strong); }
.static-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 56px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.static-footer p { margin: 0; }
.static-footer nav { flex-wrap: wrap; justify-content: flex-end; }
.static-footer a { color: var(--muted); text-decoration: none; }
.static-footer a:hover { color: var(--brand-strong); text-decoration: underline; }

@media (max-width: 760px) {
  body { padding: 24px 18px 60px; font-size: 16px; }
  .back { margin-bottom: 28px; }
  .hero { margin-bottom: 30px; }
  .panel { padding: 22px 20px; }
  .tiers { grid-template-columns: 1fr; }
  .tier.hero-tier { margin-top: 12px; }
  .about-page { padding: 0; }
  .cta, .cta-chip, .m-cta { font-size: var(--aster-size-action-mobile); }
  .static-header,
  .about-main,
  .static-footer { width: min(100% - 36px, 1120px); }
  .static-header { min-height: 0; align-items: flex-start; flex-direction: column; gap: 15px; padding: 22px 0 16px; }
  .static-header nav { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .static-header nav a { justify-content: center; padding-inline: 4px; font-size: var(--aster-size-nav-mobile); }
  .about-main { padding-bottom: 52px; }
  .about-hero { min-height: 0; grid-template-columns: 1fr; gap: 48px; padding: 56px 0 64px; }
  .about-hero h1 { font-size: 39px; }
  .about-lede { font-size: 17px; }
  .about-section { padding: 56px 0; }
  .about-split,
  .principles-section { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { padding-top: 0; }
  .reader-list { grid-template-columns: 1fr; }
  .about-closing { align-items: flex-start; flex-direction: column; padding: 34px 26px; }
  .static-footer { align-items: flex-start; flex-direction: column; padding-bottom: 42px; }
  .static-footer nav { justify-content: flex-start; }
  .static-footer a { min-height: 44px; display: inline-flex; align-items: center; padding-block: 10px; }
}

@media (max-width: 480px) {
  .reader-list { grid-template-columns: 1fr; gap: 24px; }
  .about-figure div { padding: 18px 0; }
}
/* Shared language switch for static, legal and reference pages. */
.page-language{position:fixed;right:14px;bottom:14px;z-index:50;padding:5px;border:1px solid rgba(83,62,111,.24);border-radius:12px;background:rgba(255,253,248,.94);box-shadow:0 5px 22px rgba(49,33,72,.12);backdrop-filter:blur(8px)}
.page-language select{min-height:36px;padding:5px 30px 5px 10px;border:0;border-radius:8px;background:#302546;color:#fffdf8;font:600 13px/1.2 Arial,sans-serif;cursor:pointer}
.page-language select:focus-visible{outline:3px solid #d3ad54;outline-offset:2px}
:lang(ja) body{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;line-height:1.85}
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ja) .brand{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;letter-spacing:.04em}
