/* PC frame for the TOP (/): the LP (/inner/) in a 540px column. No divider lines; weights capped at 700. */
:root {
  --pcm-pink: #fa1d88;
  --pcm-ink: #333;
  --pcm-col: 540px;
}

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

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden; /* the page never scrolls; the iframe does */
}

body.pcm {
  display: flex;
  justify-content: center;
  color: var(--pcm-ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 600;
  line-height: 1.7;
  /* quiet backdrop from the LP's pink / coral / cream family */
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, #ffe3ef 0%, rgba(255, 227, 239, 0) 70%),
    radial-gradient(ellipse 70% 60% at 100% 100%, #ffe6e0 0%, rgba(255, 230, 224, 0) 70%),
    #fff8f4;
}

.pcm-column {
  flex: 0 0 var(--pcm-col);
  width: var(--pcm-col);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  box-shadow: 0 0 40px rgba(250, 29, 136, .10), 0 0 12px rgba(51, 51, 51, .06);
  position: relative;
  z-index: 1;
}

.pcm-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* side zones: each fills the space on its side; content centered in it */
.pcm-side {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  justify-content: center;
  padding: 32px 24px;
  overflow-y: auto; /* only on very short windows */
}

.pcm-side__inner {
  width: 100%;
  max-width: 260px;
  margin-block: auto; /* vertical centering that never clips the top */
}

.pcm-logo { display: block; width: 180px; }
.pcm-logo img { display: block; width: 100%; height: auto; }

.pcm-tagline {
  margin: 14px 0 36px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--pcm-ink);
}

.pcm-tagline span { display: inline-block; }

.pcm-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pcm-menu a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--pcm-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.pcm-menu a:hover,
.pcm-menu a:focus-visible {
  background: rgba(250, 29, 136, .08);
  color: var(--pcm-pink);
}

.pcm-menu a:focus-visible,
.pcm-logo:focus-visible {
  outline: 2px solid var(--pcm-pink);
  outline-offset: 2px;
}

.pcm-menu a[aria-current="true"] {
  background: var(--pcm-pink);
  color: #fff;
}

.pcm-side--right .pcm-side__inner { text-align: center; }

.pcm-qr {
  display: inline-block;
  padding: 10px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(250, 29, 136, .10);
}

.pcm-qr img {
  display: block;
  width: 180px;
  height: 180px;
  image-rendering: pixelated;
}

.pcm-qr__caption {
  margin: 18px 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pcm-pink);
}

.pcm-qr-insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--pcm-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pcm-qr-insta:hover,
.pcm-qr-insta:focus-visible {
  color: var(--pcm-pink);
}

.pcm-qr__url {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  overflow-wrap: anywhere;
}

/* narrow side areas (1021–1180px): a little more room for the content */
@media (max-width: 1180px) {
  .pcm-side { padding: 24px 12px; }
  .pcm-qr__url { font-size: 11px; }
}

@media (max-width: 1020px) {
  .pcm-side { display: none; }
}

@media (max-width: 540px) {
  .pcm-column {
    flex-basis: 100%;
    width: 100%;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcm-menu a { transition: none; }
}
