.home-page main {
  --contents-panel-gutter: clamp(12px, calc(1.4 * var(--vw, 1vw)), 26px);
  overflow: hidden;
}

[data-parallax-circle] {
  translate: 0 var(--parallax-offset, 0px);
}

.home-container {
  width: min(calc(100% - 80px), var(--content-width));
  margin-inline: auto;
}

.home-section {
  position: relative;
  overflow: hidden;
}

.home-section h2 {
  margin: 12px 0 34px;
  color: #0b0b0b;
  font-size: clamp(32px, calc(2.3 * var(--vw, 1vw)), 44px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.07em;
}

.home-section h2 span,
.home-section strong,
.philosophy-last {
  color: var(--orange);
}

/* Webフォント化で375pxの結びが「新し｜い」と切れたため、語のまとまりで折り返す。 */

.philosophy-keep {
  display: inline-block;
}

.heading-art {
  display: block;
  max-width: 100%;
  height: auto;
}

#philosophy-title > .heading-art { width: min(100%, 509px);
}

#contents-title > .heading-art { width: min(100%, 649px);
}

#company-title > .heading-art { width: min(100%, 229px);
}

#environment-title > .heading-art { width: min(100%, 315px);
}

#people-title > .heading-art { width: min(100%, 186px);
}

#recruit-title > .heading-art { width: min(100%, 168px);
}

.home-section p {
  font-weight: 700;
}

html.has-text-reveal [data-text-reveal='eyebrow'] {
  position: relative;
  width: fit-content;
  overflow: hidden;
  color: transparent;
}

html.has-text-reveal [data-text-reveal='eyebrow'].is-text-visible {
  animation: eyebrow-mask-text 1000ms linear both;
}

