
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  color: #080808;
  background: #fff;
  font-family: "M PLUS 1", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.75
}
a {
  color: inherit;
  text-decoration: none
}
button {
  font: inherit;
  cursor: pointer
}
img {
  display: block;
  max-width: 100%;
  height: auto
}
h1,
h2,
h3,
p,
ul {
  margin: 0
}
ul {
  padding: 0;
  list-style: none
}
.site {
  position: relative;
  margin: auto;
  max-width: 120rem
}
section[id] {
  scroll-margin-top: 1.875rem
}
a,
button {
  -webkit-tap-highlight-color: transparent
}
a:focus-visible,
button:focus-visible {
  outline: 0.1875rem solid #111;
  outline-offset: 0.375rem
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -6.25rem;
  background: #fff;
  padding: 0.625rem;
  z-index: 30
}
.skip-link:focus {
  top: 1rem
}
.header {
  position: fixed;
  top: 3.3125rem;
  left: 4.25rem;
  right: 3.3125rem;
  z-index: 20;
  height: 6.1875rem;
  padding: 0 2.75rem 0 2.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 3.75rem;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 0.8125rem 1.5rem #183f5540;
  backdrop-filter: blur(0.3125rem);
  transition: top .3s ease, height .3s ease, padding .3s ease,
    box-shadow .3s ease, background-color .3s ease
}
.header.is-scrolled {
  top: 1rem;
  height: 4.75rem;
  padding-right: 2rem;
  padding-left: 1.5rem;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0.5rem 1.25rem #183f5530
}
.brand {
  display: flex;
  align-items: center;
  gap: 1.0625rem
}
.brand>img:first-child {
  width: 7rem;
  transition: width .3s ease
}
.wordmark {
  width: 13.75rem;
  transition: width .3s ease
}
.header.is-scrolled .brand>img:first-child {
  width: 5.5rem
}
.header.is-scrolled .wordmark {
  width: 11.5rem
}
.header nav {
  display: flex;
  gap: 2.125rem;
  align-items: center;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2
}
.header nav a {
  transition: opacity .2s
}
.header nav a:hover {
  opacity: .65
}
.nav-contact {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #5f1985;
  color: #fff;
  border-radius: 2.5rem;
  padding: 1rem 1.3125rem
}
.menu-toggle {
  display: none
}
.hero {
  height: 51.625rem;
  position: relative;
  overflow: hidden;
  background: #39c9f0
}
.city {
  position: absolute;
  left: 0;
  top: -16.4413rem;
  width: 100%;
  max-width: none
}
.hero-character {
  position: absolute;
  width: 43.9787rem;
  max-width: none;
  left: 44.88rem;
  top: 5.81187rem
}
.hero-copy {
  position: absolute;
  left: 3.3125rem;
  top: 28.0625rem
}
.tags {
  display: flex;
  gap: 1.375rem;
  padding-left: 0.125rem;
  font-size: 1.22625rem;
  font-weight: 800;
  color: #009fe8
}
.tags li {
  height: 2.625rem;
  min-width: 9.3125rem;
  padding: 0.125rem 1rem;
  background: #fff;
  border-radius: 0.5625rem;
  box-shadow: 0 0 1.1875rem 0.4375rem #3fa9f5;
  text-align: center;
}
.tags li:last-child {
  min-width: 11.8125rem
}
.hero h1 {
  font-size: 6.53375rem;
  font-weight: 900;
  line-height: 1.122;
  letter-spacing: 0;
  color: #fff;
  margin-top: 2.5rem;
  text-shadow: 0 0 0.5rem #3fa9f5, 0 0 1.125rem #3fa9f5, 0 0 1.625rem #3fa9f5
}
/* Play the hero entrance once; leave the final layout unchanged. */
@media(prefers-reduced-motion:no-preference) {
  .hero-title {
    animation: hero-title-enter .85s cubic-bezier(.22, 1, .36, 1) .2s backwards
  }
  .hero-character {
    animation: hero-character-enter 1.1s cubic-bezier(.22, 1, .36, 1) backwards
  }
}
@keyframes hero-title-enter {
  from {
    opacity: 0;
    transform: translateY(1.5rem)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
@keyframes hero-character-enter {
  0% {
    opacity: 0;
    transform: translate(3rem, 12rem) rotate(7deg) scale(.72)
  }
  35% {
    opacity: 1;
    transform: translate(-.35rem, -.5rem) rotate(-2deg) scale(1.02)
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1)
  }
}
.message {
  position: relative;
  height: 45.625rem;
  background: #eef5fa;
  padding-top: 5rem;
  overflow: hidden
}
.message-inner {
  width: 58rem;
  margin: auto
}
.message h2 {
  display: flex;
  align-items: center;
  gap: 1.5625rem;
  font-size: 2.25rem;
  font-weight: 900;
  color: #009fe8;
  line-height: 1.5
}
.message h2:after {
  content: "";
  height: 0.125rem;
  background: #94d3ff;
  flex: 1
}
.message-copy {
  margin-left: 4rem;
  margin-top: 3.6875rem;
  width: 54.375rem
}
.message h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.7;
  white-space: nowrap;
  margin-bottom: 2.0625rem
}
.message-copy p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.9375rem;
  font-weight: 400;
  letter-spacing: -0.025rem
}
.quote {
  position: absolute;
  color: #96d1f8;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 15.3125rem;
  line-height: 1;
  pointer-events: none
}
.quote-open {
  left: 5.1875rem;
  top: 12.0625rem
}
.quote-close {
  right: 5.875rem;
  top: 28.6875rem
}
@media(prefers-reduced-motion:no-preference) {
  .quote.quote-reveal {
    animation: quote-fade-in .9s cubic-bezier(.22, 1, .36, 1) both paused
  }
  .quote-open.quote-reveal {
    --quote-offset: 2rem
  }
  .quote-close.quote-reveal {
    --quote-offset: -2rem
  }
  .quote.quote-reveal.is-visible {
    animation-play-state: running
  }
}
@keyframes quote-fade-in {
  from {
    opacity: 0;
    transform: translateY(var(--quote-offset))
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.message-watermark {
  display: flex;
  width: max-content;
  position: absolute;
  left: 0;
  bottom: -1.8125rem;
  color: white;
  white-space: nowrap;
  font-size: 6.91188rem;
  font-weight: 900;
  line-height: 1.3;
  pointer-events: none
}
/* Equal-width copies make the end of each cycle meet the next seamlessly. */
.message-watermark > span {
  flex: 0 0 auto;
  min-width: 100vw;
  padding-right: .75em
}
@media(prefers-reduced-motion:no-preference) {
  .message-watermark {
    animation: message-watermark-scroll 30s linear infinite
  }
}
@keyframes message-watermark-scroll {
  from {
    transform: translateX(0)
  }
  to {
    transform: translateX(-50%)
  }
}
.service {
  position: relative;
  min-height: 50rem;
  padding: 7.6875rem 0 5.5rem
}
.section-heading {
  text-align: center
}
.section-heading h2 {
  display: inline-block;
  position: relative;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.125rem
}
.section-heading h2:before,
.section-heading h2:after {
  content: "";
  position: absolute;
  top: 0.625rem;
  width: 3.25rem;
  height: 4.0625rem;
  background: center/contain no-repeat
}
.section-heading h2:before {
  right: calc(100% + 0.9375rem);
  background-image: url("../img/accent-left.svg")
}
.section-heading h2:after {
  left: calc(100% + 0.9375rem);
  background-image: url("../img/accent-right.svg")
}
.section-heading p {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0.8125rem
}
.service-mascot {
  position: absolute;
  top: 3.4375rem;
  width: 17.3125rem
}
.mascot-left {
  left: 3.8125rem
}
.mascot-right {
  right: 2.375rem
}
@media(prefers-reduced-motion:no-preference) {
  .mascot-left.mascot-reveal,
  .mascot-right.mascot-reveal {
    animation: mascot-fade-in .9s cubic-bezier(.22, 1, .36, 1) both paused
  }
  .mascot-left.mascot-reveal {
    --mascot-offset: -2rem
  }
  .mascot-right.mascot-reveal {
    --mascot-offset: 2rem
  }
  .mascot-reveal.is-visible {
    animation-play-state: running
  }
}
@keyframes mascot-fade-in {
  from {
    opacity: 0;
    transform: translateX(var(--mascot-offset))
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.875rem;
  margin: 4.25rem auto 0;
  width: 78.125rem
}
.service-card {
  --card: #3fa9f5;
  border: 0.3125rem solid var(--card);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
  min-width: 0
}
.service-card:hover {
  transform: translateY(-0.4375rem);
  box-shadow: 0 0.625rem 1.375rem #0002
}
.card-pink {
  --card: #ff0097
}
.card-green {
  --card: #1eaa39
}
.card-purple {
  --card: #5f1985
}
.card-image {
  height: 15.75rem;
  position: relative;
  overflow: hidden;
  background: var(--card)
}
.card-image>img {
  max-width: none;
  position: absolute
}
.anime-photo {
  height: 20.6875rem !important;
  width: 29.625rem;
  left: -5.625rem;
  top: -4.4375rem
}
.miyaoshi-photo {
  width: 18.375rem;
  left: -0.75rem;
  top: -1.125rem
}
.fighters-image img {
  width: 13.875rem;
  left: 1.6875rem;
  top: 1.4375rem
}
.festa-building {
  width: 27.75rem;
  left: 0;
  top: -4.25rem
}
.festa-left {
  width: 13.3125rem;
  left: -1.1875rem;
  top: -0.25rem
}
.festa-right {
  width: 13.3125rem;
  left: 6.4375rem;
  top: 1.125rem
}
.card-body {
  position: relative;
  height: 6.3125rem;
  padding: 1.25rem 0.625rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between
}
.card-number {
  position: absolute;
  left: 0;
  top: -1.125rem;
  line-height: 1.3;
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--card);
  opacity: .23;
  letter-spacing: -0.1875rem
}
.card-body h3 {
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
  letter-spacing: -0.04375rem
}
.view-more {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--card);
  position: relative
}
.company {
  padding: 7rem 0 7.5rem;
  min-height: 74.5625rem
}
.company-grid {
  display: grid;
  grid-template-columns: 24.25rem 42.875rem;
  gap: 4rem;
  margin: 4.5625rem 0 0 8.1875rem
}
.portrait-frame {
  position: relative;
  margin-top: 0;
  align-self: start;
  isolation: isolate
}
.portrait-frame img {
  position: relative;
  width: 24.25rem;
  height: 27.3125rem;
  object-fit: cover
}
.frame {
  position: absolute;
  inset: 0;
  z-index: -1
}
.frame-purple {
  background: #5f1985;
  transform: rotate(5deg) scaleY(1.1)
}
.frame-yellow {
  background: #ffe100;
  transform: rotate(-4deg) scale(1.035)
}
.frame-green {
  background: #1eaa39;
  transform: rotate(-3deg) translateY(0.8125rem)
}
.frame-pink {
  background: #e3007f;
  transform: rotate(2deg) translate(0.1875rem, 0.625rem)
}
.frame-blue {
  background: #3fa9f5;
  transform: rotate(-2deg) translate(-0.5625rem, -0.375rem)
}
@media(prefers-reduced-motion:no-preference) {
  .portrait-frame .frame-reveal {
    animation: portrait-frame-enter .8s cubic-bezier(.22, 1, .36, 1) var(--frame-delay, 0s) both paused
  }
  .portrait-frame .frame-reveal.is-visible {
    animation-play-state: running
  }
  .portrait-frame .frame-purple {
    --frame-final-transform: rotate(5deg) scaleY(1.1);
    --frame-delay: 0s
  }
  .portrait-frame .frame-yellow {
    --frame-final-transform: rotate(-4deg) scale(1.035);
    --frame-delay: .1s
  }
  .portrait-frame .frame-green {
    --frame-final-transform: rotate(-3deg) translateY(.8125rem);
    --frame-delay: .2s
  }
  .portrait-frame .frame-pink {
    --frame-final-transform: rotate(2deg) translate(.1875rem, .625rem);
    --frame-delay: .3s
  }
}
@keyframes portrait-frame-enter {
  from {
    opacity: 0;
    transform: scale(.82) rotate(0deg)
  }
  to {
    opacity: 1;
    transform: var(--frame-final-transform)
  }
}
.company-copy h3 {
  color: #3fa9f5;
  font-size: 1.5rem;
  font-weight: 800;
  white-space: nowrap;
  margin-bottom: 2.125rem;
  line-height: 1.5;
  letter-spacing: -0.025rem
}
.company-copy p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  letter-spacing: -0.015625rem
}
.company-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ff0097;
  border: 0.125rem solid #ff0097;
  border-radius: 2.8125rem;
  min-width: 15rem;
  height: 3.9375rem;
  font-size: 1.4375rem;
  font-weight: 700;
  margin-top: 2.875rem;
  transition: background .2s, color .2s
}
.company-more:hover {
  background: #ff0097;
  color: white
}
.contact {
  height: 18.75rem;
  position: relative;
  background: #5f1985;
  color: white;
  overflow: hidden
}
.contact-copy {
  position: relative;
  z-index: 1;
  padding: 3.0625rem 0 0 6.625rem
}
.contact h2 {
  font-size: 2.94563rem;
  line-height: 1.5;
  font-weight: 800
}
.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 28rem;
  height: 4.875rem;
  margin-top: 1.1875rem;
  border-radius: 3.4375rem;
  background: #ffe100;
  color: #000;
  padding: 0 2.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  transition: background .2s
}
.contact-button:hover {
  background: #fff16b
}
.contact-button span {
  font-size: 2.5rem;
  line-height: 1
}
.contact-mascot {
  position: absolute;
  width: 25.6875rem;
  max-width: none;
  right: -3.8125rem;
  top: -2.125rem
}
.footer {
  height: 12.125rem;
  background: #0e223f;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 2.9375rem;
  gap: 1.6875rem
}
.footer-logo img {
  width: 8.25rem
}
.footer-info {
  line-height: 1.7
}
.footer-name {
  font-size: 1.5rem;
  font-weight: 700
}
.footer address {
  font-style: normal;
  font-size: 1.125rem;
  font-weight: 400
}
.footer small {
  font-size: 0.8rem
}
.privacy-link {
  margin-left: auto;
  font-size: 1rem;
  white-space: nowrap
}
.privacy-link:hover {
  text-decoration: underline
}
dialog {
  border: 0;
  border-radius: 1.25rem;
  padding: 2.25rem;
  max-width: min(90vw, 35rem);
  font-size: 1rem;
  box-shadow: 0 1.25rem 5rem #0003
}
dialog::backdrop {
  background: #10233ccc
}
dialog h2 {
  font-size: 1.4375rem;
  margin: 0.75rem 0 1.25rem
}
dialog p {
  margin-bottom: 1.5rem
}
.dialog-close {
  position: absolute;
  right: 0.625rem;
  top: 0.1875rem;
  font-size: 1.875rem;
  background: none;
  border: 0
}
.dialog-ok {
  border: 0;
  border-radius: 1.5rem;
  background: #5f1985;
  color: #fff;
  padding: 0.5rem 1.75rem
}

