*{box-sizing:border-box}body{margin:0;color:#0f1c2e;background:#fff;font:18px/1.55 Urbanist,Arial,sans-serif}h1,h2,p{margin:0}
header,main,footer{width:min(1120px,91%);margin:auto}
header{height:84px;display:flex;align-items:center;border-bottom:1px solid #d9dfec;justify-content:space-between}
header img{width:145px;height:auto}
a{color:#283c87;text-underline-offset:3px}
header a{font-size:16px}
.hero{display:grid;grid-template-columns:1.35fr 1fr;gap:7%;align-items:center;padding:70px 0}
.location{color:#3753bc;font-weight:700}
.hero h1{font-size:clamp(42px,5.8vw,77px);line-height:1.02;letter-spacing:-.048em;margin:14px 0 24px}
.hero .lead{max-width:52ch;font-size:21px}
.offer{background:#f2f4fc;border:1px solid #dbe1f3;border-radius:23px;padding:36px}
.offer h2{font-size:24px}
.price{font-size:58px;font-weight:700;line-height:1.1;margin-top:10px}
.note{font-size:15px;color:#485673}
.offer ul{padding-left:21px;margin:23px 0}
.button{display:inline-block;text-decoration:none;background:#3753bc;border-radius:10px;color:#fff;padding:15px 22px;font-weight:bold}
.offer .button + .note{margin-top:11px}
.detail{display:grid;grid-template-columns:1fr 1fr;gap:7%;padding:32px 0 42px;border-top:1px solid #d9dfec}
.detail h2{font-size:30px;line-height:1.12;letter-spacing:-.025em;margin:0 0 14px}
.detail p+p{margin-top:12px}
.last{padding:26px 0 40px;border-top:1px solid #d9dfec}
footer{font-size:14px;color:#495671;padding:16px 0;border-top:1px solid #d9dfec}
a:focus-visible{outline:3px solid #24977f;outline-offset:3px}
@media(max-width:730px){header{height:68px}
.hero,.detail{grid-template-columns:1fr;gap:26px}
.hero{padding:31px 0}
.hero .lead{font-size:18px}
.offer{padding:24px}
.detail{padding:27px 0}
.detail h2{font-size:26px}
.button{width:100%;text-align:center}}

.offer{overflow:hidden}
.case-photo{margin:-36px -36px 20px}.case-photo img{display:block;width:100%;height:clamp(150px,16vw,210px);object-fit:cover;object-position:50% 53%}
.case-photo figcaption{padding:9px 36px 0;font-size:15px;color:#495671}
.report-sample{border-top:1px solid #d9dfec;padding:36px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:7%;align-items:center}
.report-sample h2{font-size:clamp(27px,3.1vw,40px);line-height:1.1;letter-spacing:-.035em;margin:0 0 12px}
.report-sample p{max-width:44ch;margin-bottom:16px}
.report-sheet{background:#f0f3fa;border-radius:18px;padding:18px;text-align:center;display:block}
.report-sheet img{display:block;width:min(100%,260px);height:auto;margin:auto;box-shadow:0 3px 12px #24325622}
@media(max-width:730px){.case-photo{margin:-24px -24px 16px}.case-photo img{height:134px}.case-photo figcaption{padding:7px 24px 0}.report-sample{display:flex;flex-direction:column;align-items:stretch;gap:14px}.report-copy{order:-1}}

.header-upload { display: none; }
.case-photo-window img { object-position: 50% 30%; }
.case-photo-masonry img { object-position: 50% 74%; }
.hero > * { min-width: 0; }
@media (max-width: 730px) {
  header { gap: 8px; }
  header img { width: clamp(96px, 29vw, 145px); }
  .header-how { display: none; }
  .header-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 .25em;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 9px;
    background: #3753bc;
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
  .header-upload[aria-disabled="true"] { background: #485673; }
  .hero h1 { font-size: clamp(36px, 10.75vw, 48px); overflow-wrap: break-word; }
}

.related-cases { padding: 0 0 28px; }
.related-cases h2 { font-size: 21px; }
.related-cases ul { margin: 6px 0 0; padding-left: 1.25em; }
.related-cases a { display: inline-block; padding: 4px 0; }

.case-photo a { display:block; cursor:zoom-in; }
.photo-open { display:inline-block; font-size:16px; }
.bear-tip { margin: 0 0 28px; padding:12px 16px; border:1px solid #dbe1f3; border-radius:14px; }
.bear-tip summary { cursor:pointer; font-weight:700; }
.bear-tip img { width:42px; height:42px; object-fit:contain; vertical-align:middle; margin-right:8px; }
.bear-tip p { margin:12px 0 4px; max-width:64ch; }
.photo-dialog { width:min(90vw,850px); max-height:90vh; border:0; border-radius:16px; padding:16px; color:inherit; }
.photo-dialog::backdrop { background:#101d32cf; }
.photo-dialog button { font:inherit; cursor:pointer; padding:6px 14px; margin-bottom:12px; }
.photo-dialog img { display:block; width:100%; max-height:70vh; object-fit:contain; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    body::before { content:""; position:fixed; inset:0 0 auto; height:3px; background:#3753bc; z-index:5; transform-origin:left; pointer-events:none; animation:city-progress linear both; animation-timeline:scroll(root); }
    @keyframes city-progress { from { transform:scaleX(0); } to { transform:scaleX(1); } }
  }
}

.scene {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);margin:26px 0 30px;background:#203784;color:white;border-radius:22px;overflow:hidden}
.scene-copy{padding:clamp(26px,3.6vw,56px);align-self:center}
.scene-place {font-size:16px;font-weight:700;color:#e2eaff}
.scene h1{font-size:clamp(44px,5.4vw,78px);letter-spacing:-.052em;line-height:.98;margin:18px 0}
.scene-copy>p:not(.scene-place){max-width:38ch}
.scene .button{background:white;color:#203784;margin-top:22px}
.scene .viewer{margin:0;min-width:0;background:#101c38;display:flex;flex-direction:column}
.lens-frame{overflow:hidden;position:relative;min-height:230px;flex:1}
.scene .lens-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform-origin:var(--x,50%) var(--y,50%)}
.lens-frame.zoomed{touch-action:none;cursor:crosshair}
.lens-frame.zoomed img{transform:scale(2.5)}
.lens-frame:focus-visible{outline:3px solid #9ae7d1;outline-offset:-4px;z-index:1}
.lens-tools:not([hidden]){display:flex;align-items:center;gap:12px;padding:12px 16px 4px}
.lens-tools button{border:0;border-radius:24px;padding:11px 15px;background:#ccf4e7;color:#112d31;font:inherit;font-weight:bold;cursor:pointer;flex-shrink:0}
.lens-tools span,.scene figcaption{font-size:14px;color:#e1e8ff;line-height:1.35}
.scene figcaption{padding:7px 16px 14px}
.scene figcaption a{display:inline;color:white}
main>.offer{margin-bottom:30px}
.bert-voice{display:flex;align-items:center;gap:16px;border-left:4px solid #3753bc;padding:14px 20px;background:#f1f4fb;margin:0 0 30px}
.bert-voice img{object-fit:contain}
@media(max-width:730px){.scene{grid-template-columns:1fr;margin-top:12px}.scene-copy{padding:20px}.scene h1{font-size:clamp(36px,9.5vw,52px);margin:10px 0}.scene-copy>p:not(.scene-place){font-size:16px}.scene .button{margin-top:12px;padding:10px}.lens-frame{min-height:210px}.lens-tools span{font-size:13px}}

/* The document stays readable before enhancement and in reduced-motion mode. */
@media (prefers-reduced-motion: no-preference) {
  html, body { overflow-x: clip; }
  .city-enter-left { --entry-offset: clamp(-220px, -16vw, -54px); }
  .city-enter-right { --entry-offset: clamp(54px, 16vw, 220px); }
  .city-enter-left, .city-enter-right {
    animation: city-enter 850ms cubic-bezier(.18,.76,.22,1) both;
  }
  @keyframes city-enter {
    from { transform: translateX(var(--entry-offset)); opacity: .14; }
    to { transform: translateX(0); opacity: 1; }
  }
  .city-enter-left:focus-within, .city-enter-right:focus-within { animation: none; }
}