@keyframes eyebrow-mask-text {
  0%, 49.9% { color: transparent; }
  50%, 100% { color: var(--eyebrow-reveal-color, #c7c7c7); }
}

html.has-text-reveal [data-text-reveal='heading'] {
  position: relative;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
}

html.has-text-reveal [data-text-reveal='heading'] > .heading-art {
  opacity: 0;
}

html.has-text-reveal :is([data-text-reveal='heading'], [data-text-reveal='eyebrow'])::after {
  position: absolute;
  inset: 0;
  background: var(--orange);
  content: '';
  pointer-events: none;
  transform: translateX(-101%);
}

html.has-text-reveal [data-text-reveal='heading'].is-text-visible > .heading-art {
  animation: heading-mask-text 1000ms linear 120ms both;
}

html.has-text-reveal [data-text-reveal='heading'].is-text-visible::after,
html.has-text-reveal [data-text-reveal='eyebrow'].is-text-visible::after {
  animation: heading-mask-wipe 1000ms cubic-bezier(.8, 0, .17, 1) both;
}

html.has-text-reveal [data-text-reveal='heading'].is-text-visible::after {
  animation-delay: 120ms;
}

@keyframes heading-mask-text {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

@keyframes heading-mask-wipe {
  0% { transform: translateX(-101%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(101%); }
}

@media (prefers-reduced-motion: no-preference) {
  html.has-text-reveal .people-copy > [data-text-reveal='heading'] ~ p {
    opacity: 0;
    transform: translateY(16px);
  }

  html.has-text-reveal .people-copy > [data-text-reveal='heading'].is-text-visible ~ p {
    animation: philosophy-copy-enter 600ms cubic-bezier(.4, 0, .2, 1) 650ms both;
  }
}

.eyebrow {
  margin: 0;
  color: #c7c7c7;
  font-size: 1.2rem;
  font-weight: 900 !important;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.eyebrow-line {
  color: var(--orange);
  --eyebrow-reveal-color: var(--orange);
}

.eyebrow-line::before {
  content: '';
  display: inline-block;
  width: 48px;
  height: 2px;
  margin: 0 9px 5px 0;
  background: currentColor;
}

.hero {
  --hero-copy-half-width: 336px;
  --hero-photo-gap: 32px;
  position: relative;
  z-index: 1;
  height: 1360px;
  overflow: visible;
  background: #fff1e3;
  text-align: center;
}

@media (min-width: 1401px) {
  .hero {
    height: 1440px;
  }
}

html .hero {
  background: #fff;
}

html .hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(
    ellipse calc(100 * var(--vw, 1vw)) 220px at 50% calc(100% + 90px),
    #fff 99%,
    transparent 100%
  );
  content: '';
  pointer-events: none;
}

.fv-layout-v2 .hero {
  background: #fff;
}

.hero-opening-subtitle,
.hero-opening-lead {
  display: none;
}

.fv-layout-v2 .hero-opening-subtitle {
  display: block;
  margin: 16px 0 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.fv-layout-v2 .hero-jobs {
  margin-top: 5px;
}

.fv-layout-v2 .hero-opening-lead {
  display: block;
  width: max-content;
  margin: 50px auto 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 2;
  letter-spacing: 0.03em;
}

.fv-layout-v2 .hero-opening-lead strong {
  color: var(--orange);
}

.fv-layout-v2 .hero-team-stage {
  margin-top: 40px;
}

.hero-motifs {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-motifs span {
  position: absolute;
  top: var(--motif-top);
  left: var(--motif-left);
  width: var(--motif-size);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: var(--motif-opacity, 1);
}

.hero-motifs .is-orange { background: var(--orange);
}

.hero-motifs .is-yellow { background: var(--yellow);
}

.hero-motifs .is-soft { background: #ffeba5;
}

.hero-motifs .is-ring { border: 10px solid var(--orange);
}

.hero-motifs .is-ring-yellow { border: 10px solid var(--yellow);
}

.hero-intro {
  display: none;
}

.has-hero-intro .hero-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  height: calc(100 * var(--vh, 1vh));
  height: calc(100 * var(--vh, 1dvh));
  place-items: center;
  overflow: hidden;
  background: var(--orange);
  pointer-events: auto;
  animation:
    hero-intro-background 1.08s ease-in-out both,
    hero-intro-leave 0.5s ease-in 3.65s forwards;
}

.hero-intro-logo,
.hero-intro-copy {
  position: absolute;
  z-index: 1;
}

.hero-intro-logo {
  width: min(calc(57.6 * var(--vw, 1vw)), 768px);
  height: auto;
  animation: hero-intro-logo 1.12s ease-out both;
}

.hero-intro-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 40px), 1000px);
  margin: 0;
  transform: translateY(-38px);
  animation: hero-intro-copy-leave 0.26s ease-in 2.65s forwards;
}

.hero-intro-row {
  display: flex;
  flex: 0 0 auto;
}

.hero-intro-row-1 {
  width: 52.3816%;
}

.hero-intro-row-2 {
  width: 47.6184%;
}

.hero-intro-letter {
  display: block;
  flex: 0 0 var(--glyph-share);
  animation: hero-intro-letter 0.36s cubic-bezier(0.2, 0.8, 0.2, 1)
    calc(1.12s + var(--letter-index) * 0.075s) both;
}

.hero-intro-letter img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-intro-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-intro-bubble {
  position: absolute;
  bottom: calc(-1 * var(--bubble-size));
  left: var(--bubble-left);
  width: min(var(--bubble-size), calc(28 * var(--vw, 1vw)));
  aspect-ratio: 1;
  border-radius: 50%;
  animation: hero-intro-bubble var(--bubble-duration) cubic-bezier(0.3, 0.55, 0.4, 1)
    calc(2.75s + var(--bubble-delay)) both;
  /* 上り始めの速さを抑えたイージングと合わせ、動き出す前から描画を準備しておく（PCのChromeでのカクつき対策） */
  will-change: transform, opacity;
}

.hero-intro-bubble.is-orange {
  background: var(--orange);
}

.hero-intro-bubble.is-yellow {
  background: var(--yellow);
}

.hero-intro-bubble.is-peach {
  background: #ffddcb;
}

.has-hero-intro .hero-center > :not(.hero-team-stage) {
  animation: hero-intro-reveal 0.68s cubic-bezier(0.2, 0.8, 0.2, 1) 3.88s both;
}

.has-hero-intro .hero-orb-top {
  animation: hero-intro-photo 0.8s cubic-bezier(0.18, 0.8, 0.2, 1) 4.28s both;
}

.has-hero-intro .hero-orb-right {
  animation: hero-intro-photo 0.8s cubic-bezier(0.18, 0.8, 0.2, 1) 4.46s both;
}

.has-hero-intro .hero-team-stage {
  animation: hero-intro-photo 0.8s cubic-bezier(0.18, 0.8, 0.2, 1) 4.6s both;
}

.has-hero-intro .hero-orb-bottom {
  animation: hero-intro-photo 0.8s cubic-bezier(0.18, 0.8, 0.2, 1) 4.78s both;
}

/* 同じタブの2回目以降は、ヘッダーと右上のボタンを動かさずに出す */

.hero-intro-skip .site-header { transition: none;
}

.hero-intro-skip .header-entry,
.hero-intro-skip .mobile-entry { animation: none;
}

@keyframes hero-intro-background {
  0%,
  70% {
    background: var(--orange);
  }
  100% {
    background: #fff;
  }
}

@keyframes hero-intro-logo {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  18%,
  70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(1.04);
  }
}

@keyframes hero-intro-letter {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-intro-copy-leave {
  from {
    transform: translateY(-38px);
  }
  to {
    opacity: 0;
    transform: translateY(-52px);
  }
}

@keyframes hero-intro-bubble {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  17% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(
      var(--bubble-drift),
      calc(calc(-100 * var(--vh, 1dvh)) - var(--bubble-size) - 120px),
      0
    ) scale(1);
  }
}

@keyframes hero-intro-leave {
  0% {
    opacity: 1;
    visibility: visible;
  }
  99% {
    opacity: 0;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes hero-intro-reveal {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-intro-photo {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 206px;
}

.hero-wordmark {
  width: 672px;
  height: auto;
}

.hero h1 {
  width: min(100%, 670px);
  margin: 32px 0 0;
  font-size: 54px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: #0b0b0b;
}

.hero-title-art {
  display: block;
  width: 100%;
  height: auto;
}

.hero-jobs {
  display: flex;
  width: 480px;
  gap: 12px;
  margin-top: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-jobs span {
  flex: 1;
  background: var(--orange);
}

.hero-jobs span + span {
  background: var(--yellow);
}

.hero-team-stage {
  position: relative;
  width: 568px;
  margin-top: 56px;
}

.hero-team {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.hero-team-ground {
  position: absolute;
  bottom: -12px;
  left: 5%;
  width: 90%;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(255 112 15 / 27%) 0%, rgb(255 173 70 / 15%) 57%, transparent 75%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 10px solid var(--yellow);
  border-radius: 50%;
  background: #fff;
}

.hero-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-orb-top {
  top: 135px;
  /* Stop moving inward once the centered copy's safe margin is reached. */
  left: min(4.5%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 375px));
  width: 375px;
  height: 375px;
}

.hero-orb-top img {
  object-position: center 61%;
}

.hero-orb-right {
  top: 505px;
  right: min(1.5%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 474px));
  width: 474px;
  height: 474px;
}

.hero-orb-right img {
  object-position: 44% center;
}

.hero-orb-bottom {
  top: var(--hero-bottom-photo-top);
  left: var(--hero-bottom-photo-left);
  width: var(--hero-bottom-photo-size);
  height: var(--hero-bottom-photo-size);
}

.hero-orb-bottom img {
  object-position: right center;
  transform: scale(1.2);
  transform-origin: right center;
}

.hero-bottom-art,
.hero-bottom-art-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bottom-art {
  overflow: hidden;
}

.hero-bottom-art-motion {
  --hero-bottom-photo-top: 869px;
  --hero-bottom-photo-left: calc(5% - 18px);
  --hero-bottom-photo-size: 356px;
}

.fv-layout-v2 .hero-bottom-art-motion {
  --hero-bottom-photo-top: 897px;
  --hero-bottom-photo-left: 5.7%;
  --hero-bottom-photo-size: 338px;
}

.fv-layout-v2 .hero-orb-top {
  left: min(2%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 390px));
  width: 390px;
  height: 390px;
}

.fv-layout-v2 .hero-orb-right {
  right: min(1.9%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 480px));
  width: 480px;
  height: 480px;
}

.fv-layout-v2 .hero-accent-ring-left {
  top: 344px;
  left: calc(min(2%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 390px)) + 327px);
}

.hero-ring,
.decor-ring {
  position: absolute;
  border: 10px solid var(--orange);
  border-radius: 50%;
}

.hero-ring {
  right: 15%;
  bottom: 169px;
  width: 220px;
  height: 220px;
}

.hero-dots {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-dots-left {
  left: calc(var(--hero-bottom-photo-left) - var(--hero-bottom-photo-size) * 0.411);
  top: calc(var(--hero-bottom-photo-top) - var(--hero-bottom-photo-size) * 0.392);
  width: calc(var(--hero-bottom-photo-size) * 1.825);
}

.hero-dots-right {
  right: -13px;
  top: 318px;
  width: 373px;
}

.hero-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-accent-ring-top {
  top: 110px;
  left: 23.4%;
  width: 80px;
  height: 80px;
  border: 10px solid var(--orange);
}

.hero-accent-ring-left {
  z-index: 2;
  top: 354px;
  left: calc(min(4.5%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 375px)) + 315px);
  width: 135px;
  height: 135px;
  border: 0;
}

.hero-accent-soft-left {
  top: 510px;
  left: 3%;
  width: 155px;
  height: 155px;
  background: #ffeba5;
}

.hero-accent-soft-right {
  right: 18%;
  bottom: 330px;
  width: 88px;
  height: 88px;
  background: #ffeba5;
}

.hero-accent-peach-right {
  right: -105px;
  bottom: 280px;
  width: 220px;
  height: 220px;
  background: #ffddcb;
}

/* Wider than 1600px: keep the photos and the circles tied to them at their 1600px positions. */

@media (min-width: 1601px) {
  .hero-orb-top {
    left: calc(50% - 743px);
  }

  .hero-orb-right {
    right: calc(50% - 842px);
  }

  .hero-bottom-art-motion {
    --hero-bottom-photo-left: calc(50% - 738px);
  }

  .hero-dots-right {
    right: calc(50% - 813px);
  }

  .hero-accent-ring-left {
    left: calc(50% - 428px);
  }

  .fv-layout-v2 .hero-orb-top {
    left: calc(50% - 768px);
  }

  .fv-layout-v2 .hero-orb-right {
    right: calc(50% - 848px);
  }

  .fv-layout-v2 .hero-bottom-art-motion {
    --hero-bottom-photo-left: calc(50% - 708.8px);
  }

  .fv-layout-v2 .hero-accent-ring-left {
    left: calc(50% - 441px);
  }
}

.philosophy {
  min-height: 1159px;
  padding: 70px 0 65px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 884px;
}

.philosophy-copy h2 {
  margin: 55px 0 100px;
}

.philosophy-copy > p:not(.eyebrow) {
  margin: 0 0 55px;
  font-size: 20px;
  line-height: 2.7;
  letter-spacing: 0.04em;
}

.philosophy-copy .philosophy-last {
  margin-top: 24px !important;
  font-size: 36px !important;
  line-height: 1.6 !important;
  font-weight: 900;
}

.philosophy-visual {
  position: relative;
  min-height: 760px;
}

.philosophy-background-circle {
  position: absolute;
  top: 260px;
  left: -162px;
  width: 202px;
  height: 202px;
  border-radius: 50%;
  background: #ffeba5;
}

.philosophy-photo {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 10px solid var(--yellow);
  border-radius: 50%;
}

.philosophy-photo img {
  position: absolute;
  max-width: none;
  height: auto;
}

.philosophy-photo-one {
  top: 40px;
  left: -120px;
  width: 370px;
  height: 370px;
}

.philosophy-photo-one img {
  top: -4%;
  left: -35%;
  width: 176%;
}

.philosophy-photo-two {
  top: 200px;
  left: 307px;
  width: 267px;
  height: 267px;
}

.philosophy-photo-two img {
  top: -8%;
  left: -74%;
  width: 177%;
}

.philosophy-photo-three {
  top: 571px;
  left: 197px;
  width: 204px;
  height: 204px;
}

.philosophy-photo-three img {
  top: -54%;
  left: -151%;
  width: 315%;
}

.philosophy-dots {
  position: absolute;
  top: 491px;
  left: 112px;
  width: 371px;
  height: auto;
}

.philosophy-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.philosophy-accent-soft {
  top: 535px;
  left: -90px;
  width: 170px;
  height: 170px;
  background: #ffdfcf;
}

.philosophy-accent-ring {
  top: 540px;
  left: 45px;
  width: 90px;
  height: 90px;
  border: 10px solid var(--orange);
}

.philosophy-accent-photo-ring {
  z-index: 2;
  top: 384px;
  left: 520px;
  width: 64px;
  height: 64px;
  border: 7px solid var(--yellow);
}

html.has-philosophy-reveal .philosophy-copy > p:not(.eyebrow) {
  opacity: 0;
  transform: translateY(16px);
}

html.has-philosophy-reveal .philosophy-copy > p.is-philosophy-part-visible {
  animation: philosophy-copy-enter 720ms cubic-bezier(.4, 0, .2, 1) var(--philosophy-part-delay, 0ms) both;
}

@keyframes philosophy-copy-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

html.has-philosophy-reveal .philosophy-visual > * { opacity: 0;
}

html.has-philosophy-reveal .philosophy-visual > .is-philosophy-part-visible {
  animation: philosophy-orb-enter 760ms cubic-bezier(.22, 1, .36, 1) var(--philosophy-part-delay, 0ms) both;
}

@keyframes philosophy-orb-enter {
  from { opacity: 0; transform: scale(.82); }
  to { opacity: 1; transform: scale(1); }
}

/* 黄色い枠は中身（見出し・文章・ボタン）の高さに合わせる。画面の高さには連動させない。 */
.contents-intro {
  z-index: 1;
  padding: 112px 0;
  overflow: visible;
  isolation: isolate;
  clip-path: inset(-100% 0 -100% 0);
}

.contents-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0 var(--contents-panel-gutter);
  border-radius: 20px;
  background: var(--yellow);
  content: '';
}

