/* Figma's current SP staff artwork adds outlined numbers to the portraits.
   Keep these decorations out of the PC artboard-1 layout. */
@media screen and (max-width: 767px) {
  .staff :is(.staff_block-img, .staff_block1-img)[data-staff-number] {
    position: relative;
    isolation: isolate;
    overflow: visible;
  }

  .staff :is(.staff_block-img, .staff_block1-img)[data-staff-number]::before {
    content: attr(data-staff-number);
    content: attr(data-staff-number) / "";
    position: absolute;
    z-index: 0;
    top: -.66em;
    left: -.4em;
    width: max-content;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(46px, 14.4vw, 54px);
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    -webkit-text-stroke: .55px #d6c31a;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, .52));
    pointer-events: none;
  }

  .staff .staff_block-img[data-staff-number="02"]::before,
  .staff .staff_block1-img[data-staff-number="04"]::before {
    right: -.3em;
    left: auto;
  }

  .staff [data-staff-number] > img {
    position: relative;
    z-index: 1;
  }

  /* The third portrait is the same diameter as the other three in Figma.
     Reducing the old 50px gap keeps ITO KENTA's name at its original column. */
  .staff .staff_block1-item:first-child {
    gap: 28px;
  }

  .staff .staff_block1-item:first-child > .staff_block1-img,
  .staff .staff_block1-img1 > .staff_block1-img {
    flex: 0 0 clamp(96px, 30vw, 112px);
  }

  .staff .staff_block1-item:first-child > .staff_block1-img img,
  .staff .staff_block1-img1 > .staff_block1-img img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* Restore the PC comparison cards' line spacing from the design. */
@media screen and (min-width: 768px) {
  .reasonBlock-1-item-p {
    line-height: 1.5;
  }
}

/* The PC footer uses the same italic English treatment as the SP artwork. */
footer .footer_navPc .footer_li a {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 400;
}

/* Current Figma PC raster: both REC and schedule corners span 1160px. */
@media screen and (min-width: 768px) {
  .mainVisial.blcontainer {
    width: min(1160px, calc(100% - 48px));
  }
  .mainVisial_topLeft,
  .mainVisial_bottomLeft { left: 0; }
  .mainVisial_topRight,
  .mainVisial_bottomRight { right: 0; }

  .movie_block4 {
    width: min(1160px, calc(100vw - 48px));
    margin-inline: 0;
    left: 50%;
    translate: -50% 0;
  }
}

/* PC artwork: contact top 27px, height 48px, then 30px before the REC frame. */
@media screen and (min-width: 768px) {
  .site-header .glovalManu {
    padding-top: 27px;
    margin-bottom: 30px;
  }
  .mainVisial_main { min-height: 537px; }
}

/* The PC and SP Figma source rasters share this LINE CTA green. */
.line-btn { background-color: #4cc764; }
