/* The four pieces use the round shapes in OneLife's mark. Their space stays
   reserved while they turn, so adjacent copy and controls never move. */
.ol-markset {
  --piece: clamp(16px, 1.8vw, 27px);
  display: inline-flex; position: relative; align-items: center; justify-content: space-between;
  width: calc(var(--piece) * 5.25); height: calc(var(--piece) * 1.6);
  flex: none; vertical-align: middle; pointer-events: none; user-select: none;
}
.ol-markset i {
  display: block; box-sizing: border-box; flex: none; width: var(--piece);
  height: var(--piece); transform-origin: 50% 55%;
  animation: ol-piece-turn 9s cubic-bezier(.45,0,.22,1) infinite;
}
.ol-markset i:nth-child(1) {
  border: 1px solid #4f716b; background: #84cfb4; border-radius: 80% 14% 70% 18%;
  --angle: -48deg; --lift: -.16em; animation-delay: -1s;
}
.ol-markset i:nth-child(2) {
  border-radius: 50%; border: max(3px,calc(var(--piece) * .18)) solid #2676a7;
  --angle: 24deg; --lift: .33em; animation-delay: -2.7s;
}
.ol-markset i:nth-child(3) {
  height: calc(var(--piece) * .69); border-radius: 2px 2px 90% 90% / 2px 2px 100% 100%;
  background: repeating-linear-gradient(90deg,#365d6f 0 2px,#e1eef0 2px 5px);
  border: 1px solid #456478; --angle: 90deg; --lift: -.22em; animation-delay: -3.4s;
}
.ol-markset i:nth-child(4) {
  background: #efd36e; border: 1px solid #91814b; border-radius: 50% 50% 13% 13%;
  --angle: 74deg; --lift: .22em; animation-delay: -1.6s;
}
@keyframes ol-piece-turn {
  0%,18%,90%,100% { transform: translateY(0) rotate(0); }
  36%,62% { transform: translateY(var(--lift)) rotate(var(--angle)); }
}
.inside-title > .ol-markset { align-self: center; margin-inline-start: auto; }
.ol-label-marks { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.1rem; }
.ol-label-marks .ol-markset { --piece: clamp(10px,1.05vw,16px); }
.edition .ed-section-head h2 .ol-markset { --piece: clamp(12px,1.4vw,21px); margin-inline-start: .48em; }
.ol-film .ol-forms i::before { animation: ol-petal 10s cubic-bezier(.42,0,.35,1) infinite; }
.ol-film .ol-forms i:nth-child(2n)::before { --petal-turn: -24deg; animation-delay: -4.2s; }
.ol-film .ol-forms i:nth-child(3n)::before { --petal-turn: 27deg; animation-delay: -6.5s; }
.ol-film .ol-forms i:nth-child(5)::before { animation-delay: -7.8s; }
@keyframes ol-petal {
  0%,22%,92%,100% { transform: rotate(0); }
  40%,65% { transform: rotate(var(--petal-turn,16deg)); }
}
.lv-contact-shortcut {
  display: flex; align-items: center; gap: .6em; width: fit-content; max-width: 100%;
  margin-top: 3px; min-height: 44px; color: #23526b; font-size: .9rem; font-weight: 650;
  text-decoration: underline; text-decoration-color: #91b3bd; text-underline-offset: .26em;
}
.lv-contact-shortcut span { color: #447783; }
.ol-wholesale-inquiry { width: min(86%,1200px); margin: 1.3rem auto 0; color: #3c5059; font-size: .95rem; line-height: 1.8; }
.ol-wholesale-inquiry a { color: #175b82; text-decoration: underline; text-underline-offset: .2em; }
.corporate-v3 main .life-photo-series {
  display: grid; grid-template-columns: 1.08fr 1fr 1.08fr; grid-column: 1 / -1;
  gap: clamp(10px,1.7vw,24px); margin-top: clamp(.7rem,2vw,2rem); width: 100%;
}
.life-photo-series figure { min-width: 0; margin: 0; }
.corporate-v3 main .life-photo-series img {
  display: block; width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; border-radius: 12px;
}
.life-photo-series figcaption { color: #425560; font: 600 .83rem/1.6 var(--ui,system-ui); margin-top: .45rem; }
.life-photo-series figure:nth-child(2) { padding-top: clamp(10px,1.7vw,24px); }

/* A faint drafting grid at the edges of the page. The center stays clear
   around the film, long Japanese text and company information. */
.corporate-v3 {
  --grid-step: 24px;
  --grid-rule: rgb(45 108 116 / 10%);
  --ol-page-grid:
    linear-gradient(90deg, transparent, rgb(255 255 255 / 92%) 18%, white 39% 61%, rgb(255 255 255 / 92%) 82%, transparent),
    linear-gradient(var(--grid-rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-rule) 1px, transparent 1px);
}
.corporate-v3.edition main,
.corporate-v3.edition .ol-film,
body.corporate-v3[data-interior] main {
  background-image: var(--ol-page-grid);
  background-size: 100% 100%, var(--grid-step) var(--grid-step), var(--grid-step) var(--grid-step);
  background-position: center, center top, center top;
}

/* Alternate a square lattice with a fine diamond mesh on the tinted paper. */
.ed-pickup-card { --mesh-paper: #fcf9da; --mesh-thread: rgb(127 104 49 / 14%); }
.ed-reports { --mesh-paper: #edf5fa; }
.bz-spread { --mesh-paper: var(--bz-tone); }
.company-permits { --mesh-paper: #f2f6ef; }
.lv-community { --mesh-paper: #eef5f7; }
.corporate-v3 :is(.ed-pickup-card, .ed-reports, .bz-spread, .company-permits, .lv-community) {
  background-image:
    linear-gradient(110deg, transparent, var(--mesh-paper) 35% 76%, transparent),
    repeating-linear-gradient(45deg, transparent 0 11px, var(--mesh-thread, rgb(42 99 107 / 11%)) 11px 12px),
    repeating-linear-gradient(-45deg, transparent 0 11px, var(--mesh-thread, rgb(42 99 107 / 11%)) 11px 12px);
}
@media (max-width: 700px) {
  .corporate-v3 { --grid-step: 19px; --grid-rule: rgb(45 108 116 / 8%); }
}
@media (forced-colors: active), print {
  .corporate-v3.edition main, .corporate-v3.edition .ol-film, body.corporate-v3[data-interior] main,
  .corporate-v3 :is(.ed-pickup-card, .ed-reports, .bz-spread, .company-permits, .lv-community) { background-image: none; }
}
.reduce-motion .ol-markset i,.reduce-motion .ol-film .ol-forms i::before,
.ol-page-hidden .ol-markset i,.ol-page-hidden .ol-film .ol-forms i::before,
.ol-markset.ol-rhythm-offscreen i,.ol-film .ol-forms.ol-rhythm-offscreen i::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-enabled) .ol-markset i, html:not(.motion-enabled) .ol-film .ol-forms i::before { animation-play-state: paused; }
}
@media(max-width:680px) {
  .inside-title > .ol-markset { --piece: 12px; }
  .ol-markset i { --lift: .1em; }
  .edition .ed-section-head h2 .ol-markset { --piece: 9px; margin-inline-start: .4em; }
  .corporate-v3 main .life-photo-series { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .corporate-v3 main .life-photo-series figure:first-child { grid-column: 1 / -1; }
  .corporate-v3 main .life-photo-series figure:first-child img { aspect-ratio: 1.85; }
  .life-photo-series figure:nth-child(2) { padding-top: 0; }
  .life-photo-series figcaption { font-size: .77rem; }
}
@media (max-width: 359px) {
  .corporate-v3 .v3-footer .footer-identity .brand-art { height: 26px; }
}