.contents-layout {
  display: flex;
  height: 100%;
  align-items: center;
}

.contents-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.contents-intro .eyebrow {
  color: #fff;
  --eyebrow-reveal-color: #fff;
}

.contents-intro h2 {
  margin: 16px 0 28px;
}

.contents-intro h2 span {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 9px;
}

.contents-intro p:not(.eyebrow) {
  font-size: 19px;
  line-height: 2.9;
}

.contents-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 710px;
  margin-top: clamp(32px, calc(4 * var(--vh, 1svh)), 48px);
}

.contents-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 72px;
  padding: 10px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 20px rgb(83 63 37 / 10%);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.contents-links a:hover,
.contents-links a:focus-visible {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 9px 24px rgb(83 63 37 / 14%);
}

.contents-links a:focus-visible {
  outline-color: var(--ink);
}

.contents-links a span {
  display: grid;
  overflow: hidden;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--orange);
  transition: color 0.2s ease;
}

.contents-links a span svg {
  display: block;
  width: 24px;
  height: 24px;
}

.contents-links a:hover span,
.contents-links a:focus-visible span {
  color: #fff;
}

.contents-links a:hover span svg,
.contents-links a:focus-visible span svg {
  animation: contents-arrow-down 0.2s ease both;
}

@keyframes contents-arrow-down {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(130%); opacity: 0; }
  46% { transform: translateY(-130%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .contents-links a,
  .contents-links a span { transition: none;
  }

  .contents-links a:hover span svg,
  .contents-links a:focus-visible span svg { animation: none;
  }
}

.contents-photos {
  --contents-wheel-scale: 1.5;
  position: absolute;
  /* 回る円は文章とボタンの範囲の上下中央に置く。 */
  top: 50%;
  translate: 0 -50%;
  left: 76.8%;
  width: min(46.3%, calc(calc(100 * var(--vh, 1svh)) - 90px));
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transform: scale(1.5);
  transform-origin: center;
  will-change: transform;
  animation: contents-wheel-turn 64s linear infinite;
  -webkit-mask-image: radial-gradient(circle closest-side at center, transparent 0 27.2%, #000 27.4%);
  mask-image: radial-gradient(circle closest-side at center, transparent 0 27.2%, #000 27.4%);
}

.contents-photo-slice {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contents-photo-upright {
  position: absolute;
  top: var(--photo-y);
  left: var(--photo-x);
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
  animation: contents-photo-counter-turn 64s linear infinite;
}

.contents-photo-slice img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--photo-width, 160%);
  height: auto;
  max-width: none;
  /* Keep the face at the counter-rotation pivot, not the image's center. */
  transform: translate(calc(0% - var(--face-x)), calc(0% - var(--face-y)));
}

.contents-photo-slice:nth-child(1) {
  --photo-x: 33.3%;
  --photo-y: 21.075%;
  --photo-width: 116%;
  --face-x: 64.153%;
  --face-y: 35.377%;
  clip-path: polygon(50% 50%, -36.6% 0, 50% -50%);
}

.contents-photo-slice:nth-child(2) {
  --photo-x: 16.6%;
  --photo-y: 50%;
  --photo-width: 104%;
  --face-x: 50.422%;
  --face-y: 44.450%;
  clip-path: polygon(50% 50%, -36.6% 100%, -36.6% 0);
}

.contents-photo-slice:nth-child(3) {
  --photo-x: 33.3%;
  --photo-y: 78.925%;
  --photo-width: 110%;
  --face-x: 71.791%;
  --face-y: 40.023%;
  clip-path: polygon(50% 50%, 50% 150%, -36.6% 100%);
}

.contents-photo-slice:nth-child(4) {
  --photo-x: 66.7%;
  --photo-y: 21.075%;
  --photo-width: 190%;
  --face-x: 64.028%;
  --face-y: 40.675%;
  clip-path: polygon(50% 50%, 50% -50%, 136.6% 0);
}

.contents-photo-slice:nth-child(5) {
  --photo-x: 83.4%;
  --photo-y: 50%;
  --photo-width: 185%;
  --face-x: 46%;
  --face-y: 22%;
  clip-path: polygon(50% 50%, 136.6% 0, 136.6% 100%);
}

.contents-photo-slice:nth-child(6) {
  --photo-x: 66.7%;
  --photo-y: 78.925%;
  --photo-width: 115%;
  --face-x: 70.338%;
  --face-y: 38.448%;
  clip-path: polygon(50% 50%, 136.6% 100%, 50% 150%);
}

@keyframes contents-wheel-turn {
  from { transform: scale(var(--contents-wheel-scale)) rotate(0deg); }
  to { transform: scale(var(--contents-wheel-scale)) rotate(-360deg); }
}

@keyframes contents-photo-counter-turn {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (min-width: 768px) and (max-height: 850px) {
  .contents-intro p:not(.eyebrow) {
    line-height: 2.35;
  }

  .contents-links {
    margin-top: 28px;
  }
}

.company-section {
  min-height: 1120px;
  padding: 160px 0 110px;
  scroll-margin-top: 96px;
}

.company-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46.3%) minmax(0, 1fr);
}

.company-gap-circles,
.environment-gap-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.company-gap-circle,
.environment-gap-circle {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
}

.company-gap-circles {
  --gap-circle-size: clamp(260px, calc(23 * var(--vw, 1vw)), 350px);
}

.environment-gap-circles {
  --gap-circle-size: clamp(240px, calc(21 * var(--vw, 1vw)), 320px);
}

.company-gap-circle-peach {
  left: calc(var(--gap-circle-size) * -0.4);
  bottom: 12px;
  width: var(--gap-circle-size);
  background: #ffdfcf;
}

.company-gap-circle-yellow {
  left: 65%;
  bottom: 22px;
  width: clamp(65px, calc(6 * var(--vw, 1vw)), 92px);
  background: #ffeba5;
}

.company-gap-circle-ring {
  left: calc(var(--gap-circle-size) * 0.38);
  bottom: 42px;
  width: calc(var(--gap-circle-size) * 0.36);
  border: 6px solid #ffc602;
}

.company-copy {
  padding-top: 45px;
}

.company-copy h2 {
  margin: 18px 0 42px;
}

.company-copy > p:not(.eyebrow) {
  margin-bottom: 62px;
  font-size: 19px;
  line-height: 2.6;
}

.pill-links {
  display: grid;
  gap: 15px;
  max-width: 340px;
}

.pill-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 58px;
  padding: 8px 50px 8px 22px;
  border-radius: 99px;
  background: var(--orange);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.pill-links span {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-size: 25px;
  font-weight: 400;
}

.company-photos {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 18px;
  margin-top: 90px;
}

.company-photos img {
  width: min(520px, calc(40 * var(--vw, 1vw)));
  aspect-ratio: 627 / 414;
  height: auto;
  border-radius: 50px;
  object-fit: cover;
}

.company-photos img + img {
  aspect-ratio: 627 / 350;
  margin-left: min(110px, calc(8 * var(--vw, 1vw)));
}

.environment-section {
  min-height: 1110px;
  padding: 82px 0 48px;
  scroll-margin-top: 96px;
}

.environment-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 766fr) minmax(0, 599fr);
  gap: 35px;
  align-items: center;
}

.environment-gap-circle-yellow {
  right: calc(var(--gap-circle-size) * -0.36);
  bottom: 4px;
  width: var(--gap-circle-size);
  background: #ffeba5;
}

.environment-gap-circle-peach {
  left: 24%;
  bottom: 12px;
  width: clamp(80px, calc(7 * var(--vw, 1vw)), 108px);
  background: #ffdfcf;
}

.environment-gap-circle-ring {
  right: calc(var(--gap-circle-size) * 0.43);
  bottom: calc(var(--gap-circle-size) * 0.43);
  width: calc(var(--gap-circle-size) * 0.3);
  border: 5px solid #fd6b0c;
}

.environment-art {
  position: relative;
  height: 915px;
  pointer-events: none;
}

.environment-scene {
  position: absolute;
  left: 0;
  top: 0;
  width: 960px;
  height: 830px;
}

.environment-scene > img {
  position: absolute;
  width: auto;
  max-width: none;
}

.environment-stage {
  position: absolute;
  left: -213px;
  top: 36px;
  width: 912px;
  height: 752px;
  overflow: hidden;
}

.environment-stage img {
  position: absolute;
  left: -351px;
  top: -69px;
  width: 1546px;
  max-width: none;
}

.scene-people {
  position: absolute;
  left: 231px;
  top: 296px;
  width: 242px;
  height: 173px;
  overflow: hidden;
}