html {
  font-size: min(1.171303vw, 22.489px)
}
@media(max-width:767px) {
  html {
    font-size: 16px
  }
  body {
    font-size: 14px
  }
  .site {
    width: 100%
  }
  section[id] {
    scroll-margin-top: 20px
  }
  .header {
    top: 16px;
    left: 16px;
    right: 16px;
    height: 66px;
    padding: 0 16px;
    border-radius: 40px;
    backdrop-filter: blur(9px)
  }
  .header.is-scrolled {
    top: 8px;
    height: 56px;
    padding: 0 13px
  }
  .brand {
    gap: 8px
  }
  .brand>img:first-child {
    width: 65px
  }
  .wordmark {
    width: 124px
  }
  .header.is-scrolled .brand>img:first-child {
    width: 55px
  }
  .header.is-scrolled .wordmark {
    width: 105px
  }
  .header.is-scrolled nav {
    top: 64px
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    width: 38px;
    height: 42px;
    padding: 7px
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #5f1985;
    transition: transform .2s
  }
  .menu-toggle[aria-expanded=true] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
  }
  .menu-toggle[aria-expanded=true] span:nth-child(2) {
    opacity: 0
  }
  .menu-toggle[aria-expanded=true] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
  }
  .header nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 20px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 25px #142b3a30;
    font-size: 15px
  }
  .header nav.is-open {
    display: flex
  }
  .header nav a {
    padding: 12px 18px
  }
  .nav-contact {
    justify-content: center
  }
  .hero {
    height: 650px
  }
  .city {
    height: 800px;
    width: 800px;
    left: calc(50% - 400px);
    top: -70px
  }
  .hero-character {
    width: 110vw;
    left: auto;
    right: -30px;
    top: 105px
  }
  .hero-copy {
    left: 20px;
    right: 16px;
    top: auto;
    bottom: 36px
  }
  .tags {
    gap: 8px;
    padding: 0;
    font-size: 11px;
    flex-wrap: wrap
  }
  .tags li {
    height: auto;
    min-width: 0;
    padding: 4px 8px;
    border-radius: 5px;
    box-shadow: 0 0 10px 3px #3fa9f5
  }
  .tags li:last-child {
    min-width: 0
  }
  .hero h1 {
    font-size: clamp(30px, 9.6vw, 59px);
    margin-top: 23px;
    line-height: 1.25;
    letter-spacing: -1px;
    text-shadow: 0 0 6px #3fa9f5, 0 0 13px #3fa9f5, 2px 3px #3fa9f5
  }
  .message {
    height: auto;
    padding: 46px 24px 85px
  }
  .message-inner {
    width: auto
  }
  .message h2 {
    font-size: 25px;
    gap: 17px
  }
  .message-copy {
    width: auto;
    margin: 28px 0 0
  }
  .message h3 {
    white-space: normal;
    font-size: 21px;
    line-height: 1.7;
    margin-bottom: 24px
  }
  .message-copy p {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0;
    margin-bottom: 22px
  }
  .message-copy br {
    display: none
  }
  .quote {
    display: none
  }
  .message-watermark {
    font-size: 51px;
    bottom: -7px
  }
  .service {
    padding: 76px 20px 40px;
    min-height: 0
  }
  .section-heading h2 {
    font-size: 38px;
    letter-spacing: -1px;
    line-height: 1.4
  }
  .section-heading p {
    font-size: 17px;
    margin-top: 9px
  }
  .section-heading h2:before,
  .section-heading h2:after {
    width: 26px;
    height: 34px;
    top: 7px
  }
  .section-heading h2:before {
    right: calc(100% + 6px)
  }
  .section-heading h2:after {
    left: calc(100% + 6px)
  }
  .service-mascot {
    top: 9px;
    width: 90px
  }
  .mascot-left {
    left: 12px
  }
  .mascot-right {
    right: 10px
  }
  .service-grid {
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    margin: 40px auto 0;
    max-width: 570px
  }
  .service-card {
    border-width: 3px;
    border-radius: 13px
  }
  .card-image {
    height: auto;
    aspect-ratio: 278/257
  }
  .anime-photo {
    width: 171%;
    height: auto !important;
    left: -32%;
    top: -27.5%
  }
  .miyaoshi-photo {
    width: 106%;
    left: -4%;
    top: -7%
  }
  .fighters-image img {
    width: 80%;
    left: 10%;
    top: 9%
  }
  .festa-building {
    width: 160%;
    left: 0;
    top: -26.5%
  }
  .festa-left {
    width: 77%;
    left: -7%;
    top: -1.5%
  }
  .festa-right {
    width: 77%;
    left: 37%;
    top: 7%
  }
  .card-body {
    height: 89px;
    padding: 13px 7px 9px;
    align-items: flex-end
  }
  .card-number {
    font-size: 49px;
    top: -4px;
    left: 1px;
    letter-spacing: -2px
  }
  .card-body h3 {
    font-size: 11px;
    white-space: normal;
    line-height: 1.6;
    letter-spacing: -.5px;
    align-self: stretch;
    text-align: right
  }
  .view-more {
    font-size: 12px
  }
  .company {
    padding: 59px 26px 66px;
    min-height: 0
  }
  .company-grid {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin: 43px 0 0
  }
  .portrait-frame {
    width: 70%;
    max-width: 310px;
    margin: 0 auto
  }
  .portrait-frame img {
    width: 100%;
    height: auto
  }
  .company-copy h3 {
    white-space: normal;
    font-size: 19px;
    line-height: 1.7;
    letter-spacing: 0;
    margin-bottom: 23px
  }
  .company-copy p {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0;
    margin-bottom: 24px
  }
  .company-more {
    display: flex;
    width: 190px;
    min-width: 0;
    height: 48px;
    font-size: 16px;
    margin: 32px auto 0;
    gap: 12px
  }
  .contact {
    height: 160px
  }
  .contact-copy {
    padding: 30px 24px 0
  }
  .contact h2 {
    font-size: 14px;
    max-width: 64vw;
    line-height: 1.6
  }
  .contact-button {
    width: 64vw;
    height: 45px;
    padding: 0 21px;
    font-size: 16px;
    margin-top: 12px
  }
  .contact-button span {
    font-size: 26px
  }
  .contact-mascot {
    width: 32vw;
    right: -25px;
    top: 30px
  }
  .footer {
    height: auto;
    min-height: 220px;
    flex-wrap: wrap;
    align-content: center;
    padding: 30px 24px;
    gap: 15px
  }
  .footer-logo img {
    width: 80px
  }
  .footer-info {
    flex: 1;
    min-width: 180px
  }
  .footer-name {
    font-size: 17px
  }
  .footer address {
    font-size: 11px;
    line-height: 1.8
  }
  .footer small {
    font-size: 11px
  }
  .privacy-link {
    width: 100%;
    font-size: 11px;
    margin-top: 8px;
    text-align: right
  }
  dialog {
    padding: 28px 23px;
    max-width: 90vw;
    font-size: 14px
  }
  dialog h2 {
    font-size: 20px
  }
  .dialog-close {
    font-size: 28px;
    right: 10px
  }
  .dialog-ok {
    padding: 8px 25px
  }
}
/* Playful interactions and progressive scroll reveals. */
.service-card {
  position: relative;
  isolation: isolate;
  --card-tilt: -.35deg;
}
.service-card:nth-child(even) { --card-tilt: .35deg; }
.service-card .card-image img {
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-.55rem) rotate(var(--card-tilt));
  box-shadow: 0 .75rem 1.6rem #0003;
}
.service-card:hover .card-image img,
.service-card:focus-visible .card-image img {
  transform: scale(1.045);
  filter: saturate(1.08);
}
.contact-button {
  position: relative;
  transition: background .2s, transform .25s ease, box-shadow .25s ease;
}
.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-.2rem);
  box-shadow: 0 .65rem 1.4rem #21073155;
}
.contact-prompt {
  position: absolute;
  left: 1.8rem;
  bottom: calc(100% + .75rem);
  width: max-content;
  max-width: min(22rem, 75vw);
  padding: .55rem 1rem;
  border-radius: 1rem;
  background: #fff;
  color: #5f1985;
  font-size: .9rem;
  line-height: 1.5;
  font-weight: 800;
  opacity: 0;
  transform: translateY(.6rem) scale(.92);
  transform-origin: 2rem 100%;
  pointer-events: none;
  box-shadow: 0 .5rem 1.25rem #21073140;
  transition: opacity .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}
