.uchinoko-lp-shortcode {
  --lp-width: 430px;
  --page-bg: #f8e5e3;
  --focus-ring: rgba(255, 76, 116, 0.75);
  min-width: 320px;
  margin: 0;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
  background:
    linear-gradient(90deg, #f1dedc 0%, #fff7f3 50%, #f1dedc 100%);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

.uchinoko-lp-shortcode,
.uchinoko-lp-shortcode * {
  box-sizing: border-box;
}

.phone-lp {
  width: min(100%, var(--lp-width));
  margin: 0 auto;
  overflow: hidden;
  background: #ffe8e9;
  box-shadow: 0 0 42px rgba(106, 65, 59, 0.2);
}

.screen {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.screen + .screen {
  margin-top: -1px;
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  overflow: hidden;
  color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  border-radius: 999px;
  line-height: 1;
}

.hotspot:focus-visible {
  outline: 4px solid var(--focus-ring);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.screen-01-cta {
  left: 5.3%;
  top: 88.2%;
  width: 89.4%;
  height: 7.8%;
}

.screen-05-instagram {
  left: 10.6%;
  top: 81.75%;
  width: 78.8%;
  height: 6.4%;
}

.birthday-video {
  left: 8.4%;
  top: 67.4%;
  width: 83.2%;
  height: 22.8%;
  border-radius: 18px;
}

.screen img.youtube-thumbnail,
.screen .youtube-thumbnail-frame {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.screen img.youtube-thumbnail {
  object-fit: cover;
}

.screen .youtube-thumbnail-frame {
  overflow: hidden;
  background-color: #2b1717;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.screen img.before-photo-replace {
  position: absolute;
  z-index: 1;
  display: block;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.screen img.birthday-before-photo {
  left: 8.25%;
  top: 30.58%;
  width: 83.5%;
  height: 21.9%;
  border-radius: 16px;
  object-position: center top;
}

.screen img.music-before-photo {
  left: 8.25%;
  top: 18.9%;
  width: 83.5%;
  height: 29.1%;
  border-radius: 16px;
  object-position: center 34%;
}

.screen img.animation-before-photo {
  left: 15.95%;
  top: 16.45%;
  width: 67.7%;
  height: 22.1%;
  border-radius: 12px;
  object-position: center 48%;
}

.screen img.birthday-youtube-thumbnail {
  left: 8.05%;
  top: 67.35%;
  width: 83.9%;
  height: 23.32%;
  border-radius: 16px;
}

.screen img.music-youtube-thumbnail {
  left: 8.18%;
  top: 67.77%;
  width: 83.64%;
  height: 24.98%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center center;
}

.screen img.animation-youtube-thumbnail {
  left: 15.95%;
  top: 52.82%;
  width: 67.7%;
  height: 22.1%;
  border-radius: 12px;
  object-fit: cover;
  object-position: center center;
}

.youtube-play-overlay {
  position: absolute;
  z-index: 4;
  display: block;
  width: var(--play-size);
  height: var(--play-size);
  padding: 0;
  appearance: none;
  pointer-events: auto;
  cursor: pointer;
}

.youtube-play-overlay:focus-visible {
  outline: 4px solid var(--focus-ring);
  outline-offset: 3px;
}

.birthday-play-overlay,
.music-play-overlay {
  --play-size: clamp(52px, 14.2vw, 64px);
  left: 50%;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 142, 160, 0.95), rgba(244, 72, 105, 0.95));
  box-shadow: 0 8px 18px rgba(153, 43, 60, 0.24);
  transform: translate(-50%, -50%);
}

.birthday-play-overlay {
  top: 79.1%;
}

.music-play-overlay {
  top: 80.2%;
}

.animation-play-overlay {
  --play-size: clamp(42px, 11.4vw, 52px);
  left: 50%;
  top: 63.86%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 142, 160, 0.95), rgba(244, 72, 105, 0.95));
  box-shadow: 0 7px 15px rgba(153, 43, 60, 0.22);
  transform: translate(-50%, -50%);
}

.birthday-play-overlay::before,
.music-play-overlay::before,
.animation-play-overlay::before {
  content: "";
  position: absolute;
  left: 40%;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: calc(var(--play-size) * 0.22) 0 calc(var(--play-size) * 0.22) calc(var(--play-size) * 0.32);
  border-color: transparent transparent transparent #fff;
}

.music-video {
  left: 8.4%;
  top: 66.8%;
  width: 83.2%;
  height: 27%;
  border-radius: 18px;
}

.animation-video {
  left: 12.2%;
  top: 53%;
  width: 74.2%;
  height: 21.5%;
  border-radius: 16px;
}

.screen img.instagram-button-overlay {
  position: absolute;
  left: 10.6%;
  top: 81.75%;
  z-index: 1;
  width: 78.8%;
  height: auto;
  pointer-events: none;
}

.screen-05-cta {
  left: 7%;
  top: 4%;
  width: 86%;
  height: 82%;
}

.screen-06-cta {
  left: 6.5%;
  top: 84.8%;
  width: 87%;
  height: 8%;
}

.screen-07-cta {
  left: 5.6%;
  top: 94.2%;
  width: 88.8%;
  height: 5.2%;
}

.screen-08-cta {
  left: 5.2%;
  top: 42.6%;
  width: 89.6%;
  height: 7.3%;
}

.anime-replace {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}

.anime-title {
  left: 15.8%;
  top: 4.65%;
  width: 68.4%;
  height: 5.35%;
  color: #fff;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 125, 146, 0.98) 0%, rgba(246, 73, 104, 0.98) 56%, rgba(232, 58, 92, 0.98) 100%);
  border: 1.5px dashed rgba(255, 230, 235, 0.88);
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.36),
    inset 0 -5px 10px rgba(190, 36, 63, 0.14),
    0 5px 10px rgba(154, 41, 54, 0.13);
  font-size: min(7.3vw, 31px);
  letter-spacing: 0.08em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28),
    0 3px 7px rgba(127, 28, 47, 0.36);
}