.scene-people img {
  position: absolute;
  left: -39px;
  top: -252px;
  width: 660px;
  max-width: none;
}

.scene-tree-one {
  left: 92px;
  top: 35px;
  height: 207px;
}

.scene-tree-two {
  left: -147px;
  top: 323px;
  height: 207px;
}

.scene-tree-three {
  left: 521px;
  top: 188px;
  height: 207px;
}

.scene-student {
  left: -63px;
  top: 146px;
  height: 152px;
}

.scene-business {
  left: 266px;
  top: 43px;
  height: 213px;
}

.scene-dog {
  left: 408px;
  top: 217px;
  height: 93px;
}

.scene-staff-one {
  left: 27px;
  top: 272px;
  height: 211px;
}

.scene-staff-two {
  left: 101px;
  top: 272px;
  height: 204px;
}

.scene-staff-three {
  left: 215px;
  top: 323px;
  height: 210px;
}

.scene-family-one {
  left: -99px;
  top: 493px;
  height: 178px;
}

.scene-family-two {
  left: 101px;
  top: 507px;
  height: 209px;
}

.scene-basketball {
  left: 270px;
  top: 533px;
  height: 189px;
}

.scene-couple {
  left: 441px;
  top: 437px;
  height: 205px;
}

@media (prefers-reduced-motion: no-preference) {
  .scene-business,
  .scene-staff-one,
  .scene-family-one,
  .scene-couple {
    animation: scene-greet var(--gesture-duration, 11s) ease-in-out var(--gesture-delay, 0s) infinite;
    transform-origin: 50% 95%;
  }

  .scene-business { --gesture-duration: 9.4s; --gesture-delay: -3s;
  }

  .scene-staff-one { --gesture-duration: 11.8s; --gesture-delay: -7.2s;
  }

  .scene-family-one { --gesture-duration: 12.3s; --gesture-delay: -1.8s;
  }

  .scene-couple { --gesture-duration: 10.8s; --gesture-delay: -5.7s;
  }

  .scene-student,
  .scene-family-two,
  .scene-basketball {
    animation: scene-turn var(--turn-duration, 15s) ease-in-out var(--turn-delay, 0s) infinite;
    transform-origin: center bottom;
  }

  .scene-student { --turn-duration: 16s; --turn-delay: -6s;
  }

  .scene-family-two { --turn-duration: 18s; --turn-delay: -11s;
  }

  .scene-basketball { --turn-duration: 20s; --turn-delay: -3s;
  }

  .scene-dog {
    animation: scene-dog-hop 8.6s ease-in-out -4s infinite;
    transform-origin: center bottom;
  }
}

@keyframes scene-greet {
  0%, 72%, 88%, 100% { transform: rotate(0); }
  76% { transform: rotate(-3deg); }
  80% { transform: rotate(2.5deg); }
  84% { transform: rotate(-1.5deg); }
}

@keyframes scene-turn {
  0%, 67% { transform: rotateY(0); }
  74%, 83% { transform: rotateY(180deg); }
  91%, 100% { transform: rotateY(360deg); }
}

@keyframes scene-dog-hop {
  0%, 68%, 78%, 100% { transform: translateY(0) rotate(0); }
  71% { transform: translateY(-13px) rotate(-4deg); }
  74% { transform: translateY(0) rotate(2deg); }
  76% { transform: translateY(-6px) rotate(-2deg); }
}

.environment-copy {
  align-self: start;
  padding-top: 15px;
}

.environment-copy > p:not(.eyebrow) {
  margin: 45px 0 55px;
  font-size: 19px;
  line-height: 2.5;
}

.environment-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

/* 写真の下に黒のグラデーション、白い太字のカード名、オレンジの「詳しく見る」。写真の高さは見本と同じ230px。 */
.image-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #252525;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(28, 22, 15, 0.18);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(28, 22, 15, 0.25);
  }
}

.image-card:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.image-card-photo {
  display: block;
  height: 230px;
  overflow: hidden;
}

.image-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .image-card:hover .image-card-photo img,
  .image-card:focus-visible .image-card-photo img {
    transform: scale(1.08);
  }
}

.image-card-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 30px 16px 16px;
  background: linear-gradient(transparent, rgba(16, 13, 9, 0.86));
}

.image-card-label {
  min-width: 0;
  font-weight: 800;
  font-size: 19px;
}

.image-card-action {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px 3px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.image-card-arrow {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  color: var(--orange);
  font-size: 0;
  font-weight: 400;
  line-height: 1;
}

.image-card-arrow::before,
.image-card-arrow::after {
  position: absolute;
  inset: 0;
  background: url('../images/figma/link-arrow.svg') center / contain no-repeat;
  content: '';
  transition: transform 360ms cubic-bezier(0.23, 1, 0.32, 1);
}

.image-card-arrow::after {
  transform: translateX(-110%);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .image-card:hover .image-card-arrow::before,
  .image-card:focus-visible .image-card-arrow::before {
    transform: translateX(110%);
  }

  .image-card:hover .image-card-arrow::after,
  .image-card:focus-visible .image-card-arrow::after {
    transform: translateX(0);
  }
}

.people-section {
  min-height: 1040px;
  padding: 87px 0 50px;
  scroll-margin-top: 96px;
}

.people-background-circle {
  position: absolute;
  top: 120px;
  right: -80px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: #ffdfcf;
}

.people-section > .home-container {
  position: relative;
  z-index: 1;
}

.people-copy {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: center;
}

.people-copy .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.people-copy h2 {
  grid-column: 1;
  grid-row: 2;
  margin: -6px 0 0;
}

.people-copy p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  font-size: 20px;
  line-height: 2.75;
}

.people-links::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: calc(var(--people-axis) - 20px);
  left: 50%;
  width: calc(100 * var(--vw, 1vw));
  height: 40px;
  background: #f4f4f4;
  pointer-events: none;
  transform: translateX(-50%);
}

@keyframes people-callout-wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(3deg); }
  42% { transform: rotate(-2.5deg); }
  64% { transform: rotate(1.5deg); }
  82% { transform: rotate(-0.7deg); }
}

.people-controls {
  --people-shortcut-size: 83px;
  --people-shortcut-top: 10.5px;
  --people-arrow-size: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 0;
}

.people-control-arrow {
  margin-top: calc(var(--people-shortcut-top) + (var(--people-shortcut-size) - var(--people-arrow-size)) / 2);
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: filter 0.2s ease-in-out;
}

.people-control-arrow img {
  width: 40px;
  height: 40px;
}

.people-control-prev img {
  transform: rotate(180deg);
}

.people-control-arrow:hover,
.people-control-arrow:focus-visible {
  filter: brightness(0.93);
}

.people-shortcuts {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.people-shortcuts button {
  display: grid;
  place-items: center;
  width: 83px;
  height: 83px;
  padding: 0;
  border-radius: 10px;
  background: #d1d1d1;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.people-shortcuts button.is-current {
  background: var(--yellow);
}

.people-shortcuts button:hover,
.people-shortcuts button:focus-visible {
  background: var(--orange);
}

.people-shortcuts img {
  width: auto;
  height: auto;
  max-width: 54px;
  max-height: 54px;
  object-fit: contain;
}

.recruit-section {
  min-height: 790px;
  padding: 140px 0 130px;
}

.recruit-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.recruit-accent-yellow {
  top: 120px;
  right: 210px;
  z-index: 1;
  width: 86px;
  height: 86px;
  background: #ffeba5;
}

.recruit-accent-peach {
  top: 164px;
  right: 120px;
  width: 145px;
  height: 145px;
  background: #ffdfcf;
}

.recruit-section > .home-container > p:not(.eyebrow) {
  font-size: 19px;
  line-height: 2.5;
}

.recruit-cards {
  display: flex;
  gap: 43px;
  max-width: 943px;
  margin: 55px auto 0;
}

.recruit-card {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 223px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  text-decoration: none;
}

.recruit-requirements {
  background: var(--orange);
  color: #fff;
}

.recruit-requirements strong {
  color: #fff;
}

.recruit-qa {
  background: var(--yellow);
  color: #fff;
}

.recruit-qa strong {
  color: #fff;
}

.recruit-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.recruit-card-icon {
  display: block;
  width: 80px;
  height: 80px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.recruit-card strong {
  margin-top: 9px;
  font-size: 30px;
  line-height: 1.3;
}

.recruit-card small {
  font-size: 15px;
}

.recruit-card b {
  position: absolute;
  right: 28px;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-size: 26px;
  font-weight: 400;
  transform: translateY(-50%);
}

/* 会社見学の帯は visit-band.css。ここは同じ矢印を使う他ボタンだけ残す。 */
:is(.pill-links a span, .recruit-card b) {
  overflow: hidden;
  background: #fff;
  font-size: 0;
}

:is(.pill-links a span, .recruit-card b)::before,
:is(.pill-links a span, .recruit-card b)::after {
  position: absolute;
  inset: 0;
  background: url('../images/figma/link-arrow.svg') center / contain no-repeat;
  content: '';
  transition: transform 360ms cubic-bezier(0.23, 1, 0.32, 1);
}

:is(.pill-links a span, .recruit-card b)::after {
  transform: translateX(-110%);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.pill-links a, .recruit-card):hover :is(span, b)::before {
    transform: translateX(110%);
  }

  :is(.pill-links a, .recruit-card):hover :is(span, b)::after {
    transform: translateX(0);
  }
}

.news-section {
  min-height: 760px;
  padding: 90px 0 160px;
  text-align: center;
}

.news-section h2 {
  margin: 0;
  color: var(--orange);
  font-size: 36px;
  line-height: 96px;
  letter-spacing: 0.05em;
}

.news-board {
  max-width: 1100px;
  margin: -11px auto 0;
  text-align: left;
}

.news-filters {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border-radius: 999px;
  background: #f3f1ee;
}

.news-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  height: 40px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 100px;
  background: transparent;
  color: #0b0b0b;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) {
  .news-filter[aria-pressed='false']:hover {
    background: #fff;
    color: var(--orange);
    box-shadow: 0 2px 6px rgb(65 45 26 / 10%);
  }

  .news-item:hover {
    background: #efefef;
  }
}

