@charset "UTF-8";
/* fallback */
@font-face {
  font-family: "arista";
  font-style: normal;
  font-weight: 300;
  src: url(../../fonts/arista-light.woff2) format("woff2");
  font-display: swap;
}
:root {
  --color-primary: #E20048;
  --color-primary-default: #E20048;
  --color-accent: #5341C3;
  --color-accent-bright: hsl(248, 52%, 81%);
  --color-accent-brighter: hsl(248, 52%, 94%);
  --color-error: #e83333;
  --color-success: #57b767;
  --color-btn-bg: var(--color-accent);
  --color-btn-text: white;
  --color-btn-shadow-hover: rgba(0, 0, 0, 0.7);
  --color-page-text: #222;
  --border-radius-default: 5px;
  --font: system, -apple-system, BlinkMacSystemFont, "Roboto Condensed", Helvetica, Arial, sans-serif;
  --font-special: 'arista', 'Arista 2.0', 'arista', Helvetica, Arial, sans-serif;
  --font-size: 16px;
  --line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  --content-max-width: 1000px;
  --swiper-navigation-color: var(--color-primary);
  --swiper-pagination-color: var(--color-primary);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 30px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-corner {
  background-color: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar {
  width: 15px;
  height: 30px;
}

html, body {
  background: white;
  font-size: var(--font-size);
  color: var(--color-page-text);
  line-height: var(--line-height);
  padding: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font);
}

a:any-link {
  text-decoration: none;
  color: var(--color-accent);
}

a:any-link:hover {
  color: #222;
}

.hidden {
  display: none !important;
}

button,
.button,
.button:any-link {
  cursor: pointer;
  background: var(--color-btn-bg);
  color: var(--color-btn-text) !important;
  text-align: center;
  border-radius: var(--border-radius-default);
  padding: 10px 20px;
  display: inline-flex;
  gap: 10px;
  border: 0;
  font-size: var(--font-size);
  line-height: var(--line-height);
  align-items: center;
  justify-content: center;
  margin: 0 0 2px;
  box-sizing: border-box;
  transition: 0.2s;
  transform-origin: center;
  user-select: none;
  font-weight: bold;
}

button:not([data-noanimation]):hover,
.button:not([data-noanimation]):hover,
.button-icon:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--color-btn-shadow-hover) 0 0 30px;
  color: var(--color-btn-text);
}

button:not([data-noanimation]):active,
.button:not([data-noanimation]):active,
.button-icon:active {
  transform: scale(0.7) translateY(-5px);
  box-shadow: var(--color-btn-shadow-hover) 0 0 10px;
}

.header {
  --font-size: calc(min(var(--content-max-width), 100vw) / 16);
  background: var(--color-accent);
  font-family: var(--font-special);
  color: white;
  font-size: var(--font-size);
  line-height: 0.7;
  letter-spacing: calc(var(--font-size) * 0.1);
  text-shadow: rgba(0, 0, 0, 0.2) calc(var(--font-size) * 0.1) calc(var(--font-size) * 0.1) 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.header .icon-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.header .icon {
  min-width: 30%;
  max-width: 30%;
}
.header .icon-text {
  text-align: left;
}
.header img {
  max-height: 30vh;
}
.header h1, .header h2 {
  margin: 0;
}

.header-image-slide .wave {
  z-index: 2;
}

.header-image-slide-inner {
  display: flex;
  background: #222;
  height: 100px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  justify-content: center;
  box-shadow: rgba(255, 255, 255, 0.3) 0 0 min(10vh, 10vw);
}
.header-image-slide-inner div {
  width: 150px;
  height: 100px;
  display: flex;
  align-content: center;
  justify-content: center;
}
.header-image-slide-inner div img {
  max-width: 100%;
  max-height: 100px;
  position: relative;
  z-index: 1;
  box-shadow: black 0 0 10px;
}
.header-image-slide-inner div .grow {
  z-index: 0;
  width: 300px;
  position: absolute;
  filter: blur(10px);
}

.color-primary {
  color: var(--color-primary);
}

.color-accent {
  color: var(--color-accent);
}

h2 {
  font-size: 56px;
  line-height: 1.1;
  font-family: var(--font-special);
  letter-spacing: 2px;
  color: var(--color-primary);
  margin: 30px 0;
}

h3 {
  font-size: 36px;
  line-height: 1.1;
  font-family: var(--font-special);
  letter-spacing: 2px;
  color: #333;
  margin: 20px 0;
}

h4 {
  font-size: 24px;
  line-height: 1.1;
  font-family: var(--font-special);
  letter-spacing: 2px;
  color: #333;
  margin: 10px 0;
}

.content-max-width {
  max-width: var(--content-max-width);
  padding: 20px;
  margin: 0 auto;
  display: block;
}

.wave {
  position: absolute;
  width: 100%;
  height: var(--wave-height);
  overflow: hidden;
}
.wave .wave-inner {
  fill: rgba(255, 255, 255, 0.2);
  position: absolute;
  width: 100%;
  height: var(--wave-height);
  transform-origin: top;
  animation: wave forwards 4s;
}
.wave .wave-inner svg {
  width: 100%;
  height: var(--wave-height);
}

@keyframes wave {
  from {
    transform: scale(5, 0.8);
  }
  to {
    transform: scale(1, 1);
  }
}
input, select, textarea {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px;
  background: white;
  border: 1px solid var(--color-accent);
  box-sizing: border-box;
  border-radius: 5px;
  font-family: var(--font);
}

.box-choose {
  text-align: center;
  display: inline-block;
  max-width: 600px;
}
.box-choose img {
  max-width: 100%;
}
.box-choose .box {
  display: inline-block;
  background: var(--color-accent-bright);
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.2) 5px 5px 20px, var(--color-accent) inset 5px 5px 90px;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}
.box-choose .box .badge {
  background: var(--color-primary);
  padding: 10px;
  color: white;
  font-size: 10px;
  position: absolute;
  right: -20px;
  top: 0;
  transform: rotate(20deg);
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 5px;
}
.box-choose .box h4 {
  margin: 20px 0;
  color: white;
  text-shadow: rgba(0, 0, 0, 0.2) 2px 2px 0;
}
.box-choose .box h4 span {
  position: relative;
  z-index: 1;
}
.box-choose .box h5 {
  margin: 10px 0;
  font-size: 1.5em;
}
.box-choose .box .text {
  background: white;
  padding: 30px 10px;
}
.box-choose .box button {
  width: 100%;
  border-radius: 0 0 20px 20px;
}