.contact-prompt:after {
  content: "";
  position: absolute;
  left: 2rem;
  top: 100%;
  border: .55rem solid transparent;
  border-top-color: #fff;
}
.contact-button:hover .contact-prompt,
.contact-button:focus-visible .contact-prompt {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media(prefers-reduced-motion:no-preference) {
  .playful-reveal {
    opacity: 0;
    transform: translateY(2.25rem);
    transition: opacity .75s ease var(--reveal-delay, 0ms), transform .85s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
  }
  .playful-reveal.is-playful-visible { opacity: 1; transform: translateY(0); }
  .service-card.playful-reveal { transform: translateY(2.25rem) rotate(var(--card-tilt)); }
  .service-card.playful-reveal.is-playful-visible { transform: translateY(0) rotate(0); }
  .service-card.playful-reveal.is-playful-visible:hover,
  .service-card.playful-reveal.is-playful-visible:focus-visible { transform: translateY(-.55rem) rotate(var(--card-tilt)); }
}
@media(max-width:767px) {
  .contact-prompt { left: 8px; bottom: calc(100% + 8px); font-size: 11px; padding: 7px 10px; }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,
  *:before,
  *:after {
    transition: none !important
  }
}
/* Service navigation shared by every page. */
.nav-service{position:relative}
.nav-service summary{display:flex;align-items:center;gap:.5rem;cursor:pointer;list-style:none;padding:1rem 0}
.nav-service summary::-webkit-details-marker{display:none}
.nav-service summary:focus-visible{outline:.1875rem solid #5f1985;outline-offset:.25rem}
.submenu-chevron{width:.45rem;height:.45rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-.25rem}
.nav-service[open] .submenu-chevron{transform:rotate(225deg);margin-top:.25rem}
.service-submenu{position:absolute;top:100%;left:-1rem;width:max-content;max-width:calc(100vw - 32px);padding:.75rem;background:#fff;border-radius:1rem;box-shadow:0 .5rem 1.5rem #183f5530;font-size:.9375rem;line-height:1.6}
.header .service-submenu a{display:block;padding:.65rem 1rem;border-radius:.5rem}
.header .service-submenu a:hover,.header .service-submenu a[aria-current="page"]{background:#f2eaf7;color:#5f1985;opacity:1}
@media(max-width:767px){
.header nav{max-height:calc(100dvh - 110px);overflow-y:auto}
.nav-service summary{padding:12px 18px;justify-content:space-between}
.service-submenu{position:static;width:100%;max-width:none;box-shadow:none;background:#f8f5fa;padding:6px;border-radius:12px;font-size:13px}
.header .service-submenu a{padding:10px 12px}
}

/* Mobile service links stay expanded inside the main menu. */
@media(max-width:767px){
.nav-service summary{cursor:default}
.nav-service .submenu-chevron{display:none}
}