.news-filter:focus-visible,
.news-item:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.news-item:focus-visible {
  background: #efefef;
}

.news-filter[aria-pressed='true'] {
  background: #0b0b0b;
  border-color: #0b0b0b;
  color: #fff;
  box-shadow: 0 2px 6px rgb(65 45 26 / 14%);
}

.news-filter-notice[aria-pressed='true'] {
  background: var(--orange);
  border-color: var(--orange);
}

.news-filter-event[aria-pressed='true'] {
  background: #ffc605;
  border-color: #ffc605;
  color: #fff;
}

.news-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: max-content 97px minmax(0, 1fr) 40px;
  align-items: center;
  column-gap: 12px;
  min-height: 66px;
  padding: 0 31px 0 58px;
  border-bottom: 1px solid #d0d0d0;
  text-decoration: none;
  transition: background-color 220ms ease;
}

/* 絞り込みで先頭の行が隠れても、表示中の最初の行に上の線を出す */
.news-list li .news-item {
  border-top: 1px solid #d0d0d0;
}

.news-list li:not([hidden]) ~ li .news-item {
  border-top: 0;
}

.news-list li[hidden] { display: none;
}

.news-date {
  color: #0b0b0b;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 97px;
  min-height: 21px;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.news-category-event {
  background: #ffc605;
  color: #fff;
}

.news-item-title {
  margin-left: 48px;
  color: #0b0b0b;
  font-size: 16px;
  font-weight: 600;
}

.news-arrow {
  width: 40px;
  height: 40px;
  transition: transform 250ms ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .news-item:hover .news-arrow,
  .news-item:focus-visible .news-arrow {
    transform: translateX(4px);
  }
}

.news-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 300px;
  min-height: 70px;
  margin: 42px auto 0;
  padding: 8px 12px 8px 30px;
  border: 0;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease;
}

.news-more:hover {
  background: #df5300;
}

