.me-page {
  background: #fff;
  color: #000;
  overflow: hidden;
}

.me-page img {
  display: block;
}

.me-hero::after {
  background: rgba(0, 0, 0, 0.3);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.me-hero .area {
  z-index: 2;
}

.me-hero .text {
  font-weight: 700;
}

.me-section-1 {
  margin-top: 100px;
  text-align: center;
}

.me-app-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 58px;
}

.me-app-icon {
  height: 120px;
  width: 120px;
}

.me-app-title-wrap {
  margin-top: 40px;
}

.me-app-title-wrap h2,
.me-title-wrap h2{
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
}

.me-core-card h3,
.me-manage-item h3 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.3;
}

.me-app-title-wrap h2 span {
  background: #f5f6fa;
  border-radius: 999px;
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin-left: 16px;
  padding: 8px 12px;
  vertical-align: middle;
}

.me-app-title-wrap p,
.me-core-card__content > p,
.me-manage-item__content > p {
  color: #4d4d4d;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 24px;
}

.me-app-title-wrap p {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 12px;
}

.me-store-button {
  align-items: center;
  background: #f5f6fa;
  border: 1px solid #dadde4;
  border-radius: 4px;
  box-sizing: border-box;
  display: flex;
  height: 60px;
  justify-content: center;
  margin-top: 52px;
  width: 180px;
}

.me-store-button:focus-visible {
  border-radius: 8px;
  outline: 3px solid #2c7dff;
  outline-offset: 4px;
}

.me-store-button img {
  height: 42px;
  width: 142px;
}

