/* Original pattern background preserved */
.find-page {
  min-height: 100vh;
  background: #000000;
}
.find-bg {
  position: fixed;
  z-index: 0;
  top: 98px;
  left: 50%;
  width: 1440px;
  height: 603px;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  max-width: none;
  pointer-events: none;
}
@media (min-width: 600px) and (max-width: 1024px) {
  .find-bg {
    top: var(--shumi-bg-top-md, 8px);
    width: var(--shumi-bg-width-md, 200%);
    height: auto;
  }
}
@media (max-width: 599px) {
  .find-bg {
    top: var(--shumi-bg-top-sm, 56px);
    width: var(--shumi-bg-width-sm, 200%);
    height: auto;
  }
}

.find-page {
  min-height: 100vh;
}

.find-main {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  width: min(100% - 48px, 920px);
  margin: 0 auto;
  padding: 16px 0 80px;
  overflow: visible;
  gap: 22px 0;
}

.find-main::before {
  content: "";
  position: absolute;
  top: 72px;
  right: -4%;
  width: 160px;
  height: 1px;
  background: var(--line-strong);
  transform: rotate(18deg);
  pointer-events: none;
}

.find-back,
.find-main .js-required-notice {
  grid-column: 1 / -1;
  justify-self: start;
}

.find-back {
  position: relative;
  z-index: 2;
}

.find-hero,
.find-stage {
  display: contents;
}

.find-alien,
.find-bubble {
  position: relative;
  top: auto;
  left: auto;
}

.find-alien {
  width: 105px;
  height: 210px;
}

.find-bubble {
  width: fit-content;
  min-width: 0;
  max-width: calc(100% - 8px);
  height: auto;
  justify-self: start;
}

.find-alien,
.find-bubble {
  align-self: start;
}

.find-cards {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 40px;
  margin-top: 8px;
  padding: 8px 0 0;
}

.find-cards::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 8%;
  width: 1px;
  background: var(--line);
  transform: rotate(-8deg);
}

.find-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  padding: 32px 26px 26px;
  background: var(--accent);
  color: var(--cream);
}

.find-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 42%;
  background: var(--void);
}

.find-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.35;
}

.find-card--method1 {
  transform: rotate(var(--tilt-card));
  box-shadow: 18px 18px 0 var(--void-2);
}

.find-card--method2 {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  transform: rotate(var(--tilt-card-alt)) translateY(28px);
}

.find-card--method2::before {
  left: auto;
  right: 0;
  height: 28%;
  top: auto;
  bottom: 0;
}

.find-card h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.3;
}

.find-bubble h1 {
  white-space: normal;
}

.find-card__dots {
  width: 56px;
  height: 4px;
  background: currentColor;
  transform: skewX(-22deg);
}

.find-card--method2 .find-card__dots {
  width: 36px;
  margin-left: auto;
  background: var(--accent);
}

.find-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid var(--void);
  background: var(--void);
  color: var(--cream);
  font-family: var(--font-maruko);
  font-size: 17px;
}

.find-card__button--method2 {
  background: var(--accent);
  color: var(--cream);
  border-color: var(--accent);
}

.find-card__button:hover {
  transform: translate(3px, -3px);
}

@media (max-width: 1024px) {
  .find-main {
    width: min(100% - 40px, 720px);
  }

  .find-stage {
    display: block;
    grid-column: 1 / -1;
  }

  .find-alien {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
  }

  .find-alien {
    width: 96px;
    height: 160px;
  }

  .find-card--method1 {
    transform: rotate(-1.6deg);
  }

  .find-card--method2 {
    transform: rotate(1.4deg);
  }
}

@media (max-width: 599px) {
  .find-main {
    width: min(100% - 32px, 540px);
    grid-template-columns: 1fr;
    padding-top: 8px;
    gap: 10px 12px;
  }

  .find-hero {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 10px;
    row-gap: 28px;
    width: 100%;
  }

  .find-stage {
    display: contents;
    padding-bottom: 0;
  }

  .find-bubble {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: calc(100% - 8px);
    justify-self: start;
    margin-left: 0;
    margin-right: auto;
    z-index: 1;
    transform-origin: left bottom;
  }

  .find-bubble h1 {
    white-space: nowrap;
    font-size: var(--bubble-font);
  }

  .find-alien {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    left: auto;
    bottom: auto;
    width: 64px;
    height: 108px;
    margin: 0;
  }

  .find-cards {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    min-width: 0;
    z-index: 3;
  }

  .find-cards::before {
    display: none;
  }

  .find-card {
    flex: 0 0 auto;
    gap: 8px;
    padding: 12px 12px 12px 14px;
  }

  .find-card h2 {
    font-size: clamp(16px, 4.4vw, 20px);
    line-height: 1.25;
  }

  .find-card__dots {
    width: 28px;
    height: 3px;
  }

  .find-card--method2 .find-card__dots {
    width: 22px;
  }

  .find-card::before {
    width: 5px;
    height: 38%;
  }

  .find-card::after {
    right: 8px;
    bottom: 8px;
    width: 14px;
    height: 14px;
  }

  .find-card--method1,
  .find-card--method2 {
    transform: none;
  }

  .find-card__button {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }
}