.news-more:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.news-more-arrow {
  display: grid;
  overflow: hidden;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.news-more-arrow img {
  width: 40px;
  height: 40px;
}

@media (prefers-reduced-motion: no-preference) {
  .news-more:hover .news-more-arrow img,
  .news-more:focus-visible .news-more-arrow img {
    animation: news-arrow-right 0.2s ease both;
  }
}

@keyframes news-arrow-right {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(130%); opacity: 0; }
  46% { transform: translateX(-130%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.news-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.news-accent-soft {
  top: 350px;
  left: calc(50% - 770px);
  width: 180px;
  height: 180px;
  background: #ffeba5;
}

.news-accent-ring {
  top: 440px;
  left: calc(50% - 705px);
  width: 80px;
  height: 80px;
  border: 10px solid var(--orange);
}

.news-accent-ring-right {
  top: 440px;
  right: calc(50% - 705px);
  width: 90px;
  height: 90px;
  border: 10px solid var(--orange);
}

.news-accent-ring-yellow {
  top: 30px;
  right: 3%;
  width: 80px;
  height: 80px;
  border: 9px solid var(--yellow);
}

@media (max-width: 1400px) {
  .hero-orb-top {
    left: min(1%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 290px));
    width: 290px;
    height: 290px;
  }

  .hero-accent-ring-left {
    top: 305px;
    left: calc(min(1%, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 290px)) + 244px);
    width: 100px;
    height: 100px;
  }

  .hero-orb-right {
    right: min(-90px, calc(50% - var(--hero-copy-half-width) - var(--hero-photo-gap) - 370px));
    width: 370px;
    height: 370px;
  }

  .hero-bottom-art-motion,
  .fv-layout-v2 .hero-bottom-art-motion {
    --hero-bottom-photo-left: 0px;
    --hero-bottom-photo-size: 270px;
  }

  .philosophy-copy h2 {
    font-size: 36px;
  }

  .environment-grid {
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
    gap: 35px;
  }

  .environment-stage {
    left: -250px;
  }
}

@media (max-width: 767.98px) {
  html .hero::before {
    background: radial-gradient(
      ellipse calc(110 * var(--vw, 1vw)) 130px at 50% calc(100% + 50px),
      #fff 99%,
      transparent 100%
    );
  }

  .home-container {
    width: min(calc(100% - 40px), 620px);
  }

  .home-section h2 {
    font-size: clamp(26px, calc(5.7 * var(--vw, 1vw)), 38px);
  }

  .hero {
    height: auto;
  }

  .hero-center {
    padding-top: 0;
  }

  .hero-wordmark {
    width: min(100%, 470px);
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(23px, calc(6 * var(--vw, 1vw)), 34px);
  }

  .hero-jobs {
    width: min(100%, 350px);
    gap: 6px;
    font-size: 12px;
  }

  .hero-team-stage {
    width: min(100%, 480px);
    margin-top: 20px;
  }

  .hero-orb,
  .hero-dots,
  .hero-ring,
  .hero-accent {
    display: none;
  }

  .hero-motifs {
    opacity: 0.65;
  }

  .hero-motifs span {
    width: min(var(--motif-size), 42px);
  }

  .hero-motifs span:nth-child(2n) {
    display: none;
  }

  .philosophy {
    min-height: 0;
  }

  .philosophy-grid {
    min-height: 0;
  }

  .philosophy-copy h2 {
    font-size: clamp(25px, calc(5.5 * var(--vw, 1vw)), 35px);
  }

  .philosophy-accent {
    display: none;
  }

  .philosophy-photo-three {
    border-width: 5px;
  }

  .philosophy-dots {
    right: auto;
  }

  .contents-intro {
    max-height: none;
  }

  .contents-layout {
    display: block;
  }

  .contents-intro h2 {
    margin: 25px 0;
  }

  .contents-intro p:not(.eyebrow) {
    font-size: 15px;
    line-height: 2.2;
  }

  .contents-intro br {
    display: none;
  }

  .contents-links a {
    padding-inline: 24px 18px;
  }

  .contents-photos {
    aspect-ratio: 1;
  }

  .company-grid {
    display: flex;
    flex-direction: column;
  }

  .company-gap-circles {
    --gap-circle-size: 78px;
  }

  .company-gap-circle-peach {
    bottom: 3px;
  }

  .company-gap-circle-yellow {
    left: 70%;
    bottom: 8px;
    width: 26px;
  }

  .company-gap-circle-ring {
    bottom: 8px;
    border-width: 3px;
  }

  .company-copy {
    padding-top: 0;
  }

  .company-photos {
    margin-top: 0;
  }

  .company-copy > p:not(.eyebrow) {
    margin-bottom: 34px;
    font-size: 15px;
    line-height: 2.1;
  }

  .pill-links {
    max-width: none;
  }

  .pill-links a {
    font-size: 16px;
  }

  .company-photos {
    gap: 15px;
  }

  .company-photos img,
  .company-photos img + img {
    width: 100%;
    height: auto;
    max-height: 300px;
    margin: 0;
    border-radius: 25px;
    aspect-ratio: 1.6;
    object-fit: cover;
  }

  .environment-section {
    min-height: 0;
  }

  .environment-gap-circles {
    --gap-circle-size: 72px;
  }

  .environment-gap-circle-yellow {
    bottom: 3px;
  }

  .environment-gap-circle-peach {
    bottom: 8px;
    width: 28px;
  }

  .environment-gap-circle-ring {
    border-width: 3px;
  }

  .environment-grid {
    display: flex;
    flex-direction: column;
  }

  .environment-art {
    width: 100%;
  }

  .environment-scene {
    transform-origin: top left;
  }

  .environment-copy {
    width: 100%;
  }

  .environment-copy > p:not(.eyebrow) {
    margin: 25px 0;
    font-size: 15px;
    line-height: 2.2;
  }

  .environment-copy br {
    display: none;
  }

  .image-card-caption {
    gap: 7px;
    padding: 24px 10px 10px;
  }

  .image-card-label {
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .image-card-action {
    min-height: 34px;
    padding-left: 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .image-card-arrow {
    width: 28px;
    height: 28px;
  }

  .people-section {
    min-height: 0;
  }

  .people-copy {
    display: block;
  }

  .people-copy h2 {
    margin: 0 0 20px;
  }

  .people-background-circle {
    display: none;
  }

  .people-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .people-copy br {
    display: none;
  }

  .people-controls {
    margin-top: 0;
  }

  .people-control-arrow,
  .people-control-arrow img {
    width: 32px;
    height: 32px;
  }

  .recruit-section {
    min-height: 0;
  }

  .recruit-accent {
    display: none;
  }

  .recruit-card b {
    font-size: 20px;
  }

  .news-section {
    min-height: 0;
  }

  .news-filters {
    overflow-x: auto;
  }

  .news-filter {
    min-width: auto;
    flex: 0 0 auto;
  }

  .news-item {
    grid-template-columns: max-content max-content minmax(0, 1fr) 40px;
    column-gap: 12px;
    row-gap: 2px;
    padding: 12px 0;
  }

  .news-date { font-size: 13px;
  }

  .news-category { width: auto; padding-inline: 10px;
  }

  .news-item-title {
    grid-column: 1 / 4;
    grid-row: 2;
    margin-left: 0;
    font-size: 14px;
  }

  .news-arrow {
    grid-column: 4;
    grid-row: 1 / 3;
  }

  .news-more {
    min-height: 58px;
    font-size: 16px;
  }

  .news-accent {
    display: none;
  }
}

@media (max-width: 500px) {
  .hero-intro-logo {
    width: min(calc(60.8 * var(--vw, 1vw)), 312px);
  }

  .hero-intro-copy {
    flex-direction: column;
    width: min(calc(100% - 24px), 330px);
  }

  .hero-intro-row-1 {
    width: 100%;
  }

  .hero-intro-row-2 {
    width: 90.91%;
  }

  .hero {
    padding-top: 85px;
    min-height: 0;
  }

  .hero-wordmark {
    width: 100%;
  }

  .hero h1 {
    font-size: 23px;
  }

  .philosophy-copy h2 br {
    display: none;
  }

  .philosophy-copy > p:not(.eyebrow) br {
    display: none;
  }

  .contents-photos {
    width: min(310px, calc(33 * var(--vh, 1svh)));
    height: auto;
  }

  .environment-art {
    height: 300px;
  }
}

@media (max-width: 360px) {
  .people-controls {
    gap: 8px;
  }

  .people-control-arrow,
  .people-control-arrow img {
    width: 30px;
    height: 30px;
  }

  .people-shortcuts {
    gap: 6px;
  }

  .people-shortcuts button {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contents-photos,
  .contents-photo-upright {
    animation: none;
  }

  [data-parallax-circle] {
    translate: none;
  }

  .has-hero-intro .hero-intro {
    display: none;
  }

  .has-hero-intro .hero-center > :not(.hero-team-stage),
  .has-hero-intro .hero-orb,
  .has-hero-intro .hero-team-stage {
    animation: none;
  }

  .people-control-arrow,
  .people-shortcuts button {
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .fv-layout-v2 .hero {
    height: auto;
  }

}

/* 文字・写真・カードの表示アニメーション（home.js「スクロールに合わせた表示」）。動き自体はスクリプトで再生し、ここでは表示前に隠すだけ。 */

html.has-scroll-reveal [data-reveal-item]:not(.is-revealed) {
  opacity: 0;
}

/* 採用情報のカード：ホバーで色を反転する（2026-10-15 ユーザー指示）。
   地は白、文字・アイコン・縁はカードの色、矢印の丸はカードの色に白い矢印。 */

.recruit-card {
  --card-color: var(--orange);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.recruit-qa {
  --card-color: var(--yellow);
}

.recruit-card :is(strong, small, b) {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.recruit-card b::before,
.recruit-card b::after {
  transition: transform 360ms cubic-bezier(0.23, 1, 0.32, 1), filter 0.3s ease;
}

@media (hover: hover) {
  .recruit-card:is(:hover, :focus-visible) {
    background: #fff;
    color: var(--card-color);
    box-shadow: inset 0 0 0 3px var(--card-color);
  }

  .recruit-card:is(:hover, :focus-visible) strong {
    color: var(--card-color);
  }

  .recruit-card:is(:hover, :focus-visible) b {
    background: var(--card-color);
  }

  .recruit-card:is(:hover, :focus-visible) b::before,
  .recruit-card:is(:hover, :focus-visible) b::after {
    filter: brightness(0) invert(1);
  }
}

/* 「働く環境を知る」のイラスト全体を上下にゆっくり浮かせる（2026-10-15 ユーザー指示。
   参考：https://www.aichi-jagroup-recruit.jp/ のFVの島）。拡大縮小の transform とは別の translate で動かす。 */

@media (prefers-reduced-motion: no-preference) {
  .environment-scene {
    animation: environment-float 6s ease-in-out infinite;
  }
}

@keyframes environment-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@media (max-width: 767.98px) {
  @keyframes environment-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
  }
}

/* 2026-10-15 確定FigmaのPC・SP差分。 */

.home-heading-sp,
.home-br-sp { display: none;
}

.people-shortcuts button { position: relative; margin-bottom: 42px; border: 0;
}

.people-shortcut-name { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 130px; color: #787570; font-size: 14px; line-height: 20px; font-weight: 700;
}

.people-shortcuts button.is-current .people-shortcut-name { color: var(--orange);
}

/* 自動送りの進行：選択中の四角の周りをオレンジの線が一周する（長さはJSの --people-progress-ms） */
.people-shortcut-progress { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); overflow: visible; pointer-events: none;
}

.people-shortcut-progress rect { x: 1.5px; y: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); rx: 13px; fill: none; stroke: var(--orange); stroke-width: 3px; stroke-linecap: round; stroke-dasharray: 0 100; stroke-dashoffset: calc(var(--people-progress-start, 0) * -1); opacity: 0;
}

.people-shortcuts button.is-progress .people-shortcut-progress rect { opacity: 1; animation: people-shortcut-progress var(--people-progress-ms, 5000ms) linear forwards;
}

/* 起点（--people-progress-start）から時計回りに伸ばす。点線の繰り返しで、描き終わり側は左上の角をまたいでつながる */
@keyframes people-shortcut-progress {
  to { stroke-dasharray: 100 0; }
}

@media (max-width: 767.98px) {
  .home-section :is(.eyebrow,.eyebrow-line) { font-size: 15px; line-height: 18px; letter-spacing: .05em;
  }

  .hero { padding: 28px 20px 32px; min-height: 0;
  }

  .fv-layout-v2 .hero-center { padding-top: 0;
  }

  .fv-layout-v2 .hero-wordmark { width: min(100%,315px);
  }

  .fv-layout-v2 .hero h1 { width: 100%; margin-top: 22px;
  }

  .fv-layout-v2 .hero-opening-subtitle { margin-top: 12px; 
  }

  .fv-layout-v2 .hero-jobs { margin-top: 8px;
  }

  .fv-layout-v2 .hero-opening-lead { width: 100%; margin-top: 16px; font-size: 13px; line-height: 25px;
  }

  .fv-layout-v2 .hero-team-stage { width: min(100%,480px); margin-top: 14px;
  }

  .philosophy { padding: 56px 0 72px;
  }

  .philosophy-grid { display: flex; flex-direction: column; gap: 0;
  }

  .philosophy-copy h2 { margin: 22px 0 24px;
  }

  .philosophy-copy h2 .heading-art,
  .contents-copy h2 .heading-art { display: none;
  }

  .home-heading-sp { display: block; font-size: 25px; font-weight: 900; line-height: 42px; letter-spacing: 0;
  }

  .philosophy-copy > p:not(.eyebrow) { font-size: 14.5px; line-height: 29px; margin-bottom: 0;
  }

  .philosophy-copy .philosophy-last { margin-top: 32px !important; font-size: 26px !important; line-height: 40px !important; text-align: left; text-wrap: wrap;
  }

  /* 締めの一文は本文より大きくしてメリハリを付ける（2026-10-15 ユーザー指示） */
  @media (max-width: 359.98px) {
    .philosophy-copy .philosophy-last { font-size: 23px !important; line-height: 36px !important;
    }
  }

  .home-br-sp { display: inline;
  }

  .philosophy-keep { white-space: normal;
  }

  .philosophy-visual { order: 0; flex: none; height: 300px; min-height: 300px; width: 100%; margin: 43px 0 0;
  }

  /* 写真群（左端 −38px〜右端 346px）の中心を画面の左右中央にそろえる。 */
  .philosophy-visual { translate: calc(50% - var(--philosophy-group-center, 154px)) 0;
  }

  .philosophy-background-circle { left: 130px; top: 30px; width: 150px; height: 150px;
  }

  .philosophy-photo-one { width: 215px; height: 215px; left: 130px; right: auto; top: 0; 
  }

  .philosophy-photo-two { display: block;   left: 2px; top: 185px; 
  }

  .philosophy-dots { width: 230px; height: auto; left: -90px; top: 5px;
  }

  .contents-intro { position: relative; overflow: hidden; isolation: isolate; width: 100%; min-height: 721px; height: auto; padding: 56px 36px 157px;
  }

  .contents-intro::before { inset: 0 12px auto; height: calc(100% - 101px); border-radius: 24px;
  }

  .contents-layout { position: static; width: 100%;
  }

  .contents-copy { position: relative; z-index: 2; width: 100%;
  }

  .contents-copy h2 { margin: 8px 0 20px;
  }

  .contents-copy .home-heading-sp { font-size: 23px; line-height: 38px;
  }

  .contents-copy .home-heading-sp > span { color: #fff;
  }

  .contents-copy > p:not(.eyebrow) { font-size: 14.5px; line-height: 29px;
  }

  .contents-links { position: relative; z-index: 2; grid-template-columns: 190px; gap: 12px; width: 190px; max-width: 100%; margin-top: 46px;
  }

  .contents-links a { width: 190px; min-height: 54px; padding: 12px 16px; border-radius: 14px; font-size: 15px;
  }

  .contents-links a > span { width: 18px; height: 24px;
  }

  .contents-photos { --contents-wheel-scale: 1; position: absolute; z-index: 1; translate: none; top: 340px; left: calc(100% - 180px); width: 360px; height: 360px; max-width: none; margin: 0; transform: none;
  }

  .company-section { padding: 0 0 88px; min-height: 0;
  }

  .company-grid { gap: 40px;
  }

  .company-copy h2,
  .environment-copy h2,
  .people-copy h2 { margin: 4px 0 20px;
  }

  .company-copy > p:not(.eyebrow),
  .environment-copy > p:not(.eyebrow),
  .people-copy > p:not(.eyebrow) { font-size: 14.5px; line-height: 29px; margin: 0;
  }

  .company-copy br { display: none;
  }

  .pill-links { margin-top: 28px; gap: 12px;
  }

  .pill-links a { min-height: 56px;
  }

  .company-photos { position: relative; display: block; width: 100%; min-height: 314px; height: 314px;
  }

  .company-photos img { position: absolute; margin: 0;
  }

  .company-photos img:first-child { top: 0; left: 0; width: 300px; max-width: 90%; aspect-ratio: 627 / 414;
  }

  .company-photos img:last-child { width: 280px; max-width: 84%; top: 158px; right: 0; aspect-ratio: 627 / 350;
  }

  .company-gap-circles,
  .environment-gap-circles { display: none;
  }

  .environment-section { padding: 0 0 88px;
  }

  .environment-copy { order: 0;
  }

  .environment-cards { gap: 12px; margin-top: 20px;
  }

  .environment-grid { gap: 0;
  }

  .environment-art { order: 1;  height: auto; aspect-ratio: 912 / 752; overflow: visible;
  }

  .environment-scene { left: calc(213px * var(--environment-scene-scale, .3673)); top: calc(-35px * var(--environment-scene-scale, .3673)); transform: scale(var(--environment-scene-scale, .3673));
  }

  .people-section { padding: 0 0 88px;
  }

  .people-copy h2 { margin-top: 4px;
  }

  .people-controls { --people-shortcut-size: 50px; --people-shortcut-top: 5px; --people-arrow-size: 22px; gap: 8px; margin: 23px auto 0; width: 336px; max-width: 100%; height: 100px; align-items: flex-start;
  }

  .people-control-arrow { display: grid; flex: none; width: 22px; height: 22px;
  }

  .people-control-arrow img { width: 22px; height: 22px;
  }

  .people-shortcuts { flex: 1; min-width: 0; justify-content: space-between; gap: 4px; align-items: start;
  }

  .people-shortcuts button { flex: none; width: 50px; height: 50px; border-radius: 8px; margin: 5px 8px 45px;
  }

  .people-shortcuts img { max-width: 30px; max-height: 30px;
  }

  .people-shortcut-progress { inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px);
  }

  .people-shortcut-progress rect { x: 1.25px; y: 1.25px; width: calc(100% - 2.5px); height: calc(100% - 2.5px); rx: 10px; stroke-width: 2.5px;
  }

  .people-shortcut-name { top: calc(100% + 8px); width: 66px; max-width: 66px; font-size: 12px; line-height: 16px; text-wrap: balance;
  }

  .people-shortcut-name > span { display: block;
  }

  .recruit-section { padding: 0 0 88px;
  }

  .recruit-section > .home-container > p:not(.eyebrow) { font-size: 14.5px; line-height: 29px;
  }

  .recruit-cards { margin-top: 28px; gap: 12px;
  }

}

@media (max-width: 359px) {
  .contents-intro { padding-inline: 28px;
  }

  .contents-copy .home-heading-sp { font-size: 21px;
  }

  .philosophy-visual { --philosophy-group-center: 128.5px;
  }

  .philosophy-photo-one { left: 105px; width: 190px; height: 190px;
  }

  .people-controls { --people-shortcut-size: 44px; gap: 4px;
  }

  .people-shortcuts { gap: 0;
  }

  .people-shortcuts button { width: 44px; height: 44px; margin-inline: 6px;
  }

  .people-shortcut-name { width: 56px; max-width: 56px;
  }
}

@media (max-width: 767.98px) {
  .contents-copy h2 .home-heading-sp { color: #000; text-decoration: none; border: 0; background: none; padding: 0;
  }

  .contents-copy h2 .home-heading-sp > span { color: #fff; text-decoration: none; border: 0; background: none; padding: 0;
  }

  .contents-copy h2 .home-heading-sp br { display: inline;
  }
}

@media (max-width: 767.98px) {
  .philosophy-copy h2 .home-heading-sp { color: #000;
  }

  .philosophy-copy h2 .home-heading-sp em { color: var(--orange); font-style: normal;
  }

  .philosophy-copy h2 .home-heading-sp br,
  .philosophy-copy > .philosophy-last br.home-br-sp { display: inline;
  }

  .philosophy-copy > p:not(.eyebrow) { font-weight: 700; 
  }

  .philosophy-copy .philosophy-last { font-weight: 900; color: var(--orange);
  }

  .philosophy-photo-one { border: 4px solid var(--yellow);
  }

  .philosophy-photo-two { width: 115px; height: 115px; border: 4px solid var(--yellow);
  }

  .philosophy-photo-three { display: block; top: 55px; left: -38px; width: 126px; height: 126px; border: 4px solid var(--yellow);
  }

  #company-title > .heading-art { width: 200px;
  }

  #environment-title > .heading-art { width: 268px;
  }

  #people-title > .heading-art { width: 167px;
  }

  #recruit-title > .heading-art { width: 133px;
  }
}