.me-app-showcase img {
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

.me-section-2 {
  background: #fffdf4;
  margin-top: 0;
  overflow: hidden;
  padding: 100px 0px;
  text-align: center;
}

.me-intro-visual {
  height: 550px;
  margin: 40px auto 0;
  max-width: 960px;
  overflow: hidden;
  position: relative;
}

.me-intro-visual picture,
.me-intro-visual img {
  display: block;
}

.me-intro-visual img {
  height: 1080px;
  left: 50%;
  max-width: none;
  position: absolute;
  top: -300px;
  transform: translateX(-50%);
  width: 1920px;
}

.me-section-3 {
  margin-top: 200px;
}

.me-core-card {
  align-items: center;
  display: flex;
  gap: 148px;
  justify-content: center;
  min-height: 489px;
  padding: 0 20px;
}

.me-core-card + .me-core-card {
  margin-top: 92px;
}

.me-core-card--blue {
  background: #fafbff;
  flex-direction: row-reverse;
  gap: 100px;
}

.me-core-card:nth-child(3) {
  gap: 210px;
}

.me-core-card__visual {
  flex: 0 0 489px;
}

.me-core-card__visual img {
  height: auto;
  width: 100%;
}

.me-core-card__content {
  flex: 0 1 475px;
}

.me-core-card:nth-child(1) .me-core-card__content {
  flex-basis: 475px;
}

.me-core-card:nth-child(2) .me-core-card__content {
  flex-basis: 523px;
}

.me-core-card:nth-child(3) .me-core-card__content {
  flex-basis: 413px;
}

.me-core-card__icon {
  display: block;
  height: 80px;
  margin-bottom: 16px;
  width: 80px;
}

.me-core-card__content > p {
  margin-top: 16px;
}

/* Mirrors the staged visual/text entrance used by .cs-section-3. */
@media screen and (min-width: 769px) {
  .me-core-card__visual,
  .me-core-card__content {
    opacity: 0;
    transform: translateY(30px);
  }

  .me-core-card.animated .me-core-card__visual {
    animation: me-core-card-fade-in-up 0.8s ease forwards;
  }

  .me-core-card.animated .me-core-card__content {
    animation: me-core-card-fade-in-up 0.8s ease 0.3s forwards;
  }

  .me-core-card--blue.animated .me-core-card__content {
    animation-delay: 0s;
  }

  .me-core-card--blue.animated .me-core-card__visual {
    animation-delay: 0.3s;
  }

  @keyframes me-core-card-fade-in-up {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.me-section-4 {
  margin-top: 200px;
}

.me-manage-item {
  align-items: center;
  background: #fff7d6;
  display: flex;
  gap: 134px;
  justify-content: center;
  padding: 120px 0px;
}

.me-manage-item:nth-child(even) {
  flex-direction: row-reverse;
}

.me-manage-item--cream {
  background: #fffdf4;
}
.me-manage-item__content {
  flex: 0 1 489px;
}

.me-item-label {
  align-items: center;
  background: #4d4d4d;
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: 20px !important;
  font-weight: 600 !important;
  gap: 8px;
  line-height: 1.4 !important;
  margin: 0 0 30px !important;
  padding: 8px 20px;
}

.me-item-label img {
  height: 20px;
  object-fit: contain;
  width: 20px;
}

.me-manage-item__content > p:not(.me-item-label):not(.me-item-note) {
  margin-top: 16px;
}

.me-manage-item__content .me-item-note {
  color: #4d4d4d;
  font-size: 18px;
  margin-top: 16px;
}

.me-section-5 {
  margin-top: 200px;
  padding: 0 20px;
  text-align: center;
}

.me-kpass-steps--desktop {
  display: flex;
  gap: 48px;
  justify-content: center;
  list-style: none;
  margin: 24px auto 0;
  max-width: 1302px;
  padding: 0;
}

.me-kpass-steps--desktop li {
  flex: 0 1 402px;
}

.me-kpass-steps--desktop li + li {
  position: relative;
}

.me-kpass-steps--desktop li + li::before {
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  content: '';
  height: 12px;
  left: -34px;
  position: absolute;
  top: 194px;
  transform: rotate(45deg);
  width: 12px;
}

.me-kpass-steps--desktop li img {
  height: auto;
  max-width: 100%;
}

.me-kpass-steps--desktop li p {
  align-items: center;
  display: flex;
  font-size: 22px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.5;
  margin-top: 0;
}

.me-kpass-steps--desktop li p span {
  align-items: center;
  background: linear-gradient(135deg, #ffcb00 0%, #fba000 78.6625%, #f77700 100%);
  border-radius: 50%;
  color: #1a1a1a;
  display: inline-flex;
  flex: 0 0 32px;
  font-size: 20px;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  margin-right: 12px;
}

.me-kpass-swiper {
  margin: 40px auto 0;
  max-width: 402px;
  position: relative;
}

.me-kpass-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.me-kpass-step {
  max-width: 402px;
  text-align: center;
  width: calc(100% - 96px);
}

.me-kpass-step img {
  height: auto;
  max-width: 100%;
}

.me-kpass-step p {
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.5;
  margin-top: 24px;
}

.me-kpass-step p span {
  align-items: center;
  background: linear-gradient(135deg, #ffcb00 0%, #fba000 78.6625%, #f77700 100%);
  border-radius: 50%;
  color: #1a1a1a;
  display: inline-flex;
  flex: 0 0 32px;
  font-size: 20px;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  margin-right: 12px;
}

.me-kpass-btn-prev,
.me-kpass-btn-next {
  align-items: center;
  background-color: #fff;
  border: solid 1px #eaeaea;
  border-radius: 50%;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  z-index: 10;
}

.me-kpass-btn-prev {
  left: 2%;
}

.me-kpass-btn-next {
  right: 2%;
}

.me-kpass-btn-prev img,
.me-kpass-btn-next img {
  height: 24px;
  width: 24px;
}

.me-kpass-swiper .swiper-button-disabled img {
  opacity: 0.5;
}

.me-section-8 {
  background: #f5f6fa;
  margin-top: 200px;
  padding: 120px 20px;
}

.me-cta-content {
  align-items: stretch;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1396px;
}

.me-cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
}

.me-cta-copy .me-store-button {
  margin-top: 0;
}

.me-cta-content h3 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
}

.me-cta-qr {
  background: #fff;
  border-radius: 30px;
  box-sizing: border-box;
  height: 230px;
  text-align: center;
  width: 185px;
}

.me-cta-qr__code {
  background: linear-gradient(135deg, #ffcb00 0%, #fba000 78.6625%, #f77700 100%);
  border-radius: 30px;
  box-sizing: border-box;
  height: 185px;
  padding: 4px;
  width: 185px;
}

.me-cta-qr__code-inner {
  align-items: center;
  background: #fff;
  border-radius: 26px;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.me-cta-qr__code img {
  display: block;
  height: 145px;
  width: 145px;
}

.me-cta-qr p {
  color: #555;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 12px;
}

@media screen and (max-width: 768px) {
  .me-hero .text {
    font-weight: 600;
  }

  .me-section-1 {
    margin-top: 120px;
  }

  .me-app-copy {
    margin-bottom: 40px;
  }

  .me-app-icon {
    height: 72px;
    width: 72px;
  }

  .me-app-title-wrap {
    margin-top: 24px;
  }

  .me-app-title-wrap h2,
  .me-title-wrap h2{
  	font-size: 30px;
  }

  .me-core-card h3,  
  .me-manage-item h3 {
    font-size: 30px;
  }

  .me-app-title-wrap h2 {
    font-size: 32px;
  }

  .me-app-title-wrap h2 span {
    font-size: 18px;
    margin-left: 6px;
    padding: 6px 12px;
  }

  .me-app-title-wrap p,
  .me-core-card__content > p,
  .me-manage-item__content > p {
    font-size: 18px;
    margin-top: 12px;
  }

  .me-store-button {
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    max-width: 100%;
    width: 350px;
  }

  .me-store-button img {
    height: 42px;
    width: 142px;
  }

  .me-section-2 {
    background: #fff;
    margin-top: 120px;
    padding-bottom: 0;
    padding-top: 0;
  }

  .me-section-2 .me-title-wrap h2 {
    line-height: 1.4;
    margin-left: auto;
    margin-right: auto;
    max-width: 256px;
  }

  .me-intro-visual {
    height: auto;
    margin: 40px -20px 0;
    max-width: none;
    width: calc(100% + 40px);
  }

  .me-intro-visual img {
    height: auto;
    left: auto;
    max-width: 100%;
    position: static;
    top: auto;
    transform: none;
    width: 100%;
  }

  .me-section-3 {
    margin-top: 120px;
  }

  .me-core-card,
  .me-core-card--blue {
    flex-direction: column;
    gap: 36px;
    min-height: 0;
    padding: 0 20px;
  }

  .me-core-card + .me-core-card {
    margin-top: 64px;
    padding-top: 0;
  }

  .me-core-card__visual {
    flex-basis: auto;
    max-width: 350px;
    width: 100%;
  }

  .me-core-card__content {
    flex-basis: auto;
    max-width: 350px;
    text-align: left;
    width: 100%;
  }

  .me-core-card:nth-child(n) {
    gap: 36px;
  }

  .me-core-card:nth-child(n) .me-core-card__content {
    flex-basis: auto;
  }

  .me-core-card__icon {
    margin-bottom: 16px;
  }

  .me-core-card__content > p {
    margin-top: 16px;
  }

  .me-core-card:nth-child(3) .me-core-card__content > p {
    font-size: 20px;
  }

  .me-core-card h3,
  .me-manage-item h3 {
    line-height: 1.4;
  }

  .me-section-4 {
    margin-top: 120px;
  }

  .me-manage-item,
  .me-manage-item:nth-child(even) {
    flex-direction: column-reverse;
    gap: 24px;
    min-height: 0;
    padding: 80px 20px 60px;
  }

  .me-manage-item__visual {
    flex-basis: auto;
    height: auto;
    max-width: 350px;
    width: 100%;
  }

  .me-manage-item__content {
    flex-basis: auto;
    max-width: 350px;
    text-align: center;
    width: 100%;
  }
  .me-item-label {
    display: flex;
    font-size: 16px !important;
    justify-content: center;
    margin: 0 auto 30px !important;
    padding: 8px 16px;
    width: fit-content;
  }

  .me-item-label img {
    height: 20px;
    width: 20px;
  }

  .me-manage-item__content > p:not(.me-item-label):not(.me-item-note) {
    margin-top: 16px;
  }

  .me-manage-item:nth-child(2) .me-manage-item__content > p:not(.me-item-label):not(.me-item-note) {
    font-size: 20px;
  }

  .me-manage-item__content .me-item-note {
    font-size: 16px;
    margin-top: 16px;
  }

  .me-section-5 {
    margin-top: 120px;
    padding: 0 20px;
  }

  .me-section-5 .me-title-wrap h2 {
    line-height: 1.4;
  }

  .me-kpass-swiper {
    margin: 40px -20px 0;
    max-width: none;
    width: calc(100% + 40px);
  }

  .me-kpass-step {
    width: 350px;
  }

  .me-kpass-step img {
    height: 306px;
    margin: 0 auto;
    object-fit: cover;
    width: 310px;
  }

  .me-kpass-step p {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .me-kpass-step p span {
    margin-right: 0;
  }

  .me-section-8 {
    margin-top: 120px;
    padding: 80px 20px 120px;
    text-align: center;
  }

  .me-cta-content h3 {
    font-size: 28px;
  }

  .me-cta-content {
    display: block;
  }

  .me-cta-copy {
    min-height: 0;
  }

  .me-cta-copy .me-store-button {
    margin-top: 40px;
  }

  .me-cta-qr {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .me-page [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