.anime-title::before,
.anime-title::after {
  content: "";
  position: absolute;
  top: 30%;
  z-index: -1;
  width: 13%;
  height: 52%;
  background: linear-gradient(180deg, rgba(255, 147, 163, 0.96), rgba(236, 76, 103, 0.94));
  box-shadow: 0 4px 8px rgba(154, 41, 54, 0.12);
}

.anime-title::before {
  left: -10%;
  border-radius: 999px 0 0 999px;
  transform: skewY(-9deg);
}

.anime-title::after {
  right: -10%;
  border-radius: 0 999px 999px 0;
  transform: skewY(9deg);
}

.anime-before,
.anime-after {
  color: #5b3828;
  background:
    radial-gradient(ellipse at center, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.94) 66%, rgba(255, 252, 247, 0) 100%);
  font-size: min(4.9vw, 21px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 3px rgba(94, 56, 41, 0.12);
}

.anime-before {
  left: 22.1%;
  top: 36.55%;
  width: 55.8%;
  height: 3.9%;
}

.anime-after {
  left: 31.1%;
  top: 68.02%;
  width: 37.8%;
  height: 3.65%;
}

.fixed-line-cta {
  position: fixed;
  left: 50%;
  bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 20;
  display: block;
  width: min(94vw, var(--lp-width));
  transform: translateX(-50%);
  border-radius: 999px;
  filter: drop-shadow(0 8px 14px rgba(63, 96, 53, 0.22));
}

.fixed-line-cta:focus-visible {
  outline: 4px solid rgba(45, 190, 70, 0.72);
  outline-offset: 3px;
}

.fixed-line-cta img {
  display: block;
  width: 100%;
  height: auto;
}

body.modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 28, 26, 0.58);
  backdrop-filter: blur(4px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 16px 14px 18px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 248, 249, 0.98), rgba(255, 228, 232, 0.97));
  box-shadow:
    0 18px 42px rgba(74, 33, 34, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.video-modal-close {
  position: absolute;
  top: -13px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8da1, #ef4267);
  box-shadow: 0 8px 14px rgba(164, 42, 65, 0.24);
  cursor: pointer;
}

.video-modal-title {
  margin: 0 44px 12px;
  color: #6a3b25;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.video-modal-frame {
  overflow: hidden;
  width: min(100%, calc((100vh - 134px) * 9 / 16), 390px);
  width: min(100%, calc((100dvh - 134px) * 9 / 16), 390px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border: 2px solid rgba(255, 172, 187, 0.7);
  border-radius: 18px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.video-modal-frame.is-wide {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Guard against WordPress/theme custom CSS that forces every image to 100% width. */
.uchinoko-lp-shortcode .screen > img:not(.before-photo-replace):not(.youtube-thumbnail):not(.instagram-button-overlay),
.uchinoko-lp-shortcode .fixed-line-cta > img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.uchinoko-lp-shortcode .screen img.before-photo-replace,
.uchinoko-lp-shortcode .screen img.youtube-thumbnail,
.uchinoko-lp-shortcode .screen img.instagram-button-overlay {
  position: absolute !important;
  max-width: none !important;
  pointer-events: none !important;
}

.uchinoko-lp-shortcode .screen img.birthday-before-photo {
  left: 8.25% !important;
  top: 30.58% !important;
  width: 83.5% !important;
  height: 21.9% !important;
}

.uchinoko-lp-shortcode .screen img.music-before-photo {
  left: 8.25% !important;
  top: 18.9% !important;
  width: 83.5% !important;
  height: 29.1% !important;
}

.uchinoko-lp-shortcode .screen img.animation-before-photo {
  left: 15.95% !important;
  top: 16.45% !important;
  width: 67.7% !important;
  height: 22.1% !important;
}

.uchinoko-lp-shortcode .screen img.birthday-youtube-thumbnail {
  left: 8.05% !important;
  top: 67.35% !important;
  width: 83.9% !important;
  height: 23.32% !important;
}

.uchinoko-lp-shortcode .screen img.music-youtube-thumbnail {
  left: 8.18% !important;
  top: 67.77% !important;
  width: 83.64% !important;
  height: 24.98% !important;
}

.uchinoko-lp-shortcode .screen img.animation-youtube-thumbnail {
  left: 15.95% !important;
  top: 52.82% !important;
  width: 67.7% !important;
  height: 22.1% !important;
}

.uchinoko-lp-shortcode .screen img.instagram-button-overlay {
  left: 10.6% !important;
  top: 81.75% !important;
  width: 78.8% !important;
  height: auto !important;
}