@media (max-width: 767.98px) {
  .environment-copy { padding-top: 0;
  }

  .image-card { height: auto; aspect-ratio: auto; border-radius: 20px;
  }

  .image-card-photo { height: 190px;
  }

  .environment-art { margin-top: 24px;
  }

  .philosophy-keep { display: inline;
  }
}

@media (min-width: 768px) {
  .people-controls { gap: 16px;
  }

  .people-shortcuts { gap: 8px;
  }

  .people-shortcuts button { width: 83px; height: 83px; margin: 10.5px 14.5px 42.5px;
  }

  .people-shortcut-name { width: 112px; max-width: 112px; font-size: 14px; line-height: 21px;
  }

  .people-shortcuts img { max-width: 50px; max-height: 50px;
  }
}

/* SP 375: Figma 1558:24816 / 1560:25370 / 1560:25443. */

@media (max-width: 767.98px) {
  .hero-motifs > span { translate: 0 clamp(-12px, var(--parallax-offset, 0px), 12px);
  }

  .hero-motifs > span:nth-child(15) { top: auto; bottom: 20px;
  }

  .recruit-card { height: 190px; min-height: 190px; border-radius: 20px;
  }

  .recruit-card-icon { position: absolute; top: 20px; width: 48px; height: 56px;
  }

  .recruit-card img { position: absolute; top: 26.72px; width: 66px; height: 49.28px;
  }

  .recruit-card strong { position: absolute; top: 88px; left: 0; width: 100%; margin: 0; text-align: center; font-size: 19px; line-height: 23px;
  }

  .recruit-card small { position: absolute; top: 115px; left: 0; width: 100%; text-align: center; font-size: 11px; line-height: 13px;
  }

  .recruit-qa,
  .recruit-qa strong { color: #000;
  }

  .recruit-card b { top: 140px; left: calc(50% - 15px); right: auto; width: 30px; height: 30px; transform: none;
  }

  .recruit-qa b { color: var(--yellow);
  }

  :is(.company-copy,.environment-copy,.people-copy,.recruit-section) h2 { height: 46px; line-height: 46px;
  }

  :is(.company-copy,.environment-copy,.people-copy,.recruit-section) h2 > .heading-art { display: block; height: 46px; object-fit: contain; object-position: left center;
  }
}

