/* A small, playful repair quiz. Strong outlines and solid colors keep it crisp. */
.repair-check-shell {
  --repair-ink: #19352f;
  --repair-muted: #596961;
  --repair-accent: #19352f;
  --repair-yellow: #ffe564;
  --repair-line: #d4ded7;
  color: var(--repair-ink);
  background: #fff9df;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  padding: 0 24px;
}
.repair-check-shell *, .repair-check-shell *::before, .repair-check-shell *::after { box-sizing: border-box; }
.repair-check-shell [hidden] { display: none !important; }
.repair-check-shell a { color: inherit; }
.repair-check-shell button { font: inherit; cursor: pointer; }
.repair-check-shell h1, .repair-check-shell h2, .repair-check-shell h3, .repair-check-shell p, .repair-check-shell figure, .repair-check-shell dl { margin: 0; }
.repair-check-shell :is(h1,h2,h3) { font-family: inherit; }
.repair-check-shell button:disabled { cursor: default; }
.repair-check-shell :is(a,button,summary):focus-visible { outline: 3px solid #16739b; outline-offset: 5px; }
.repair-check-shell h2:focus { outline: none; }
.repair-topbar { max-width: 1040px; height: 62px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.repair-brand { font-size: 13px; font-weight: 800; text-decoration: none; }
.repair-return { font-size: 11px; text-decoration: none; }
.repair-return span { margin-left: 7px; }
.repair-container { max-width: 920px; margin: auto; }
.repair-hero { position: relative; display: flex; align-items: center; justify-content: center; gap: 38px; padding: 18px 25px 28px; }
.repair-hero-copy { position: relative; z-index: 1; }
.repair-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.repair-check-shell .repair-hero h1 { font-family: inherit; font-size: clamp(42px,5vw,62px); font-weight: 900; line-height: 1.2; letter-spacing: -.045em; margin-top: 11px; }
.repair-hero h1 span { display: block; }
.repair-hero h1 span::after { content: ''; display: inline-block; width: .14em; height: .14em; background: #f2866d; border-radius: 50%; margin-left: .12em; vertical-align: .16em; }
.repair-lead { font-size: 13px; margin-top: 16px !important; font-weight: 500; }
.repair-hero-art { width: 270px; flex: 0 0 270px; position: relative; padding-top: 40px; transform: rotate(-5deg); }
.repair-hero-art img { display: block; width: 100%; height: auto; }
.repair-hero-stamp { position: absolute; top: 0; right: 28px; display: flex; align-items: baseline; gap: 3px; padding: 5px 13px; background: #ffc4ad; border: 2px solid var(--repair-ink); border-radius: 5px; font-size: 13px; font-weight: 800; transform: rotate(11deg); box-shadow: 3px 3px 0 var(--repair-ink); }
.repair-hero-stamp b { font-size: 29px; line-height: 1.3; }
.repair-app { background: white; border: 2px solid var(--repair-ink); border-radius: 16px; box-shadow: 6px 7px 0 #19352f; overflow: hidden; scroll-margin-top: 20px; }
.repair-steps { display: flex; justify-content: center; gap: 45px; padding: 15px 24px; border-bottom: 1px solid var(--repair-line); background: #f9fbf6; }
.repair-steps button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 3px; color: #5c6b62; background: none; font-size: 12px; font-weight: 700; }
.repair-steps button span { display: grid; place-items: center; width: 25px; height: 25px; border: 1.5px solid #9aa99f; border-radius: 50%; background: white; font-size: 12px; }
.repair-steps button[aria-current="step"] { color: var(--repair-ink); }
.repair-steps button[aria-current="step"] span { background: var(--repair-yellow); border-color: var(--repair-ink); box-shadow: 2px 2px 0 var(--repair-ink); }
.repair-steps button.is-complete:not([aria-current]) span { background: #d9ead6; color: var(--repair-ink); border-color: var(--repair-ink); }
.repair-steps button:disabled { opacity: .6; }
.repair-question, .repair-result { padding: 28px 32px 19px; }
.repair-question-heading { text-align: center; margin-bottom: 24px; }
.repair-progress { font-size: 11px; font-weight: 700; letter-spacing: .08em; margin-bottom: 6px !important; color: var(--repair-muted); }
.repair-check-shell .repair-question h2 { font-size: 28px; font-weight: 800; line-height: 1.5; letter-spacing: .01em; }
.repair-hint { font-size: 12px; color: var(--repair-muted); margin-top: 7px !important; }
.repair-trail { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: -9px 0 22px; }
.repair-trail-item { border: 0; border-bottom: 1px dashed #9cab9e; background: none; color: #597060; padding: 3px 0; font-size: 10px !important; }
.repair-trail-item:hover { color: var(--repair-ink); }
.repair-question-body { display: grid; grid-template-columns: 1fr; }
.repair-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.repair-choice { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: flex-start; text-align: left; min-height: 82px; padding: 16px 32px 16px 18px; background: white; border: 1.5px solid #839c8d; border-radius: 8px; color: var(--repair-ink); box-shadow: 0 3px 0 #d4dfd6; transition: transform .12s, box-shadow .12s, background .12s; }
.repair-choice::after { content: '→'; position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: #5b7667; font-size: 17px; }
.repair-choice:hover, .repair-choice.is-highlighted { background: #f0f9df; border-color: var(--repair-ink); transform: translateY(-2px); box-shadow: 0 5px 0 #b2c5b4; }
.repair-choice:active { transform: translateY(2px); box-shadow: none; }
.repair-choice[aria-pressed="true"] { border-color: var(--repair-ink); background: #f5f7cf; }
.choice-label { font-size: 15px; font-weight: 700; line-height: 1.5; }
.choice-description { font-size: 11px; font-weight: 400; color: #596d60; line-height: 1.7; }
.repair-choice.is-unsure { border-style: dashed; }
.repair-app[data-step="material"] .repair-choices { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.repair-choice.is-material { align-items: center; text-align: center; min-height: 185px; padding: 17px 12px 20px; border: 2px solid var(--repair-ink); box-shadow: 3px 4px 0 var(--repair-ink); }
.repair-choice.is-material::after { display: none; }
.repair-choice.is-material[data-value="metal"] { background: #dff1fc; }
.repair-choice.is-material[data-value="plastic"] { background: #ffe2d4; }
.repair-choice.is-material[data-value="gold"] { background: #fff0a5; }
.repair-choice.is-material[data-value="unknown"] { background: #e8efd9; }
.repair-choice.is-material:hover { transform: translate(-1px,-3px); box-shadow: 4px 7px 0 var(--repair-ink); }
.repair-choice.is-material:active { transform: translate(2px,3px); box-shadow: 1px 1px 0 var(--repair-ink); }
.repair-choice.is-material .choice-label { font-size: 16px; }
.repair-choice.is-material .choice-description { font-size: 10px; }
.choice-icon { display: block; width: 102px; height: 53px; margin-bottom: 7px; }
.choice-icon svg { display: block; width: 100%; height: 100%; }
.repair-question-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.repair-text-button, .repair-back { border: 0; background: none; padding: 9px 0; color: var(--repair-muted); font-size: 11px !important; }
.repair-text-button { text-decoration: underline; text-underline-offset: 4px; }
.repair-back:disabled { visibility: hidden; }
.repair-app[data-step="part"] .repair-question-body { grid-template-columns: .95fr 1.1fr; gap: 22px; align-items: start; }
.repair-diagram { position: sticky; top: 20px; border: 1px solid #b7d3e0; border-radius: 9px; background: #eef8ff; overflow: hidden; }
.repair-diagram-canvas { position: relative; width: 100%; aspect-ratio: 560 / 390; }
.repair-diagram svg { width: 100%; height: 100%; display: block; }
.repair-map-point { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%); width: 34px; height: 34px; padding: 0; border: 1.5px solid var(--repair-ink); border-radius: 50%; background: #fff6ba; color: var(--repair-ink); box-shadow: 1px 2px 0 var(--repair-ink); font-size: 12px !important; font-weight: 800 !important; }
.repair-map-point::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; }
.repair-map-point:hover, .repair-map-point.is-highlighted, .repair-map-point[aria-pressed="true"] { background: var(--repair-ink); color: white; }
.repair-diagram figcaption { font-size: 10px; text-align: center; color: var(--repair-muted); padding: 8px 6px 12px; }
.repair-app[data-step="part"] .repair-choices { gap: 8px; }
.repair-app[data-step="part"] .repair-choice { min-height: 72px; padding: 11px 15px 11px 31px; border-color: #a0b5a8; box-shadow: 0 2px 0 #dde5dd; }
.repair-app[data-step="part"] .repair-choice::after { display: none; }
.repair-app[data-step="part"] .choice-label { font-size: 13px; }
.repair-app[data-step="part"] .choice-description { font-size: 10px; }
.choice-number { position: absolute; top: 13px; left: 10px; color: #577362; font-size: 11px; font-weight: 800; }
.repair-app[data-step="part"] .repair-choice:not(:has(.choice-number)) { padding-left: 12px; }
.repair-result-heading { text-align: center; }
.repair-result-note { display: inline-block; background: var(--repair-yellow); padding: 6px 19px 8px; border: 2px solid var(--repair-ink); box-shadow: 3px 3px 0 var(--repair-ink); font-size: 31px; font-weight: 800; line-height: 1.5; margin: 7px 0 22px !important; transform: rotate(-2deg); }
.repair-check-shell .repair-result h2 { text-align: center; font-size: 20px; font-weight: 700; line-height: 1.7; }
.repair-result-detail { font-size: 13px; line-height: 1.95; color: #526457; max-width: 640px; margin: 12px auto 0 !important; }
.repair-result-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; margin-top: 25px; }
.repair-check-shell .repair-result h3 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.repair-summary-panel, .repair-checkpoints { border-top: 1px solid var(--repair-line); padding-top: 17px; }
.repair-summary-panel dl > div { display: grid; grid-template-columns: 39px 1fr; gap: 8px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed #d9e1d6; font-size: 12px; }
.repair-summary-panel dt { color: var(--repair-muted); font-size: 11px; }
.repair-summary-panel dd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; }
.repair-summary-panel button { flex: 0 0 auto; border: 0; background: none; padding: 5px 0; color: #315d47; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; }
.repair-checkpoints ul { margin: 0; padding-left: 18px; font-size: 12px; color: #526457; line-height: 1.9; }
.repair-checkpoints li + li { margin-top: 7px; }
.repair-disclaimer { font-size: 10px; color: var(--repair-muted); margin-top: 17px !important; }
.repair-next { margin-top: 25px; padding-top: 22px; text-align: center; border-top: 1px solid var(--repair-line); }
.repair-check-shell .repair-next h3 { font-size: 16px; margin-bottom: 7px; }
.repair-next p { color: #526457; font-size: 12px; }
.repair-primary-button { display: flex; align-items: center; justify-content: center; gap: 15px; background: #ffba9e; border: 2px solid var(--repair-ink); border-radius: 7px; box-shadow: 3px 4px 0 var(--repair-ink); padding: 15px 20px; max-width: 400px; margin: 16px auto 0; color: var(--repair-ink) !important; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .12s,box-shadow .12s; }
.repair-primary-button::after { content: '→'; }
.repair-primary-button:hover { transform: translateY(-2px); box-shadow: 3px 6px 0 var(--repair-ink); }
.repair-next-note { max-width: 560px; margin: 15px auto 0 !important; font-size: 10px !important; }
.repair-retry { display: block; margin: 13px auto 0; }
.repair-under-note { color: var(--repair-muted); font-size: 10px; text-align: center; margin: 20px 10px 0 !important; }
.repair-direct { text-align: center; font-size: 11px; color: var(--repair-muted); margin-top: 14px !important; }
.repair-direct a { color: var(--repair-ink); margin-left: 6px; text-underline-offset: 4px; }
.repair-check-shell details summary { list-style: none; cursor: pointer; }
.repair-check-shell details summary::-webkit-details-marker { display: none; }
.repair-faq { margin-top: 38px; border-top: 1px solid #d1d7b9; border-bottom: 1px solid #d1d7b9; }
.repair-faq > summary, .repair-guide > summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12px; }
.repair-faq > summary { font-weight: 700; }
.repair-faq-list { padding: 0 18px 18px; background: #fffdf3; }
.repair-faq-list details { border-bottom: 1px solid var(--repair-line); }
.repair-faq-list summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 12px; }
.repair-check-shell details[open] > summary > span { transform: rotate(45deg); }
.repair-faq-list p { color: var(--repair-muted); font-size: 12px; line-height: 1.9; padding: 0 20px 18px 0; }
.repair-guide { border-bottom: 1px solid #d1d7b9; }
.repair-guide-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; padding: 10px 0 25px; }
.repair-guide h3 { font-size: 13px; margin-bottom: 6px !important; }
.repair-guide p { color: var(--repair-muted); font-size: 12px; }
.repair-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 26px 0; font-size: 10px; color: var(--repair-muted); }
.repair-footer a { font-weight: 700; text-decoration: none; }
.repair-noscript { padding: 24px; font-size: 14px; }
.repair-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .repair-hero { gap: 15px; }
  .repair-hero-art { width: 225px; flex-basis: 225px; }
  .repair-app[data-step="material"] .repair-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .repair-choice.is-material { min-height: 165px; }
  .repair-app[data-step="part"] .repair-question-body { grid-template-columns: .8fr 1fr; gap: 18px; }
  .repair-app[data-step="part"] .repair-choices { grid-template-columns: 1fr; }
  .repair-app[data-step="part"] .repair-choice { min-height: 64px; }
}
@media (max-width: 600px) {
  .repair-check-shell { padding: 0 17px; }
  .repair-topbar { height: 51px; gap: 8px; }
  .repair-brand { font-size: 11px; }
  .repair-return { font-size: 10px; }
  .repair-hero { justify-content: flex-start; padding: 17px 3px 24px; gap: 0; }
  .repair-eyebrow { font-size: 10px; letter-spacing: .03em; }
  .repair-check-shell .repair-hero h1 { font-size: 42px; margin-top: 9px; line-height: 1.16; }
  .repair-lead { font-size: 11px; margin-top: 14px !important; white-space: nowrap; }
  .repair-hero-art { position: absolute; width: 137px; right: -5px; bottom: 53px; padding-top: 27px; }
  .repair-hero-stamp { top: -4px; right: 11px; padding: 2px 8px; font-size: 10px; border-width: 1.5px; box-shadow: 2px 2px 0 var(--repair-ink); }
  .repair-hero-stamp b { font-size: 22px; }
  .repair-app { border-radius: 12px; box-shadow: 4px 5px 0 var(--repair-ink); scroll-margin-top: 13px; }
  .repair-steps { gap: 23px; padding: 11px 14px; }
  .repair-steps button { gap: 6px; font-size: 11px; }
  .repair-steps button span { width: 22px; height: 22px; font-size: 10px; }
  .repair-question, .repair-result { padding: 22px 16px 14px; }
  .repair-question-heading { margin-bottom: 18px; }
  .repair-check-shell .repair-question h2 { font-size: 23px; }
  .repair-hint { font-size: 11px; margin-top: 5px !important; }
  .repair-progress { font-size: 10px; }
  .repair-trail { margin-bottom: 17px; gap: 5px 12px; }
  .repair-trail-item { font-size: 9px !important; }
  .repair-choices { gap: 10px; }
  .repair-choice { min-height: 85px; padding: 12px 22px 12px 12px; }
  .choice-label { font-size: 13px; }
  .choice-description { font-size: 11px; }
  .repair-choice::after { right: 7px; font-size: 13px; }
  .repair-app[data-step="material"] .repair-choices { gap: 11px; }
  .repair-choice.is-material { min-height: 153px; padding: 12px 9px; box-shadow: 2px 3px 0 var(--repair-ink); }
  .repair-choice.is-material .choice-label { font-size: 14px; }
  .repair-choice.is-material .choice-description { font-size: 10px; }
  .choice-icon { width: 91px; height: 46px; margin-bottom: 3px; }
  .repair-app[data-step="part"] .repair-question-body { grid-template-columns: 1fr; gap: 14px; }
  .repair-app[data-step="part"] .repair-choices { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .repair-app[data-step="part"] .repair-choice { min-height: 75px; padding: 10px 9px 10px 26px; }
  .repair-app[data-step="part"] .choice-label { font-size: 12px; }
  .repair-app[data-step="part"] .choice-description { font-size: 10px; }
  .choice-number { left: 9px; top: 12px; font-size: 10px; }
  .repair-diagram { position: static; }
  .repair-map-point { width: 31px; height: 31px; font-size: 11px !important; }
  .repair-map-point::before { inset: -6px; }
  .repair-diagram figcaption { font-size: 9px; }
  .repair-question-footer { margin-top: 17px; }
  .repair-result-note { font-size: 25px; padding: 5px 12px 7px; }
  .repair-check-shell .repair-result h2 { font-size: 17px; }
  .repair-result-detail { font-size: 12px; }
  .repair-result-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; }
  .repair-next { margin-top: 22px; padding-top: 20px; }
  .repair-check-shell .repair-next h3 { font-size: 14px; }
  .repair-primary-button { font-size: 13px; padding: 14px 8px; gap: 10px; }
  .repair-direct { font-size: 10px; }
  .repair-under-note { font-size: 9px; margin-top: 18px !important; }
  .repair-faq { margin-top: 30px; }
  .repair-faq-list { padding-left: 8px; padding-right: 8px; }
  .repair-faq-list summary { font-size: 11px; }
  .repair-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .repair-check-shell { padding: 0 13px; }
  .repair-check-shell .repair-hero h1 { font-size: 37px; }
  .repair-hero-art { width: 107px; bottom: 52px; right: -2px; }
  .repair-lead { font-size: 10px; }
  .repair-hero-stamp { font-size: 9px; right: 5px; }
  .repair-hero-stamp b { font-size: 18px; }
  .repair-question, .repair-result { padding-left: 12px; padding-right: 12px; }
  .repair-steps { gap: 19px; }
  .repair-choice.is-material .choice-label { font-size: 12px; }
  .choice-icon { width: 78px; }
  .repair-result-note { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .repair-check-shell *, .repair-check-shell *::before, .repair-check-shell *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
