/* SERVICE: ordinary page scroll, a sticky introduction and a shared dot scene. */
#service {
  position: relative;
  isolation: isolate;
  background: var(--soft);
  padding-top: 112px;
  padding-bottom: 112px;
}
#service .service-layout {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 88px;
}
.service-intro { position: sticky; top: 148px; }
#service .section-kicker { margin: 0 0 36px; }
.service-intro h2 {
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -.05em;
}
.service-intro > p { margin-top: 26px; font-size: 15px; line-height: 2.15; color: var(--muted); }
.service-intro-caption { display: block; margin-top: 40px; font-size: 10px; line-height: 1.7; letter-spacing: .1em; color: var(--muted); }
.service-backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.service-scene { position: sticky; top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); max-height: 900px; overflow: hidden; }
#service-canvas { display: block; width: 100%; height: 100%; opacity: .72; mask-image: linear-gradient(to bottom, transparent 12%, #000 49%, #000 88%, transparent); }
.service-cards { display: grid; gap: 24px; min-width: 0; }
.service-card {
  min-height: 520px;
  padding: 42px;
  border-radius: 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 72px;
}
.service-card:nth-child(even) { background: #fff; }
.service-card-heading { display: flex; align-items: start; gap: 22px; }
.service-card-number { flex: 0 0 auto; padding-top: 9px; font-size: 11px; color: var(--muted); }
.service-card h3 { margin: 0; font-weight: 500; }
#service .service-english { display: block; font-size: clamp(24px, 2.15vw, 32px); line-height: 1.25; letter-spacing: -.045em; }
#service .service-japanese { display: block; margin-top: 14px; font-family: var(--jp); font-size: 18px; font-weight: 700; line-height: 1.6; letter-spacing: -.025em; }
.service-card-content { border-top: 1px solid var(--line); padding-top: 25px; }
.service-card-content > p { font-size: 15px; line-height: 2.1; color: var(--muted); }
#service .tags { margin-top: 22px; gap: 7px; }
#service .tags li { font-size: 11px; padding: 5px 10px; background: none; }
#service .service-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding: 0; border: 0; font-size: 15px; font-weight: 500; }
#service .service-cta > span { font-size: 21px; transition: transform .3s var(--ease); }
#service .service-cta:hover > span { transform: translate(3px, -3px); }
#service .service-note { max-width: none; margin: 10px 0 0; font-size: 15px; line-height: 2; }
@media (max-width: 1100px) {
  #service { padding-top: 88px; padding-bottom: 88px; }
  #service .service-layout { grid-template-columns: .75fr 1.25fr; gap: 44px; }
  .service-intro { top: 124px; }
  .service-card { min-height: 520px; padding: 32px; gap: 60px; }
  .service-card-heading { gap: 16px; }
}
@media (max-width: 760px) {
  #service { padding-top: 72px; padding-bottom: 72px; }
  #service .service-layout { grid-template-columns: 1fr; gap: 64px; }
  .service-intro { position: relative; top: auto; }
  #service .section-kicker { margin-bottom: 30px; }
  .service-intro h2 { font-size: 28px; }
  .service-intro > p { margin-top: 24px; }
  .service-intro-caption { display: none; }
  .service-scene { top: 72px; }
  #service-canvas { opacity: .4; mask-image: linear-gradient(transparent, #000 38%, #000 85%, transparent); }
  .service-cards { gap: 20px; }
  .service-card { min-height: 460px; padding: 28px 24px; gap: 56px; border-radius: 18px; }
  .service-card-heading { display: block; }
  .service-card-number { display: block; padding: 0; margin-bottom: 24px; }
  #service .service-english { font-size: clamp(23px, 6vw, 28px); }
  #service .service-japanese { margin-top: 12px; font-size: 17px; }
  .service-card-content { padding-top: 22px; }
  #service .service-note { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #service .service-cta > span { transition: none; }
}