@media (min-width: 768px) {
  .company-gap-circle-peach { bottom: 32px;
  }

  .environment-gap-circle-yellow { bottom: 24px;
  }

  .environment-gap-circle-peach { bottom: 32px;
  }
}

@media (max-width: 767.98px) {
  .fv-layout-v2 .hero { min-height: 0; padding: 95px 20px 32px;
  }

  .fv-layout-v2 .hero-opening-subtitle { font-size: 13px; line-height: 17px; letter-spacing: 0;
  }

  .fv-layout-v2 .hero-jobs { line-height: 22px;
  }

  .fv-layout-v2 .hero-opening-lead { font-weight: 700;
  }

  .fv-layout-v2 .hero-opening-lead br { display: inline;
  }

  .news-section { padding: 24px 0 88px;
  }

  .news-section h2 { font-size: 30px; line-height: 36px;
  }

  .news-board { margin-top: 20px;
  }

  .news-filters { width: 295px; height: 42px; padding: 4px; justify-content: space-between;
  }

  .news-filter { height: 34px; padding-inline: 12px;
  }

  .news-list { margin-top: 20px;
  }

  .news-item { min-height: 91px;
  }

  .news-more { width: 280px; margin-top: 32px;
  }

  .philosophy-copy > p:not(.eyebrow) { letter-spacing: .03em;
  }

  .philosophy-copy > p:not(.eyebrow) + p:not(.eyebrow) { margin-top: 29px;
  }

  .philosophy-visual .philosophy-accent { display: block;
  }

  .philosophy-accent-ring { top: 190px; left: 318px; width: 28px; height: 28px; border: 3px solid var(--yellow);
  }

  .philosophy-accent-photo-ring { top: 264.6px; left: 94.4px; width: 27.6px; height: 27.6px; border: 3px solid var(--yellow);
  }

  .philosophy-accent-soft { top: 250px; left: 130px; width: 16px; height: 16px; background: var(--orange);
  }

  :is(.company-copy,.environment-copy,.people-copy) > p:not(.eyebrow),
  .recruit-section > .home-container > p:not(.eyebrow) { letter-spacing: .03em;
  }

  .company-section::before,
  .company-section::after,
  .company-photos::before,
  .company-photos::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  }

  .company-section::before { top: 0; right: -15px; width: 90px; height: 90px; background: #ffeba5;
  }

  .company-section::after { top: 380px; left: -30px; width: 70px; height: 70px; background: #ffdfcf;
  }

  /* 背景の丸をボタン・写真より後ろに置く */
  .company-grid { z-index: 1;
  }

  .company-photos::before { top: 284px; left: 6px; width: 40px; height: 40px; border: 3px solid var(--yellow);
  }

  .company-photos::after { top: -14px; left: 300px; width: 22px; height: 22px; background: var(--orange);
  }

  .environment-art::before,
  .environment-art::after { content: ''; position: absolute; border-radius: 50%;
  }

  .environment-art::before { left: 68.65%; top: 20px; width: 110px; height: 110px; background: #ffeba5;
  }

  .environment-art::after { left: -10px; top: 180px; width: 50px; height: 50px; background: #ffdfcf;
  }

  .environment-scene { z-index: 1;
  }

  .recruit-section h2 { margin: 4px 0 20px;
  }

  .recruit-accent-yellow { display: block; top: 0; right: -15px; width: 80px; height: 80px;
  }
}

/* PEOPLE スライダー（Figma 1632:8050「状態・動き設計」、中央の絵と見出しは 1730:11755「ヒノデを知る_差し替え」）。
   各要素の位置・大きさ・不透明度は home.js がステージ座標で決める。
   ここでは基準寸法（円300・アイコン200・中央の絵600×600）と見た目だけを持つ。 */
@property --people-hover {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}

.people-links {
  position: relative;
  isolation: isolate;
  height: 640px;
  margin-top: 0;
  --people-axis: 340px;
  --people-side-size: 270px;
  --people-center-size: 500px;
}

.people-item {
  position: static;
  display: block;
  color: var(--orange);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.people-item:focus-visible {
  outline: none;
}

.people-item.is-hidden {
  pointer-events: none;
}

.people-item > * {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  will-change: transform, opacity;
}

/* 円・見出し・アイコンは表示の最大寸法より大きく組み、JSで縮小して置く。
   will-change: transform の要素は最初の寸法で描いた絵を拡大するため、小さく組んで拡大すると文字がぼやける。 */
.people-disc {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--yellow);
  transition: filter 200ms ease;
}

.people-item:focus-visible .people-disc {
  outline: 8px solid var(--orange);
  outline-offset: 12px;
}

.people-badge {
  width: 600px;
  height: 600px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.people-badge > span {
  position: absolute;
  left: 0;
  width: 100%;
}

.people-badge-en {
  top: 100px;
  color: #fff;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* 和文の上下に白い線（Figmaの円300で幅226・261、太さ3）。SPは和文と一緒に出す。 */
.people-badge-ja {
  top: 163px;
  font-size: 64px;
  line-height: 110px;
  letter-spacing: .05em;
}

.people-badge-ja::before,
.people-badge-ja::after {
  content: '';
  position: absolute;
  left: 50%;
  height: 6px;
  background: #fff;
  transform: translateX(-50%);
}

.people-badge-ja::before {
  top: -3px;
  width: 452px;
}

.people-badge-ja::after {
  bottom: -3px;
  width: 522px;
}

.people-item--photo .people-badge-ja {
  letter-spacing: 0;
}

.people-icon {
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.people-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

/* 中央の絵。Figmaの600×600の書き出しで、円（直径500）の中心は (300, 320)。JSはこの点を円の中心に合わせる。 */
.people-art {
  width: 600px;
  height: 600px;
  transform-origin: 300px 320px;
  pointer-events: none;
  transition: --people-hover 420ms cubic-bezier(.2, .7, .2, 1);
}

.people-art-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* 吹き出しの札。--people-label は出るタイミング、--people-label-scale はSPで文字が小さくなりすぎないための拡大。 */
.people-art-label {
  position: absolute;
  opacity: var(--people-label, 1);
  transform: scale(var(--people-label-scale, 1));
}

.people-art-label img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.people-item.is-current:is(:hover, :focus-visible) .people-art {
  --people-hover: 1.04;
}

.people-item.is-wiggle .people-art-label img {
  animation: people-callout-wiggle 460ms ease-out both;
}

.people-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 120px;
  height: 40px;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 2px 8px rgba(102, 41, 0, .14);
  color: #fff;
  font: 700 14px/20px var(--site-font-family);
  letter-spacing: 0;
  white-space: nowrap;
}

@media (hover: hover) {
  .people-item:is(.is-left, .is-right):hover .people-disc {
    filter: brightness(1.04);
  }
}

@media (min-width: 1600px) {
  .people-links {
    width: 1400px;
    margin-left: 50%;
    transform: translateX(-50%);
    --people-side-size: 300px;
  }
}

@media (max-width: 1400px) and (min-width: 768px) {
  .people-links {
    --people-side-size: 240px;
  }
}

@media (max-width: 767.98px) {
  /* Figmaでは選択ボタン列の上端が y324（SP 320は y300）。ボタン列の上余白23pxを引く。 */
  .people-links {
    height: 301px;
    margin-top: 0;
    --people-axis: 160px;
  }

  /* 円の中心を通るグレーの帯。PC（40px）を円の大きさに合わせて細くする。 */
  .people-links::before {
    top: calc(var(--people-axis) - 12px);
    height: 24px;
  }

  .people-open {
    width: 104px;
    height: 32px;
    padding: 8px 12px;
    gap: 6px;
    font-size: 12px;
    line-height: 16px;
  }

  .people-open > span {
    width: 14px;
    font-size: 16px;
    line-height: 16px;
  }
}

@media (max-width: 359px) {
  .people-links {
    height: 277px;
    --people-axis: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .people-item.is-wiggle .people-art-label img {
    animation: none;
  }

  .people-art,
  .people-disc {
    transition: none;
  }
}

/* FVリードのSP改行。「には、」の直後だけ。PC（768px以上。タブレットの縮小表示を含む）では出さない。 */
.fv-layout-v2 .hero-opening-lead br.hero-lead-br-sp {
  display: none;
}

@media (max-width: 767.98px) {
  .fv-layout-v2 .hero-opening-lead br.hero-lead-br-sp {
    display: inline;
  }

  .fv-layout-v2 .hero-opening-lead .hero-lead-line {
    white-space: nowrap;
  }
}

@media (max-width: 359.98px) {
  .fv-layout-v2 .hero-opening-lead {
    font-size: 12px;
  }
}

/* 2026-10-27 SP：採用情報のリードは「など、」で改行せず幅いっぱいまで流す。 */
@media (max-width: 767.98px) {
  .recruit-section > .home-container > p:not(.eyebrow) br {
    display: none;
  }
}
