/* Article-only presentation for blog/shame-nikki-jido-sakusei.html. */
:root {
  --sa-paper: #fbfaf7;
  --sa-wash: #f4f7f5;
  --sa-wash-rose: #faf2f5;
  --sa-ink: #172033;
  --sa-muted: #5f6878;
  --sa-line: #ded8cd;
  --sa-rose: #8b2f51;
  --sa-rose-dark: #65213a;
  --sa-gold: #a77d29;
  --sa-green: #225b48;
  --sa-navy: #10182c;
  --sa-radius: 18px;
  --sa-shadow: 0 14px 40px rgba(23, 32, 51, .09);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.sa-page {
  margin: 0;
  padding-bottom: 88px;
  overflow-x: hidden;
  background: var(--sa-paper);
  color: var(--sa-ink);
}
.sa-page *, .sa-page *::before, .sa-page *::after { box-sizing: border-box; }
.sa-page main { background: var(--sa-paper); }
.sa-page img { max-width: 100%; }
.sa-wrap { width: min(100% - 32px, 980px); margin-inline: auto; }
.sa-reading { width: min(100%, 760px); margin-inline: auto; }

.sa-hero {
  padding: clamp(20px, 4vw, 52px) 0 clamp(34px, 6vw, 64px);
  border-bottom: 1px solid var(--sa-line);
  background: linear-gradient(145deg, #fff 0%, #fff 42%, #f8f3e8 100%);
}
.sa-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; color: var(--sa-muted); font-size: 12px; }
.sa-breadcrumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sa-kicker { display: inline-flex; min-height: 28px; align-items: center; padding: 4px 10px; border-radius: 999px; background: #f4e3ea; color: var(--sa-rose-dark); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.sa-hero h1 { max-width: 900px; margin: 11px 0 10px; color: var(--sa-ink); font-size: clamp(28px, 5.3vw, 51px); line-height: 1.18; letter-spacing: -.025em; }
.sa-hero h1 span { color: var(--sa-rose-dark); }
.sa-hero-photo { max-width: 850px; margin: 12px 0; overflow: hidden; border: 1px solid var(--sa-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(23, 32, 51, .08); }
.sa-hero-photo img { display: block; width: 100%; height: auto; }
.sa-hero-photo figcaption { padding: 7px 12px 9px; color: var(--sa-muted); font-size: 12px; line-height: 1.5; }
.sa-hero__answer { max-width: 790px; margin: 0; color: var(--sa-ink); font-size: clamp(15px, 2.25vw, 18px); line-height: 1.7; }
.sa-updated { margin: 7px 0 0; color: var(--sa-muted); font-size: 12px; line-height: 1.65; }

.sa-section { padding: clamp(42px, 7vw, 74px) 0; }
.sa-section + .sa-section { border-top: 1px solid var(--sa-line); }
.sa-section--wash { background: var(--sa-wash); }
.sa-heading { margin: 0 0 12px; color: var(--sa-ink); font-size: clamp(25px, 4vw, 38px); line-height: 1.3; letter-spacing: -.015em; }
.sa-subheading { margin: 34px 0 12px; color: var(--sa-ink); font-size: clamp(20px, 3vw, 27px); line-height: 1.4; }
.sa-intro { margin: 0 0 22px; color: var(--sa-muted); font-size: 16px; line-height: 1.8; }
.sa-reading > p:not([class]) { margin: 16px 0; color: #344054; font-size: 16px; line-height: 1.9; }
.sa-reading a:not(.sa-button) { color: var(--sa-rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.sa-note { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--sa-gold); border-radius: 0 12px 12px 0; background: #fff8df; color: var(--sa-ink); font-size: 15px; line-height: 1.75; }
.sa-source-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--sa-line); color: var(--sa-muted) !important; font-size: 13px !important; line-height: 1.75 !important; }

.sa-table-wrap { margin: 20px 0; overflow-x: auto; border: 1px solid var(--sa-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(23, 32, 51, .04); }
.sa-table-wrap--wide { width: 100%; }
.sa-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; }
.sa-table caption { padding: 11px 14px; border-bottom: 1px solid var(--sa-line); background: var(--sa-navy); color: #fff; font-weight: 800; text-align: left; }
.sa-table th, .sa-table td { padding: 12px 14px; border-bottom: 1px solid var(--sa-line); text-align: left; vertical-align: top; }
.sa-table thead th { background: #f4f1ea; color: var(--sa-ink); font-size: 13px; white-space: nowrap; }
.sa-table tbody th { width: 10.5em; background: #faf8f3; color: var(--sa-ink); font-weight: 800; }
.sa-table tr:last-child th, .sa-table tr:last-child td { border-bottom: 0; }
.sa-table a { color: var(--sa-rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.sa-table--compare { min-width: 840px; }
.sa-table--compare tbody th { width: 140px; }
.sa-table__highlight th, .sa-table__highlight td { background: #f3faf6 !important; }

.sa-steps { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.sa-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--sa-line); border-radius: 14px; background: #fff; }
.sa-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--sa-wash-rose); color: var(--sa-rose-dark); font-size: 13px; font-weight: 900; }
.sa-steps strong { color: var(--sa-ink); font-size: 16px; }
.sa-steps p { margin: 4px 0 0; color: var(--sa-muted); font-size: 15px; line-height: 1.7; }

.sa-photo-story { display: grid; grid-template-columns: minmax(220px, 300px) 36px minmax(0, 1fr); gap: 18px; align-items: center; margin: 26px 0; }
.sa-photo-story__arrow { color: var(--sa-gold); font-size: 32px; font-weight: 900; text-align: center; }
.sa-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sa-photo { margin: 0; overflow: hidden; border: 1px solid var(--sa-line); border-radius: var(--sa-radius); background: #fff; box-shadow: var(--sa-shadow); }
.sa-photo img { display: block; width: 100%; height: auto; }
.sa-photo figcaption { padding: 10px 14px 13px; color: var(--sa-muted); font-size: 13px; line-height: 1.65; }
.sa-photo figcaption strong { color: var(--sa-ink); }
.sa-photo--portrait { width: 100%; }
.sa-photo--landscape { width: min(100%, 760px); margin: 24px auto; }
.sa-screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(100%, 760px); margin: 26px auto; }
.sa-photo--screen { display: grid; grid-template-columns: minmax(0, 1fr); }
.sa-photo--screen img { width: min(100%, 360px); margin-inline: auto; }

.sa-callout { margin: 22px 0; padding: 18px; border: 1px solid #c8d8d1; border-radius: 14px; background: #f4faf7; color: var(--sa-ink); }
.sa-callout > strong { display: block; margin-bottom: 7px; color: var(--sa-green); font-size: 16px; }
.sa-callout p { margin: 0; font-size: 15px; line-height: 1.8; }
.sa-checks { display: grid; gap: 8px; margin: 16px 0 24px; padding: 0; list-style: none; }
.sa-checks li { position: relative; padding: 11px 14px 11px 40px; border: 1px solid var(--sa-line); border-radius: 11px; background: #fff; color: #344054; font-size: 14px; line-height: 1.65; }
.sa-checks li::before { content: "✓"; position: absolute; top: 11px; left: 15px; color: var(--sa-green); font-weight: 900; }

.sa-cta { display: grid; gap: 13px; margin: 28px 0; padding: 16px; border: 1px solid #c8d8d1; border-radius: 16px; background: #f4faf7; }
.sa-cta--hero { max-width: 850px; margin: 18px 0 0; }
.sa-cta p { margin: 0; color: var(--sa-ink); font-size: 14px; line-height: 1.65; }
.sa-cta__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sa-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 15px; border: 1px solid transparent; border-radius: 999px; color: #fff !important; font-size: 13px; font-weight: 800; line-height: 1.35; text-align: center; text-decoration: none !important; }
.sa-button--store { background: var(--sa-navy); }
.sa-button--cast { background: var(--sa-rose); }
.sa-button:hover { filter: brightness(1.08); }

.sa-compare-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.sa-compare-cards article { padding: 17px; border: 1px solid var(--sa-line); border-radius: 14px; background: #fff; }
.sa-compare-cards span { display: inline-flex; margin-bottom: 9px; padding: 3px 8px; border-radius: 999px; background: #f4e3ea; color: var(--sa-rose-dark); font-size: 11px; font-weight: 900; }
.sa-compare-cards h3 { margin: 0 0 7px; color: var(--sa-ink); font-size: 17px; line-height: 1.45; }
.sa-compare-cards p { margin: 0; color: var(--sa-muted); font-size: 14px; line-height: 1.7; }
.sa-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.sa-checklist li { position: relative; padding: 14px 15px 14px 42px; border: 1px solid var(--sa-line); border-radius: 13px; background: #fff; color: #344054; font-size: 14px; line-height: 1.6; }
.sa-checklist li::before { content: "✓"; position: absolute; top: 14px; left: 15px; color: var(--sa-green); font-weight: 900; }

.sa-faq { display: grid; gap: 10px; margin-top: 22px; }
.sa-faq details { overflow: hidden; border: 1px solid var(--sa-line); border-radius: 13px; background: #fff; }
.sa-faq summary { min-height: 54px; padding: 15px 44px 15px 16px; cursor: pointer; color: var(--sa-ink); font-weight: 800; line-height: 1.55; }
.sa-faq details > div { padding: 0 16px 16px; color: var(--sa-muted); font-size: 15px; line-height: 1.8; }
.sa-author { margin-top: 28px; padding: 18px; border: 1px solid var(--sa-line); border-radius: 14px; background: #fff; color: var(--sa-muted); font-size: 14px; line-height: 1.75; }
.sa-author strong { display: block; color: var(--sa-ink); font-size: 15px; }

.sa-footer { padding: 48px 0 118px; background: #07091a; color: #94a3b8; text-align: center; font-size: .85rem; }
.sa-footer p { margin: 0 0 12px; }
.sa-footer a { color: #c9a961; }
.sa-footer__brand { color: #fff; font-weight: 800; letter-spacing: .12em; }
.sa-footer__copy { margin-top: 18px !important; font-size: .78rem; opacity: .7; }

.sa-sticky { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; min-height: 76px; border-top: 1px solid var(--sa-line); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 28px rgba(23, 32, 51, .12); backdrop-filter: blur(9px); transition: transform .2s ease, visibility .2s; }
.sa-sticky.is-hidden { transform: translateY(110%); visibility: hidden; }
.sa-sticky__inner { display: flex; width: min(100% - 24px, 980px); min-height: 76px; align-items: center; justify-content: space-between; gap: 12px; margin-inline: auto; }
.sa-sticky p { margin: 0; color: var(--sa-ink); font-size: 13px; font-weight: 800; line-height: 1.35; }
.sa-sticky small { display: block; color: var(--sa-muted); font-size: 10px; font-weight: 500; }
.sa-sticky__buttons { display: flex; flex: 0 0 auto; gap: 8px; }
.sa-sticky .sa-button { min-width: 126px; min-height: 48px; padding-inline: 14px; }

.sa-page a:focus-visible, .sa-page summary:focus-visible { outline: 3px solid #2b72d6; outline-offset: 3px; }

@media (max-width: 700px) {
  .sa-wrap { width: min(100% - 24px, 980px); }
  .sa-hero { padding-top: 16px; }
  .sa-hero h1 { font-size: clamp(27px, 8vw, 35px); }
  .sa-hero-photo { margin-block: 9px; }
  .sa-hero-photo figcaption { padding-block: 6px 7px; font-size: 11px; }
  .sa-cta__buttons { grid-template-columns: 1fr; }
  .sa-photo-story { grid-template-columns: 1fr; }
  .sa-photo-story > .sa-photo--portrait { width: min(100%, 330px); margin-inline: auto; }
  .sa-photo-story__arrow { transform: rotate(90deg); line-height: 1; }
  .sa-photo-grid, .sa-screen-grid, .sa-compare-cards, .sa-checklist { grid-template-columns: 1fr; }
  .sa-photo-grid .sa-photo { width: min(100%, 360px); margin-inline: auto; }
  .sa-photo--screen { width: min(100%, 360px); margin-inline: auto; }
  .sa-table tbody th { width: 8em; }
  .sa-sticky p { display: none; }
  .sa-sticky__buttons { width: 100%; }
  .sa-sticky .sa-button { min-width: 0; flex: 1 1 0; }
}

@media (max-width: 520px) {
  .sa-page .ut-header__inner { min-height: 62px; }
  .sa-page .ut-logo img { width: 150px; }
  .sa-page .ut-nav a { display: none; }
  .sa-page .ut-nav .ut-nav__cta { display: inline-flex; font-size: 12px; }
  .sa-hero__answer { font-size: 14px; }
  .sa-updated { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sa-sticky { transition: none; }
}

@media print {
  body.sa-page { padding-bottom: 0; }
  .sa-sticky, .ut-header { display: none !important; }
  .sa-photo, .sa-table-wrap, .sa-compare-cards article { break-inside: avoid; }
}
