/* Shared site navigation, typefaces and palette come from styles.css. */
body { line-height: 1.85; }
.guide-shell { width: min(100%, 1180px); margin: auto; background: linear-gradient(180deg, #fbf8f1, #f6f3eb 75%, #faf6ef); box-shadow: 0 20px 70px #34302a25; }
.guide-shell h1, .guide-shell h2, .guide-shell h3 { line-height: 1.6; }
.guide-shell a { text-underline-offset: 4px; }
.guide-shell p { margin: 0 0 16px; }
.guide-shell .page-heading__row > div > p { font-size: 16px; }
.guide-shell .detail-link { font-size: 15px; }
.guide-shell img { height: auto; }
.guide-shell [id] { scroll-margin-top: 85px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #65765a; outline-offset: 5px; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 10px; z-index: 100; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.section-pad { padding: 32px 6.2%; }
.guide-title { padding: 22px 6.2% 0; }
.breadcrumbs { display: flex; gap: 12px; font-size: 11px; color: #74766a; }
.breadcrumbs a { color: #656b5c; }
.guide-title__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0 4px; }
.guide-title h1 { font-size: clamp(28px, 3.15vw, 38px); margin: 0 0 10px; letter-spacing: .03em; }
.guide-title__row > div > p { font-size: 13px; color: var(--muted); margin: 0; }
.guide-title .hand-note { font-size: 15px; transform: rotate(-6deg); color: #646a57; padding-right: 15px; margin: 0; }
.guide-rule { width: 100%; height: 30px; display: block; margin-top: 12px; pointer-events: none; }
.guide-rule path { fill: none; stroke: #4f5145; stroke-width: 1; vector-effect: non-scaling-stroke; }
.situations { padding-top: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.section-heading h2 { font-family: "Yu Gothic", sans-serif; font-size: 16px; font-weight: 700; margin: 0; }
.section-heading > p { font-size: 14px; color: var(--muted); margin: 0; }
.case-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #d5d4c6; border: 1px solid #d5d4c6; }
.case-picker a { display: flex; align-items: center; gap: 15px; padding: 17px 18px; color: #3e4636; background: #f6f4eb; text-decoration: none; position: relative; }
.case-picker strong { display: block; font-family: "Yu Mincho", serif; font-weight: 600; font-size: 18px; line-height: 1.6; }
.case-picker small { display: block; font-size: 14px; line-height: 1.8; margin-top: 3px; color: #666c5c; }
.case-number { flex: none; font: italic 23px Georgia, serif; color: #8e967f; }
.case-picker a:hover { background: #e9ecdf; }
.case-picker a[aria-selected="true"] { background: #dfe5d4; box-shadow: inset 3px 0 #667457; }
.case-picker a[aria-selected="true"] strong { color: #33462a; }
.case-panel { padding-top: 35px; }
.case-panel + .case-panel { margin-top: 35px; border-top: 1px solid var(--rule); }
.enhanced .case-panel { margin-top: 0; border-top: 0; }
.case-body { display: grid; grid-template-columns: .84fr 1.16fr; gap: 5%; align-items: start; }
.case-copy, .case-figure { min-width: 0; }
.case-copy h3 { font-size: clamp(24px, 2.45vw, 30px); font-weight: 600; margin: 0 0 18px; }
.case-copy > p { font-size: 16px; }
.case-copy .scene-label { font-size: 14px; color: #707a60; margin-bottom: 8px; letter-spacing: .07em; }
.capability-list { margin: 0 0 22px; padding-left: 1.3em; font-size: 16px; line-height: 2; }
.capability-list li::marker { color: #899474; }
.outcome { border-top: 1px solid #cbd0bf; padding-top: 14px; }
.outcome span { display: block; font-size: 14px; color: #667358; margin-bottom: 5px; }
.pencil-note { font-family: "Zen Kurenaido", "HGP行書体", "Yu Mincho", serif; font-weight: 400; letter-spacing: .1em; color: #666c56; transform: rotate(-4deg); }
.case-copy .pencil-note { font-size: 17px; text-align: right; margin: 26px 0 18px; }
.screen-link { display: block; padding: 7px; background: #fdfaf4; border: 1px solid #ceccbf; border-radius: 4px; text-decoration: none; box-shadow: 0 8px 22px #44482f16; transition: transform .2s; }
.screen-link:hover { transform: translateY(-3px); }
.screen-link img { display: block; width: 100%; }
.zoom-label { display: block; text-align: right; padding: 7px 5px 0; font-size: 14px; color: #696e5b; }
.case-figure { margin: 0; }
figcaption { font-size: 14px; color: #707565; margin: 10px 0 0; line-height: 1.8; }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); counter-reset: work; list-style: none; padding: 17px 0; margin: 25px 0 0; border-block: 1px solid var(--rule); }
.workflow li { counter-increment: work; font-size: 16px; display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.workflow li::before { content: "0" counter(work); font: italic 21px Georgia, serif; color: #879276; }
.workflow li + li { border-left: 1px solid var(--rule); }
.guide-shell .scope-note { font-size: 14px; color: #676c5d; line-height: 1.9; margin: 14px 0 0; }
.kicker { font-size: 14px; letter-spacing: .1em; color: #657258; }
.migration-map { background: #e8ecdf; padding: 28px; border-radius: 3px; }
.migration-map .kicker { text-align: right; margin-bottom: 24px; }
.migration-map > div { display: flex; gap: 15px; align-items: center; }
.migration-map > div > span { font: italic 28px Georgia, serif; color: #7f8b70; }
.migration-map p { margin: 0; }
.migration-map strong { font-size: 16px; }
.migration-map small { display: block; font-size: 14px; color: var(--muted); }
.migration-map i { display: block; padding: 10px 0 10px 40px; color: #7b896a; font-style: normal; }
.guide-shell .migration-limit { margin-top: 25px; background: #eeeadd; padding: 17px 20px; }
.feature-notice { margin-top: 28px; padding: 22px 24px; border: 1px solid #c2cbb8; border-radius: 3px; background: #f0f2e9; color: #3e4935; }
.feature-notice h4 { margin: 0 0 14px; font: 600 19px/1.7 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.guide-shell .feature-notice p { margin: 0 0 12px; font-size: 16px; line-height: 1.9; color: #3e4935; }
.guide-shell .feature-notice p:last-child { margin-bottom: 0; }
.feature-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.feature-details h4, .appearance-detail h4 { margin: 0 0 12px; font: 600 19px/1.7 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.feature-details p, .appearance-detail p { font-size: 16px; line-height: 1.9; }
.appearance-detail { display: grid; grid-template-columns: .84fr 1.16fr; gap: 5%; align-items: start; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }
.inline-preview { color: #8b4b38; font-size: 15px; display: inline-block; margin: 4px 0 18px; }
.selection { background: #e8ecdf; padding-block: 28px; margin-top: 12px; }
.selection > h2, .questions h2 { font-size: 22px; margin: 0 0 18px; }
details { border-bottom: 1px solid #c9cfbf; }
summary { cursor: pointer; list-style: none; position: relative; padding: 16px 32px 16px 0; font-size: 16px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 3px; font-size: 19px; font-weight: 400; top: 11px; color: #67775b; }
details[open] > summary::after { content: "−"; }
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin: 8px 0 24px; }
.fit-columns h3 { font: 700 16px/1.8 "Yu Gothic", sans-serif; margin: 0 0 12px; }
.fit-columns ul { padding-left: 1.3em; margin: 0; font-size: 16px; line-height: 2; }
.questions { padding-top: 32px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details p { font-size: 16px; padding: 0 30px 5px 0; max-width: 900px; color: var(--muted); }
.faq-list details p a { color: #8b4b38; }
.questions .purchase-guide { margin: 24px 0 0; font-size: 16px; color: var(--muted); }
.guide-return { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px 35px; }
.guide-return a { font-size: 15px; color: #8c513d; }
.guide-footer { margin: 0 6.2%; border-top: 1px solid var(--rule); padding: 20px 0; display: flex; gap: 25px; justify-content: space-between; }
.guide-footer > a { font-family: "Yu Mincho", serif; font-size: 18px; color: var(--ink); text-decoration: none; }
.guide-footer p { font-size: 10px; color: var(--muted); margin: 0; }
.image-dialog { width: min(96vw, 1650px); max-height: 94vh; padding: 0; border: 1px solid #8b967b; background: var(--paper); box-shadow: 0 20px 70px #0005; }
.image-dialog::backdrop { background: #20261ae0; }
.dialog-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.dialog-bar h2 { font: 700 13px/1.7 "Yu Gothic", sans-serif; }
.dialog-bar button { flex: none; padding: 8px 14px; background: #e2e8d8; color: var(--ink); border: 1px solid #9da98d; border-radius: 4px; cursor: pointer; font-size: 12px; }
.image-dialog > img { width: 100%; height: auto; display: block; }
@media (max-width: 800px) {
  .case-picker a { padding: 14px 12px; gap: 10px; }
  .case-picker strong { font-size: 16px; }
  .case-number { font-size: 20px; }
  .case-body { grid-template-columns: 1fr 1.15fr; gap: 4%; }
  .case-copy h3 { font-size: 24px; }
  .workflow li { padding: 0 10px; gap: 8px; }
}
@media (max-width: 600px) {
  .guide-shell [id] { scroll-margin-top: 68px; }
  .guide-title { padding-top: 17px; }
  .guide-title__row { padding-top: 18px; }
  .guide-title h1 { font-size: 27px; }
  .guide-title__row > div > p { font-size: 12px; }
  .guide-title .hand-note { display: none; }
  .guide-rule { height: 22px; margin-top: 6px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .case-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-picker a { gap: 8px; padding: 12px 10px; }
  .case-picker strong { font-size: 16px; }
  .case-number { display: none; }
  .case-body { grid-template-columns: 1fr; gap: 16px; }
  .case-copy h3 { font-size: 27px; }
  .case-copy .pencil-note { margin-top: 18px; }
  .workflow { grid-template-columns: 1fr; gap: 14px; }
  .workflow li + li { border: 0; }
  .migration-map { padding: 22px 18px; }
  .feature-notice { padding: 18px; }
  .feature-details, .appearance-detail { grid-template-columns: 1fr; gap: 20px; }
  .fit-columns { grid-template-columns: 1fr; gap: 25px; }
  .guide-footer { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen-link { transition: none; }
  .screen-link:hover { transform: none; }
}