.box-requisite-image {
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.2) 5px 5px 10px;
}

.box-requisite-image img {
  margin: 5px 0;
  border-radius: 10px;
}

.box-requisite-desc {
  font-size: 90%;
}

.box-config-form {
  container-type: inline-size;
  text-align: left;
}
.box-config-form input, .box-config-form select, .box-config-form textarea {
  width: 100%;
}
.box-config-form .config-option {
  margin-bottom: 10px;
  display: block;
}
.box-config-form .config-option[data-type=summary] {
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 5px 5px 10px;
  border-radius: 5px;
  background: white;
  position: sticky;
  bottom: 0;
}
.box-config-form .label {
  font-weight: bold;
  margin-bottom: 2px;
  display: block;
}
.box-config-form .summary {
  font-weight: bold;
  font-size: 2em;
  text-align: center;
}

@container (max-width: 400px) {
  .box-config-form table tr,
  .box-config-form table td {
    display: block;
    text-align: left !important;
    width: 100% !important;
  }
}
.calendar-table table {
  text-align: center;
  width: 100%;
  padding-bottom: 40px;
  table-layout: fixed;
}

.calendar-table th {
  background: #f5f5f5;
  padding: 2px;
  font-weight: bold;
}

.calendar-table td {
  padding: 2px;
  background: var(--color-success);
  color: white;
  width: 14.2857142857%;
  word-break: break-word;
}

.calendar-table td small {
  display: block;
  font-size: 8px;
  opacity: 0.9;
}

.calendar-othermonth {
  pointer-events: none;
  opacity: 0.3;
}

.main-footer {
  text-align: center;
  font-size: 0.9rem;
  background: var(--color-accent);
  color: white;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
  min-height: 20vh;
}

.main-footer a:any-link {
  color: white;
}

.main-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main-footer .inner > *:not(:first-child)::before {
  content: "•";
  padding-right: 10px;
  color: var(--color-page-text);
}

.custom-select {
  text-align: left;
}

.custom-select label {
  display: flex;
  padding: 10px 5px;
  border: 1px solid var(--color-accent);
  border-radius: 5px;
  margin-bottom: 3px;
  cursor: pointer;
  font-size: 85%;
  gap: 10px;
  align-items: center;
}
.custom-select label .label-text {
  flex: 1 1 auto;
}
.custom-select label:before {
  display: inline-block;
  content: "";
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  background: #ccc;
  border-radius: 50px;
}

.custom-select label:hover {
  color: var(--color-accent);
}

.custom-select label.selected {
  background: var(--color-accent);
  color: white;
}
.custom-select label.selected:before {
  background: white;
}

/* ==========================================================================
   Farewell homepage (service shutdown)
   ========================================================================== */
.farewell-header .content-max-width {
  position: relative;
  z-index: 1;
}

.farewell-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.farewell-hearts .heart {
  position: absolute;
  left: var(--x);
  top: 105%;
  width: var(--s);
  height: var(--s);
  opacity: 0;
  animation: farewell-heart-rise var(--d) linear var(--delay) infinite;
}
.farewell-hearts .heart svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(rgba(0, 0, 0, 0.2) 2px 2px 0);
}
.farewell-hearts .heart-primary svg {
  fill: var(--color-primary);
}
.farewell-hearts .heart-white svg {
  fill: rgba(255, 255, 255, 0.8);
}

