

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  background: #fff9fb;
  min-height: 100dvh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  position: relative;
  isolation: isolate; 
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: #fff9fb; 
  overflow-x: clip; 

  --title-size: 14.1vw;
}

.page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  width: min(100vw, 430px);
  height: 120vh;
  height: 120lvh; 
  z-index: -1;
  transform: translate(-50%, var(--bg-shift, 0px));
  will-change: transform;
  background: url(/assets/mero/bg-photo.jpg) center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

@media (min-width: 431px) {
  .page::before {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
    
    will-change: auto;
    border-radius: inherit;
    background-attachment: fixed;
    background-position: center calc(50% + var(--bg-shift, 0px));
  }
}

@media (min-width: 431px) {
  .page {
    margin: 24px auto;
    min-height: calc(100dvh - 48px);
    border-radius: 8px; 
    --title-size: 60.6px; 
  }
}

.hero {
  position: relative;
  padding: 52px 0 28px; 
}

.title {
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  font-weight: 800;
  font-size: var(--title-size);
  line-height: 0.9455; 
  letter-spacing: -0.018em; 
  color: #e388b4;
  text-align: center;
  white-space: nowrap;
}

.title .t-sm {
  font-size: 0.8em;
}

.title .t-mi {
  letter-spacing: -0.0909em;
}

.hero-lead {
  margin-top: 16px;
  padding: 0 16px;
  font-size: 14px; 
  font-weight: 500;
  line-height: 22px; 
  letter-spacing: 1px; 
  color: rgba(5, 5, 5, 0.7);
  text-align: center;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
}

.deco-heart-l   { left: 12.92%; top: 41px; width: 3.59%; transform: rotate(-11deg); }
.deco-heart-r   { left: 85.67%; top: 41.5px; width: 2.69%; transform: rotate(9deg); }
.deco-star-lg-l { left: 7.18%;  top: 54px; width: 3.59%; }
.deco-star-wh-l { left: 7.18%;  top: 74px; width: 2.56%; }
.deco-star-pk-l { left: 10.77%; top: 86px; width: 2.56%; }
.deco-star-pk-r { left: 90%;    top: 54px; width: 2.56%; }
.deco-star-wh-r { left: 91.28%; top: 74px; width: 2.56%; }
.deco-star-lg-r { left: 86.41%; top: 84px; width: 3.59%; }

main {
  padding-top: 20px; 
}

.panel-wrap {
  position: relative;
  padding: 0 12px;
}

.ba-wrap {
  margin-top: 12px; 
}

.seika-wrap {
  margin-top: 88px; 
}

.panel {
  background: #f8f8f8;
  border-radius: 16px; 
}

.ribbon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 301px;
  height: 58px;
  z-index: 2;
  pointer-events: none;
}

.ba-wrap .ribbon    { top: -28px; }
.seika-wrap .ribbon { top: -28px; }

.ribbon-tail {
  position: absolute;
  top: 10px;
  width: 82px;
  height: 48px;
}

.ribbon-tail.l { left: 0; }
.ribbon-tail.r { right: 0; transform: scaleX(-1); }

.ribbon-band {
  position: absolute;
  left: 25px;
  top: 0;
  width: 252px;
  height: 41px;
}

.ribbon-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 1px;
  line-height: 35px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.ribbon-text-en {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.seika-wrap .ribbon-text {
  letter-spacing: 3.84px;
  text-indent: 3.84px;
}

.ba-panel {
  padding: 52px 16px 56px; 
  display: flex;
  flex-direction: column;
  gap: 48px; 
}

.change-arrow {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 20px;
  margin: 16px auto 0;
}

.arrow-body {
  flex: 1 1 auto;
  border: 1.5px solid #efa3c7; 
  border-right: 0; 
  border-radius: 2px 0 0 2px;
}

.arrow-tip {
  flex: 0 0 16px;
  width: 16px;
  height: 20px;
  margin-left: -1px; 
}

.arrow-text {
  position: absolute;
  inset: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #efa3c7; 
  text-align: center;
  line-height: 20px; 
}

.ba-cols {
  
  --label-block: 26px;

  position: relative;
  display: flex;
  align-items: stretch; 
  gap: 20px;
}

.ba-col {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 8px;
}

.shot-label {
  display: inline-block;
  height: 18px;
  padding: 0 4px; 
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px; 
  font-weight: 700;
  line-height: 18px;
}

.label-before { color: #96989a; letter-spacing: 1px; }   
.label-after  { color: #e07fae; letter-spacing: 1.3px; }

.shot {
  width: 100%;
  border-radius: 12px;
  background: #e0e0e0;
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: auto;
}

.shot-ba {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  border-radius: 8px; 
  background: var(--shot-fill, #ffe1e8);
}

.shot-ba.is-empty     { aspect-ratio: 158 / 263; background: #e0e0e0; }
.shot-report.is-empty { aspect-ratio: 158 / 230; }

.ba-arrow {
  position: absolute;
  left: 50%;
  top: calc(var(--label-block) + (100% - var(--label-block)) / 2);
  transform: translate(-50%, -50%);
  width: 18px; 
  height: 18px;
  z-index: 2;
}

.seika-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 56px 0 56px; 
}

.seika-lead {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px; 
  color: #050505;
  text-align: center;
}

.swipe-hint {
  margin-top: 6px;
  font-size: 11px;
  line-height: 16px; 
  font-weight: 700;
  color: #efa3c7;
  text-align: center;
}

.carousel {
  display: flex;
  gap: 16px;
  padding: 22px 16px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px; 
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel.is-wheeling {
  scroll-snap-type: none;
}

.report img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .carousel {
    cursor: grab;
  }

  .carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }
}

.report {
  flex: 0 0 158px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start; 
  scroll-snap-align: start;
}

.report .shot { border-radius: 12px; }

.report .shot-report {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.report .shot-report:not(.is-empty) {
  background: #ffe1e8;
}

.date-badge {
  display: inline-block;
  margin-left: 2px; 
  border-radius: 20px; 
  padding: 2px 8px;
  background: #efa3c7;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 350;
  letter-spacing: 0.8px;
  color: #fff;
  line-height: 1.5;
}

.seika-note {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px; 
  color: rgba(5, 5, 5, 0.7);
  text-align: center;
}

.cta {
  padding: 50px 18px 52px; 
}

.cta-lead {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #e07fae;
  text-align: center;
}

.cta-btn {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  
  padding: 18px 0 22px;
  border-radius: 44px;
  background: linear-gradient(to bottom, #ffa2ce, #ff7ebb);
  border-bottom: 4px solid #da8fb4;
  box-shadow: 0 4px 3.1px rgba(223, 0, 93, 0.2);
}

.cta-btn span {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
}

.cta-btn img {
  width: 33px;
  height: 30px;
}

.cta-note {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(5, 5, 5, 0.7);
  text-align: center;
}
