/* もえりんバナー用 START */
.wp-pink-banner-scope :root {
    --pink: #ff9bb5;
    --pink-bright: #f45bb7;
    --white: #fff;
    --cycle: 15s;
  }.wp-pink-banner-scope * { box-sizing: border-box; }.wp-pink-banner-scope body {
    margin: 0;
    padding: 20px;
    background: #fff2f7;
    font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  }.wp-pink-banner-scope /* 元画像と同じ 850:320 比率 */
  .pink-banner {
    position: relative;
    isolation: isolate;
    width: min(100%, 1100px);
    aspect-ratio: 850 / 320;
    margin: 0 auto;
    overflow: hidden;
    display: grid;
    grid-template-columns: 49.5% 50.5%;
    align-items: stretch;
    padding: 1.05%;
    background:
      radial-gradient(ellipse at 72% 18%, rgba(255,255,255,.24), transparent 32%),
      linear-gradient(135deg, #ff9eb7 0%, #fa91b3 52%, #ff9eb8 100%);
    box-shadow: 0 12px 34px rgba(196, 76, 132, .16);
  }.wp-pink-banner-scope .pink-banner::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -45%;
    background: conic-gradient(from 20deg at 50% 50%,
      transparent 0 8%, rgba(255,255,255,.18) 9%, transparent 11% 24%,
      rgba(255,255,255,.12) 25%, transparent 27% 48%,
      rgba(255,255,255,.16) 49%, transparent 51% 74%,
      rgba(255,255,255,.12) 75%, transparent 77%);
    animation: halo-turn 48s linear infinite;
    pointer-events: none;
  }.wp-pink-banner-scope .pink-banner::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background-image:
      radial-gradient(circle, #fff 0 1px, transparent 1.8px),
      radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 2px);
    background-size: 37px 39px, 61px 57px;
    background-position: 4px 7px, 19px 23px;
    animation: dust-drift 16s linear infinite;
  }.wp-pink-banner-scope /* 左側：写真2枚を横に並べ、左へ無限スクロール */
  .photo-stage {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }.wp-pink-banner-scope .photo-track {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: 600%;
    height: 100%;
    animation: photo-scroll 54s linear infinite;
    will-change: transform;
  }.wp-pink-banner-scope .photo-slot {
    width: 97%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--pink-bright);
    font-size: clamp(16px, 5.5vw, 42px);
    font-weight: 900;
    letter-spacing: .06em;
    background: linear-gradient(145deg, #fff 0%, #fffafd 68%, #fff0f7 100%);
    border: 2px solid rgba(255,255,255,.98);
    box-shadow:
      0 0 0 1px rgba(236, 99, 166, .42),
      inset 0 0 0 1px rgba(255,255,255,.9),
      0 4px 12px rgba(173, 54, 111, .16);
  }.wp-pink-banner-scope .photo-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }.wp-pink-banner-scope /* 写真を派手に演出：浮き上がり・3D傾き・弾み・発光 */
  .photo-slot {
    transform-origin: 50% 55%;
    backface-visibility: hidden;
    animation: photo-showoff 2.8s cubic-bezier(.45, 0, .25, 1) infinite;
    will-change: transform, filter;
  }.wp-pink-banner-scope /* 6枚ごとに同じタイミングを繰り返し、ループの継ぎ目を揃える */
  .photo-slot:nth-child(6n + 1) { animation-delay: 0s; }.wp-pink-banner-scope .photo-slot:nth-child(6n + 2) { animation-delay: -.45s; }.wp-pink-banner-scope .photo-slot:nth-child(6n + 3) { animation-delay: -.9s; }.wp-pink-banner-scope .photo-slot:nth-child(6n + 4) { animation-delay: -1.35s; }.wp-pink-banner-scope .photo-slot:nth-child(6n + 5) { animation-delay: -1.8s; }.wp-pink-banner-scope .photo-slot:nth-child(6n + 6) { animation-delay: -2.25s; }

  @keyframes photo-showoff {.wp-pink-banner-scope 0%,
.wp-pink-banner-scope 100% {
      transform: perspective(700px) translateY(0) rotateZ(0) rotateY(0) scale(1);
      filter: brightness(1) saturate(1) drop-shadow(0 3px 5px rgba(174,55,112,.12));
    }18% {
      transform: perspective(700px) translateY(-7px) rotateZ(-2deg) rotateY(-9deg) scale(1.035);
      filter: brightness(1.12) saturate(1.22) drop-shadow(0 9px 11px rgba(174,55,112,.3));
    }38% {
      transform: perspective(700px) translateY(3px) rotateZ(2.5deg) rotateY(8deg) scale(.985);
      filter: brightness(1.04) saturate(1.35) drop-shadow(0 4px 8px rgba(174,55,112,.24));
    }58% {
      transform: perspective(700px) translateY(-5px) rotateZ(-1deg) rotateY(0) scale(1.055);
      filter: brightness(1.2) saturate(1.3) drop-shadow(0 10px 14px rgba(255,255,255,.7));
    }78% {
      transform: perspective(700px) translateY(2px) rotateZ(1.5deg) rotateY(-7deg) scale(.99);
      filter: brightness(1.05) saturate(1.15) drop-shadow(0 5px 8px rgba(174,55,112,.2));
    }
  }.wp-pink-banner-scope .photo-stage:hover .photo-track {
    animation-play-state: paused;
  }.wp-pink-banner-scope .photo-stage::before,