@keyframes farewell-heart-rise {
  0% {
    top: 105%;
    transform: translateX(0) rotate(-10deg) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  50% {
    transform: translateX(20px) rotate(10deg) scale(1);
  }
  85% {
    opacity: 0.7;
  }
  100% {
    top: -15%;
    transform: translateX(-10px) rotate(-8deg) scale(1.1);
    opacity: 0;
  }
}
.farewell-band {
  --font-size: max(22px, calc(min(var(--content-max-width), 100vw) / 25));
  line-height: 1.1;
  letter-spacing: 1px;
}
.farewell-band .farewell-band-bar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  width: 50%;
  height: 10px;
  display: block;
  margin: 20px auto;
}
.farewell-band .content-max-width {
  padding-top: 0;
}

.farewell {
  padding-top: 50px;
  padding-bottom: 60px;
}

.polaroids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin: 0 0 50px;
}
.polaroids .polaroid {
  --rotate: -6deg;
  margin: 0;
  background: white;
  padding: 12px 12px 0;
  width: 190px;
  box-shadow: rgba(0, 0, 0, 0.25) 5px 8px 20px;
  border-radius: 3px;
  transform: rotate(var(--rotate));
  transition: transform 0.3s;
}
.polaroids .polaroid:nth-child(2) {
  --rotate: 4deg;
  margin-top: 25px;
}
.polaroids .polaroid:nth-child(3) {
  --rotate: -3deg;
}
.polaroids .polaroid:nth-child(4) {
  --rotate: 7deg;
  margin-top: 20px;
}
.polaroids .polaroid:hover {
  transform: rotate(0deg) scale(1.08) translateY(-5px);
  z-index: 1;
}
.polaroids .polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #222;
}
.polaroids .polaroid figcaption {
  font-family: var(--font-special);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--color-accent);
  padding: 14px 0 16px;
}
.polaroids .polaroid:nth-child(even) figcaption {
  color: var(--color-primary);
}

.farewell-letter .box {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 50px;
}
.farewell-letter .box h4 {
  font-size: 32px;
}
.farewell-letter .box .text {
  padding: 30px 40px 35px;
  font-size: 17px;
  text-align: left;
}
.farewell-letter p {
  margin: 0 0 16px;
}
.farewell-letter p:last-child {
  margin-bottom: 0;
}
.farewell-letter .farewell-salutation {
  font-family: var(--font-special);
  font-size: 26px;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--color-accent);
}
.farewell-letter .farewell-highlight {
  font-family: var(--font-special);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1.3;
  color: var(--color-primary);
  text-align: center;
  padding: 12px 0;
  border-top: 3px dotted var(--color-accent-bright);
  border-bottom: 3px dotted var(--color-accent-bright);
}

.farewell-notice {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto 50px;
  padding: 25px 30px;
  text-align: left;
  border-radius: 20px;
  background: var(--color-accent-brighter);
  box-shadow: rgba(0, 0, 0, 0.1) 5px 5px 20px;
}
.farewell-notice h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: var(--color-accent);
}
.farewell-notice .calendar-badge {
  flex: 0 0 auto;
  width: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  text-align: center;
  font-family: var(--font-special);
  letter-spacing: 1px;
  box-shadow: rgba(0, 0, 0, 0.2) 5px 5px 15px;
  transform: rotate(-4deg);
}
.farewell-notice .calendar-badge .calendar-month {
  display: block;
  background: var(--color-primary);
  color: white;
  font-size: 24px;
  line-height: 1;
  padding: 10px 0 8px;
  text-shadow: rgba(0, 0, 0, 0.2) 2px 2px 0;
}
.farewell-notice .calendar-badge .calendar-year {
  display: block;
  font-size: 38px;
  line-height: 1;
  padding: 14px 0 16px;
  color: var(--color-accent);
}

.farewell-signature {
  font-family: var(--font-special);
  font-size: 30px;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #333;
}
.farewell-signature span {
  display: block;
}
.farewell-signature .farewell-signature-heart {
  width: 46px;
  height: 46px;
  margin: 15px auto 0;
  fill: var(--color-primary);
  animation: farewell-heartbeat 1.6s ease-in-out infinite;
}
.farewell-signature .farewell-signature-heart svg {
  width: 100%;
  height: 100%;
}

@keyframes farewell-heartbeat {
  0%, 40%, 100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.25);
  }
  30% {
    transform: scale(0.95);
  }
}
@media (max-width: 600px) {
  .polaroids {
    gap: 10px 15px;
  }
  .polaroids .polaroid {
    width: calc(50% - 30px);
    padding: 8px 8px 0;
  }
  .polaroids .polaroid figcaption {
    font-size: 18px;
    padding: 10px 0 12px;
  }
  .farewell-letter .box .text {
    padding: 25px 20px;
  }
  .farewell-notice {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 25px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .farewell-hearts {
    display: none;
  }
  .farewell-signature-heart {
    animation: none !important;
  }
}