* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: #20202c; background: #e8e1f5; font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; font-size: 16px; }
a { text-decoration: none; }
a:focus-visible { outline: 3px solid #167dcc; outline-offset: 4px; }
img { border: 0; max-width: 100%; height: auto; }
.page-background { position: fixed; inset: 0; z-index: -1; background: url("../img/back_mrr.png") center center / cover no-repeat; pointer-events: none; }
.page-background video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.page-background video.is-playing { opacity: 1; }
main {
  /* Scale the heading with the logo and reserve space for it below. */
  --hero-width-by-height: 48vh;
  --hero-width: min(680px, calc(85vw - 27.2px), var(--hero-width-by-height));
  padding-bottom: 1px;
}
.mainVisu { display: flex; justify-content: center; padding: 20px 16px 28px; }
.mainVisu img { display: block; width: var(--hero-width); height: auto; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(36, 15, 65, .18)); }
.body1 { width: calc(100% - 32px); max-width: 800px; margin: 0 auto; }
.mainTitle { container-type: inline-size; text-align: center; margin: 0 auto 28px; padding: 24px 16px; background: rgba(255,255,255,.95); border: 3px solid #292431; border-radius: 18px; box-shadow: 5px 6px 0 #ffda22; }
.mainTitle h1 {
  /* The longest of the three lines is 22 full-width characters. */
  font-size: min(calc((100vw - 78px) / 22), max(1rem, calc(var(--hero-width) * .06)));
  font-size: min(4.5cqi, max(1rem, calc(var(--hero-width) * .06)));
  font-weight: 900;
  line-height: 1.4;
  white-space: nowrap;
}
.mainTitle h1 span { display: block; margin-bottom: 6px; font-size: clamp(1rem, 3vw, 1.4rem); }
.mainTitle p { margin-top: 12px; line-height: 1.7; }
.mobile-break { display: none; }
.embeddedWrap { overflow: hidden; background: white; border: 3px solid #292431; border-radius: 14px; margin-bottom: 32px; box-shadow: 0 8px 24px rgba(36,15,65,.12); }
.embedded1 { display: block; width: 100%; height: 85vh; min-height: 500px; border: 0; }
.decharepoAnnai img { display: block; }
.copyright { font-size: .8rem; margin: 24px 0; padding: 12px; text-align: center; line-height: 1.6; background: rgba(255,255,255,.92); border-radius: 8px; }
@media (max-width: 600px) {
  main {
    --hero-width-by-height: 43vh;
    --hero-width: min(94vw, var(--hero-width-by-height));
  }
  .mainVisu { padding: 12px 0 24px; }
  .mainTitle { padding: 20px 12px; }
  .mobile-break { display: initial; }
}
@media (max-height: 620px), (min-width: 601px) and (max-height: 760px) {
  .mainVisu { padding-block: 10px 16px; }
  .mainTitle { padding-block: 10px; }
}
@supports (height: 1svh) {
  main { --hero-width-by-height: 48svh; }
  @media (max-width: 600px) {
    main { --hero-width-by-height: 43svh; }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .page-background video { transition: none; } }