.wp-pink-banner-scope .photo-stage::after {
    content: "✦";
    position: absolute;
    z-index: 4;
    color: #fff9d9;
    font-size: clamp(16px, 3vw, 30px);
    pointer-events: none;
    text-shadow: 0 0 6px #fff, 0 0 15px #fff3b0, 0 0 24px #fff;
    animation: photo-flash 1.7s ease-in-out infinite;
  }.wp-pink-banner-scope .photo-stage::before { top: 5%; left: 45%; }.wp-pink-banner-scope .photo-stage::after { right: 3%; bottom: 7%; animation-delay: -.85s; }

  @keyframes photo-flash {.wp-pink-banner-scope 0%,
.wp-pink-banner-scope 100% { opacity: .15; transform: scale(.5) rotate(0); }50% { opacity: 1; transform: scale(1.5) rotate(70deg); }
  }

  @keyframes photo-scroll {from { transform: translateX(0); }to { transform: translateX(-50%); }
  }.wp-pink-banner-scope /* 右側の文字・ロゴは固定 */
  /* 右側：透過PNGを中央に配置 */
  .info-area {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3%;
  }.wp-pink-banner-scope .center-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 0;
    filter: drop-shadow(0 3px 7px rgba(174,55,112,.22));
  }.wp-pink-banner-scope .center-mark img {
    display: block;
    width: 92%;
    height: 88%;
    object-fit: contain;
    object-position: center;
  }.wp-pink-banner-scope .sparkle {
    position: absolute;
    z-index: 5;
    width: var(--s, 12px);
    height: var(--s, 12px);
    left: var(--x);
    top: var(--y);
    pointer-events: none;
    color: #fff;
    opacity: .85;
    animation: twinkle var(--d, 2.6s) ease-in-out var(--delay, 0s) infinite;
  }.wp-pink-banner-scope .sparkle::before {
    content: "✦";
    display: block;
    font-size: var(--s, 12px);
    line-height: 1;
    text-shadow: 0 0 5px #fff, 0 0 12px #fff5c9, 0 0 18px #fff;
  }.wp-pink-banner-scope .glint {
    position: absolute;
    z-index: 3;
    top: -35%;
    left: -22%;
    width: 13%;
    height: 180%;
    transform: rotate(22deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    filter: blur(2px);
    animation: glint-pass 9s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes twinkle {.wp-pink-banner-scope 0%,
.wp-pink-banner-scope 100% { opacity: .35; transform: scale(.72) rotate(0deg); }50% { opacity: 1; transform: scale(1.22) rotate(24deg); }
  }
  @keyframes halo-turn {to { transform: rotate(360deg); } }
  @keyframes dust-drift {from { background-position: 4px 7px, 19px 23px; }to { background-position: 41px -32px, -42px -34px; }
  }
  @keyframes glint-pass {.wp-pink-banner-scope 0%,
.wp-pink-banner-scope 18% { left: -22%; opacity: 0; }30% { opacity: .9; }62% { left: 112%; opacity: 0; }100% { left: 112%; opacity: 0; }
  }

  @media (max-width: 700px) {.wp-pink-banner-scope body { padding: 8px; }.wp-pink-banner-scope .pink-banner { width: 100%; padding: 1.2%; }.wp-pink-banner-scope .photo-slot { border-width: 1px; }.wp-pink-banner-scope .info-area { padding: 2%; }.wp-pink-banner-scope .center-mark img { width: 96%; height: 92%; }
  }

  /* 狭いスマートフォンでは写真とロゴを上下に配置 */
  @media (max-width: 480px) {.wp-pink-banner-scope body { padding: 6px; }.wp-pink-banner-scope .pink-banner {
      aspect-ratio: auto;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(150px, 52vw) minmax(105px, 34vw);
      gap: 5px;
      padding: 7px;
    }.wp-pink-banner-scope .photo-stage,
.wp-pink-banner-scope .info-area { width: 100%; }.wp-pink-banner-scope .info-area { padding: 2px 8%; }.wp-pink-banner-scope .center-mark img {
      width: min(88%, 300px);
      height: 94%;
    }
  }

  @media (prefers-reduced-motion: reduce) {.wp-pink-banner-scope .pink-banner::before,
.wp-pink-banner-scope .pink-banner::after,
.wp-pink-banner-scope .sparkle,
.wp-pink-banner-scope .glint,
.wp-pink-banner-scope .photo-track,
.wp-pink-banner-scope .photo-slot,
.wp-pink-banner-scope .photo-stage::before,
.wp-pink-banner-scope .photo-stage::after {
      animation: none !important;
    }
  }.wp-pink-banner-scope .center-mark {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: clamp(2px, 0.7vw, 8px);
    }.wp-pink-banner-scope .logo-caption {
      width: 100%;
      text-align: center;
      white-space: nowrap;
      color: #fff;
      font-weight: 800;
      font-size: clamp(10px, 1.8vw, 20px);
      line-height: 1.15;
      letter-spacing: 0.08em;
      text-shadow: 0 1px 3px #d63384, 0 0 8px rgba(255,255,255,.9);
    }.wp-pink-banner-scope /* WordPress埋め込み用：バナー全体をリンクにする */
.pink-banner-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none !important;
  line-height: 0;
}.wp-pink-banner-scope .pink-banner-link:hover,
.wp-pink-banner-scope .pink-banner-link:focus {
  text-decoration: none !important;
}.wp-pink-banner-scope .pink-banner-link .pink-banner {
  width: 100%;
}
/* もえりんバナー用 END */
