:root {
  --ink: #102e55;
  --navy: #0b284d;
  --blue: #376b9e;
  --accent: #eb2778;
  --muted: #43536c;
  --section-gap: 200px;
  --section-title-gap: 100px;
  --header-height: clamp(64px, 5.555556vw, 80px);
}
* { box-sizing: border-box; }
html { font-size: clamp(8px, 1.111111vw, 16px); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'Noto Sans JP', 'Yu Gothic', Meiryo, sans-serif; font-size: 1.125rem; line-height: 1.85; letter-spacing: .045em; }
main { overflow-x: clip; overflow-y: visible; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ee8cb5; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.container { position: relative; z-index: 2; width: min(72rem, 80%); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); background: transparent; transition: background-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { background: rgb(255 255 255 / .55); box-shadow: 0 2px 12px rgb(11 40 77 / .05); backdrop-filter: blur(6px); }
.header-inner { width: min(84rem, 93%); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .875rem; flex-shrink: 0; }
.brand img { width: 2.625rem; height: 3rem; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 2rem; letter-spacing: .22em; }
.brand small { margin-top: .4rem; font-size: .8rem; letter-spacing: .19em; font-weight: 700; }
.global-nav { display: flex; align-items: center; gap: 2.25rem; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.global-nav a { padding-block: .75rem; }
.global-nav .header-cta { display: inline-flex; align-items: center; gap: .65rem; padding: .625rem 1.25rem; background: var(--navy); color: #fff; border-radius: .2rem; box-shadow: 0 0 0 .2rem #e8edf2; }
.header-cta img { width: 1.25rem; height: 1rem; object-fit: contain; filter: brightness(0) invert(1); }
.menu-toggle { display: none; }
.hero { position: relative; height: calc(43.75rem + var(--section-gap)); }
.hero-inner { position: relative; z-index: 2; width: min(85rem, 95%); height: 100%; margin: auto; }
.hero-photo-wrap { position: absolute; left: -3rem; top: calc(0px - var(--header-height)); width: 70%; height: calc(43.75rem + var(--header-height)); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 41% center; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.hero-copy { position: absolute; top: 19.375rem; left: 62%; }
.hero h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.55; letter-spacing: .025em; margin: 0 0 1.25rem; white-space: nowrap; }
.hero p { font-size: 1.5625rem; font-weight: 600; line-height: 1.9; margin: 0; }
.deco { position: absolute; z-index: 1; pointer-events: none; object-fit: contain; }
.hero-panel { left: -3rem; top: 3.75rem; width: 57rem; height: 42.5rem; opacity: .65; }
.hex-deco { max-width: none; opacity: .48; }
.hero-hex { left: -6rem; bottom: -3rem; width: 26rem; height: 44rem; transform: rotate(-12deg); }
.section { position: relative; padding: 0 0 var(--section-gap); scroll-margin-top: 0; }
.section h2 { font-size: 2.25rem; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-align: center; margin: 0; }
.heading-line { width: 4rem; height: .25rem; margin: .75rem auto calc(var(--section-title-gap) - .75rem - .5rem); background: #7290b0; }
.cards.three, .course-grid, .steps, .faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.feature-card, .support-card, .faq-grid article { background: linear-gradient(130deg, #f8f9fa, #f6f7f9); border-radius: .5rem; }
.features { padding-top: 0; }
.feature-card { padding: 2.875rem 1.75rem 2.5rem; min-height: 19rem; }
.feature-card img { height: 4.875rem; width: 5.75rem; object-fit: contain; margin: 0 auto 1.375rem; }
.feature-card h3, .course-grid h3, .support-card h3, .steps h3 { font-size: 1.375rem; line-height: 1.5; font-weight: 700; margin: 0 0 .75rem; text-align: center; }
.feature-card p, .course-grid p, .support-card p, .steps p, .faq-grid p { font-size: 1.0625rem; line-height: 1.9; letter-spacing: .02em; font-weight: 500; margin: 0; color: var(--muted); text-align: left; }
.features-hex { right: -5rem; top: -5rem; width: 25rem; height: 36rem; transform: rotate(-35deg); }
.support-hex { left: -7rem; top: -6rem; width: 27rem; height: 42rem; transform: rotate(18deg); }
.roadmap-hex { left: -5rem; bottom: -4rem; width: 20rem; height: 28rem; transform: rotate(-25deg); opacity: .36; }
.courses-lines { left: 1rem; top: 8rem; width: 10rem; opacity: .38; }
.courses .container, .support .container, .roadmap .container, .classroom .container { width: min(82rem, 92%); }
.course-grid { gap: 2rem; }
.course-grid article { min-width: 0; }
.slant { clip-path: polygon(17% 0, 100% 0, 83% 100%, 0 100%); overflow: hidden; }
.course-grid .slant { height: 20rem; margin-bottom: 1.25rem; width: 112%; }
.course-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.course-grid h3, .course-grid p { margin-inline: .75rem; }
.course-grid h3 { font-size: 1.5625rem; }
.support-card { position: relative; min-height: 24rem; padding: 2.125rem 1.75rem 2rem; }
/* A full-width blue band highlights support while keeping the existing section gaps. */
.support { isolation: isolate; }
.support::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: calc(var(--section-gap) / -2) 0 calc(var(--section-gap) / 2);
  background: linear-gradient(115deg, #d7eafb, #edf6fd);
  clip-path: polygon(0 3rem, 100% 0, 100% calc(100% - 3rem), 0 100%);
  pointer-events: none;
}
.support .support-card {
  background: #fff;
  box-shadow: 0 10px 30px rgb(11 40 77 / .07);
}
.support .support-hex { opacity: .55; mix-blend-mode: multiply; }
.support-photo { width: calc(100% - 3.25rem); height: 13rem; object-fit: cover; object-position: center 40%; margin: 0 0 1.375rem auto; border-radius: .3rem; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.mini-icon { position: absolute; left: 2rem; top: 2.25rem; width: 3.625rem; height: 3.5rem; object-fit: contain; }
.support-card:nth-child(2) .mini-icon { width: 2.5rem; }
.roadmap-lines { left: .5rem; top: 10rem; width: 9rem; opacity: .35; }
.steps { gap: 4.5rem; width: 100%; margin-inline: auto; }
.steps article { position: relative; min-width: 0; }
.steps article:not(:last-child)::after { content: ''; position: absolute; right: -2.75rem; top: 7.25rem; width: 1rem; height: 1rem; border-top: .2rem solid var(--ink); border-right: .2rem solid var(--ink); transform: rotate(45deg); }
.steps img { width: 100%; height: 15.5rem; object-fit: cover; margin-bottom: 1.125rem; border-radius: .375rem; }
.steps article:nth-child(1) img { object-position: center 62%; }
.steps article:nth-child(2) img { object-position: center 50%; }
.steps article:nth-child(3) img { object-position: center 35%; }
.step-no { position: absolute; z-index: 3; left: -1.75rem; top: -.75rem; width: 4rem; height: 4rem; display: grid; place-items: center; border: .18rem solid #467ab1; border-radius: 50%; background: #fff; font-size: 1.375rem; font-weight: 600; color: #376b9e; }
.classroom-band { display: grid; grid-template-columns: 58% 42%; align-items: center; width: 100%; margin-inline: auto; }
.classroom-photo { height: 27rem; }
.classroom-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.classroom-copy { padding-left: 2rem; }
.classroom-copy h3 { font-size: 1.875rem; line-height: 1.65; margin: 0 0 1.25rem; }
.classroom-copy p { font-size: 1.125rem; line-height: 1.85; font-weight: 500; margin: 0 0 1.75rem; color: var(--muted); }
.outline-btn { display: inline-flex; align-items: center; justify-content: center; gap: 3rem; width: 19.25rem; min-height: 3.75rem; padding: .5rem 1rem; border: 1px solid #567197; border-radius: .2rem; font-size: 1.125rem; font-weight: 700; }
.outline-btn span { font-size: 1.625rem; }
.classroom-hex { right: -5rem; top: 3rem; width: 28rem; height: 38rem; transform: rotate(65deg); }
.faq { padding-bottom: var(--section-gap); }
.faq .container { width: min(68rem, 76%); }
.faq-grid { gap: 1.25rem; }
.faq-grid article { padding: 1.5rem 1.375rem; }
.faq-grid h3 { display: flex; justify-content: center; align-items: center; gap: .65rem; font-size: 1.125rem; line-height: 1.5; margin: 0 0 1rem; }
.faq-grid h3 span { flex-shrink: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border: .15rem solid #8ca6c3; border-radius: 50%; font-size: 1.5rem; }
.faq-grid p { font-size: 1.0625rem; }
.faq-hex { right: -3rem; top: -5rem; width: 24rem; height: 32rem; transform: rotate(-15deg); }
.faq-lines { left: 0; bottom: -3rem; width: 7rem; opacity: .3; }
.contact { position: relative; isolation: isolate; width: min(72.5rem, 81%); margin: 0 auto var(--section-gap); border: 1px solid #376b9e; border-radius: .375rem; color: #fff; background: linear-gradient(120deg, #0b284d, #214e78); box-shadow: 0 10px 30px rgb(11 40 77 / .14); }
.contact-inner { position: relative; z-index: 2; padding: 3rem 2rem; }
.contact h2 { margin: 0 0 var(--section-title-gap); font-size: 2.5rem; line-height: 1.5; letter-spacing: .18em; text-align: center; }
.contact h2 em { color: #ffb4d4; font-style: normal; white-space: nowrap; }
.contact p { font-size: 1.125rem; color: #edf5ff; margin: 0; text-align: center; }
.contact-actions { display: flex; justify-content: center; align-items: stretch; gap: 3rem; margin-top: 1.375rem; }
.primary-btn, .phone-btn { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 4rem; width: 26.5rem; padding: .75rem 1rem; border-radius: .25rem; font-size: 1.0625rem; line-height: 1.5; font-weight: 700; }
.primary-btn { color: #fff; background: #e72575; }
.contact .primary-btn { background: #ca155e; border: 1px solid #ff96c0; }
.primary-btn::after { content: '→'; }
.phone-btn { color: var(--ink); border: 1px solid #45658c; background: #fff; }
.primary-btn img, .phone-btn img { width: 1.5rem; height: 1.5rem; flex-shrink: 0; object-fit: contain; }
.primary-btn img { filter: brightness(0) invert(1); }
.contact-lines { left: 2.5rem; top: 0; width: 10rem; opacity: .2; filter: brightness(0) invert(1); }
.site-footer { padding: 2rem 0; color: #fff; background: var(--navy); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: min(81rem, 90%); margin: auto; }
.footer-brand img { width: 2.5rem; height: 2.875rem; filter: brightness(0) invert(1); }
.footer-brand b { font-size: 1.625rem; }
.footer-brand small { font-size: .625rem; }
.site-footer nav { display: flex; align-items: center; gap: 1.25rem; font-size: .8125rem; font-weight: 500; white-space: nowrap; }
.legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem 1rem; font-size: .8125rem; }
.legal span + span::before { content: '|'; margin-right: 1rem; opacity: .55; }
.legal small { width: 100%; font-size: .8125rem; text-align: right; }
/* Keep content readable before JavaScript runs or if it is unavailable. */
.reveal { opacity: 1; }
main :is(h1, h2, h3, p).text-single-line { text-align: center; }
main :is(h1, h2, h3, p).text-multi-line { text-align: left; }
@media (max-width: 700px) {
  :root { --section-gap: 150px; --header-height: 60px; }
  html { font-size: 16px; }
  body { font-size: 15px; }
  .container, .faq .container { width: calc(100% - 40px); }
  .courses .container, .support .container, .roadmap .container, .classroom .container { width: calc(100% - 32px); }
  .site-header { height: var(--header-height); }
  .header-inner { width: calc(100% - 32px); }
  .brand { gap: 10px; }
  .brand img { width: 28px; height: 32px; }
  .brand b { font-size: 21px; }
  .brand small { font-size: 9px; margin-top: 5px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--ink); }
  .global-nav { display: none; position: absolute; inset: var(--header-height) 0 auto; padding: 16px 24px 24px; background: #fff; font-size: 14px; box-shadow: 0 12px 24px #102e5514; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .global-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav a { min-height: 44px; padding: 10px; text-align: center; }
  .global-nav .header-cta { justify-content: center; margin-top: 10px; }
  .hero { height: auto; padding: 0 0 var(--section-gap); }
  .hero-inner { width: 100%; display: flex; flex-direction: column; }
  .hero-photo-wrap { position: relative; left: -6%; top: calc(0px - var(--header-height)); width: 112%; height: calc(clamp(320px, 90vw, 520px) + 40px); margin-bottom: calc(0px - var(--header-height)); }
  .hero-photo { object-position: 40% center; clip-path: polygon(14% 0,100% 0,86% 100%,0 100%); }
  .hero-copy { position: relative; left: auto; top: auto; margin: 24px 24px 0; }
  .hero h1 { font-size: clamp(27px, 7.4vw, 42px); line-height: 1.55; margin-bottom: 14px; }
  .hero p { font-size: clamp(13px, 3.4vw, 17px); }
  .hero-panel { left: -6%; top: 18px; width: 106%; height: clamp(320px, 90vw, 520px); }
  .hero-hex { left: -64px; width: 200px; height: 340px; bottom: 24px; }
  .section, .features { padding: 0 0 var(--section-gap); }
  .section h2 { font-size: 26px; }
  .heading-line { width: 44px; height: 2px; margin: 12px auto calc(var(--section-title-gap) - 12px - 5px); }
  .cards.three, .course-grid, .steps, .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-card { min-height: 0; padding: 28px 24px; }
  .feature-card img { width: 60px; height: 54px; margin-bottom: 18px; }
  .feature-card h3, .course-grid h3, .support-card h3, .steps h3 { font-size: 18px; margin-bottom: 10px; }
  .feature-card p, .course-grid p, .support-card p, .steps p, .faq-grid p { font-size: 14px; }
  .course-grid .slant { width: 100%; height: auto; aspect-ratio: 1.35; margin-bottom: 16px; }
  .course-grid img { height: 100%; }
  .course-grid h3, .course-grid p { margin-inline: 8px; }
  .support-card { min-height: 0; padding: 24px; }
  .support-photo { width: calc(100% - 42px); height: auto; aspect-ratio: 1.45; margin-bottom: 18px; }
  .mini-icon { top: 28px; left: 20px; width: 42px; height: 40px; }
  .support-card:nth-child(2) .mini-icon { width: 30px; }
  .steps { width: calc(100% - 16px); gap: 40px; }
  .steps img { height: auto; aspect-ratio: 1.35; margin-bottom: 16px; }
  .step-no { width: 44px; height: 44px; top: -10px; left: -12px; font-size: 16px; border-width: 2px; }
  .steps article:not(:last-child)::after { display: none; }
  .classroom-band { width: 100%; grid-template-columns: 1fr; gap: 24px; }
  .classroom-photo { height: auto; aspect-ratio: 1.25; }
  .classroom-copy { padding: 0 8px; }
  .classroom-copy h3 { font-size: 22px; margin-bottom: 16px; }
  .classroom-copy p { font-size: 14px; margin-bottom: 22px; }
  .outline-btn { display: flex; width: min(100%, 300px); min-height: 48px; margin: auto; font-size: 14px; gap: 32px; }
  .faq-grid article { padding: 20px; }
  .faq-grid h3 { font-size: 14px; gap: 10px; }
  .faq-grid h3 span { width: 28px; height: 28px; font-size: 18px; border-width: 1px; }
  .contact { width: calc(100% - 32px); margin-bottom: var(--section-gap); }
  .contact-inner { padding: 28px 20px; }
  .contact h2 { font-size: clamp(21px, 5.7vw, 28px); letter-spacing: .06em; margin-bottom: var(--section-title-gap); }
  .contact p { font-size: 14px; }
  .contact-actions { flex-direction: column; gap: 14px; margin-top: 24px; }
  .primary-btn, .phone-btn { width: 100%; min-height: 52px; padding: 12px 8px; gap: 8px; font-size: 11px; }
  .primary-btn img, .phone-btn img { width: 18px; height: 18px; }
  .contact-lines { width: 70px; left: 0; }
  .site-footer { padding: 28px 0; }
  .footer-inner { flex-direction: column; align-items: stretch; gap: 24px; width: calc(100% - 40px); }
  .footer-brand { align-self: center; }
  .footer-brand b { font-size: 21px; }
  .footer-brand small { font-size: 9px; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 11px; text-align: center; }
  .site-footer nav a { padding: 6px 0; }
  .legal { justify-content: center; font-size: 10px; gap: 12px; }
  .legal small { text-align: center; font-size: 10px; }
  .courses-lines, .roadmap-lines, .faq-lines { width: 65px; height: 100px; opacity: .2; }
  .hex-deco { opacity: .34; }
  .features-hex { right: -76px; top: -46px; width: 210px; height: 300px; }
  .support-hex { left: -80px; top: -52px; width: 220px; height: 340px; }
  .roadmap-hex { left: -62px; bottom: -20px; width: 180px; height: 250px; opacity: .28; }
  .classroom-hex { right: -76px; top: 16px; width: 230px; height: 310px; }
  .faq-hex { right: -66px; top: -50px; width: 200px; height: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Broad, forward-leaning arrows and long trails carry motion down the page. */
.speed-arrows {
  --arrow-rgb: 65 149 226;
  --arrow-angle: -10deg;
  width: 42rem;
  height: 10rem;
  max-width: none;
  transform: rotate(var(--arrow-angle));
  transform-origin: 75% 50%;
  opacity: .64;
}
.speed-arrows span {
  /* Use three times the original thickness without changing arrow length or motion. */
  scale: 1 3;
  transform-origin: center;
  position: absolute;
  display: block;
  width: 100%;
  height: 3.25rem;
  background: linear-gradient(90deg, rgb(var(--arrow-rgb) / 0), rgb(var(--arrow-rgb) / .2) 12%, rgb(var(--arrow-rgb) / .65) 50%, rgb(var(--arrow-rgb)) 100%);
  clip-path: polygon(0 37%, 87% 37%, 83% 20%, 100% 50%, 83% 80%, 87% 63%, 0 63%);
}
.speed-arrows span:nth-child(1) { top: 0; left: 0; }
.speed-arrows span:nth-child(2) { --trail-opacity: .58; top: 3.5rem; left: -12%; width: 85%; opacity: .58; }
.speed-arrows span:nth-child(3) { --trail-opacity: .82; top: 7rem; left: 9%; width: 74%; opacity: .82; }
.hero-arrow { right: -5rem; top: 3.75rem; width: 58rem; height: 14rem; opacity: .85; }
.hero-arrow span { height: 4.25rem; }
.hero-arrow span:nth-child(2) { top: 4.75rem; }
.hero-arrow span:nth-child(3) { top: 9.5rem; }
.courses-speed { left: -14rem; top: -.5rem; width: 40rem; opacity: .57; }
.roadmap-speed { left: auto; right: -3rem; top: -1rem; width: 50rem; opacity: .62; }
.faq-speed { left: -18rem; top: -1rem; width: 41rem; opacity: .5; }
.contact { overflow: clip; }
/* Arrow-shaped heading accents reinforce the same direction at a smaller scale. */
.heading-line { width: 6rem; height: .5rem; background: linear-gradient(90deg, #accfe8, #376b9e); clip-path: polygon(0 30%, 84% 30%, 78% 0, 100% 50%, 78% 100%, 84% 70%, 0 70%); }
@media (prefers-reduced-motion: no-preference) {
  .speed-arrows span { animation: arrow-rush 12s cubic-bezier(.16, 1, .3, 1) infinite; animation-play-state: paused; }
  .speed-arrows.is-in-view span { animation-play-state: running; }
  .speed-arrows span:nth-child(2) { animation-delay: .12s; }
  .speed-arrows span:nth-child(3) { animation-delay: .24s; }
  @keyframes arrow-rush {
    0% { transform: translateX(-5rem) scaleX(.86); opacity: 0; }
    9%, 89% { transform: translateX(0) scaleX(1); opacity: var(--trail-opacity, 1); }
    100% { transform: translateX(3rem) scaleX(1.04); opacity: 0; }
  }
}
@media (max-width: 700px) {
  .speed-arrows { height: 76px; }
  .speed-arrows span { height: 25px; }
  .speed-arrows span:nth-child(2) { top: 26px; }
  .speed-arrows span:nth-child(3) { top: 52px; }

  .hero-arrow { width: 360px; right: -40px; top: auto; bottom: 12px; height: 76px; opacity: .7; }
  .hero-arrow span { height: 25px; }
  .hero-arrow span:nth-child(2) { top: 26px; }
  .hero-arrow span:nth-child(3) { top: 52px; }
  .courses-speed { width: 290px; left: -170px; top: -22px; opacity: .4; }
  .roadmap-speed { width: 300px; left: auto; right: -70px; top: -24px; opacity: .45; }
  .faq-speed { width: 300px; left: -190px; top: -26px; opacity: .4; }
  .heading-line { width: 64px; height: 5px; }
}

/* Transparent header reveals the hero photo behind the logo and navigation. */
.header-inner > .brand,
.header-inner > .global-nav,
.header-inner > .menu-toggle {
  background-color: transparent;
  box-shadow: none;
}
@media (max-width: 700px) {
  .header-inner > .global-nav.is-open {
    background-color: rgb(255 255 255 / .96);
    box-shadow: 0 12px 24px #102e5514;
  }
}
.header-inner > .brand { text-shadow: 0 0 3px #fff, 0 0 6px #fff; }

/* Always-visible return link stays above page content and respects safe areas. */
.back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 64px;
  height: 64px;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgb(255 255 255 / .65);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgb(11 40 77 / .22);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .12em;
  transition: background-color .2s ease, transform .2s ease;
}
.back-to-top svg { display: block; width: 23px; height: 23px; }
@media (hover: hover) {
  .back-to-top:hover { background: #376b9e; transform: translateY(-3px); }
}
@media (max-width: 700px) {
  .back-to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    font-size: 10px;
  }
  .back-to-top svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .back-to-top { transition: none; }
}