@charset "UTF-8";
/* ===== HOME PAGE — top_PC (desktop 1440px) ===== */
.page--home {
  overflow-x: hidden;
}

/* Fade-in-up：FV以外、要素がウィンドウに入った時にフェードインして上に移動、ashiraiより0.2秒遅れる */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.2s;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ashirai-layer：全体的にfade-in（upなし）、遅れてゆっくり */
.fade-in {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

/* 柔らかな継続動作：ashirai 装飾用 */
@keyframes moving1 {
  0%, 100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}
@keyframes moving2 {
  0%, 100% {
    transform: translateX(-6px);
  }
  50% {
    transform: translateX(6px);
  }
}
@keyframes moving3 {
  0%, 100% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.06);
  }
  65% {
    transform: scale(0.97);
  }
}
@keyframes moving4 {
  0% {
    transform: translate(4px, 0);
  }
  12.5% {
    transform: translate(2.8px, 2.8px);
  }
  25% {
    transform: translate(0, 4px);
  }
  37.5% {
    transform: translate(-2.8px, 2.8px);
  }
  50% {
    transform: translate(-4px, 0);
  }
  62.5% {
    transform: translate(-2.8px, -2.8px);
  }
  75% {
    transform: translate(0, -4px);
  }
  87.5% {
    transform: translate(2.8px, -2.8px);
  }
  100% {
    transform: translate(4px, 0);
  }
}
.moving-1 {
  animation: moving1 4s ease-in-out infinite;
  transform-origin: center center;
}

.moving-2 {
  animation: moving2 3.5s ease-in-out infinite;
}

.moving-3 {
  animation: moving3 2.5s ease-in-out infinite;
  transform-origin: center center;
}

.moving-4 {
  animation: moving4 6s linear infinite;
}

/* ========================================
   1. HERO / FV
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 762px;
  overflow: hidden;
  background: var(--c-bg);
}

/* 768～1280：headerと同様に等比縮小、高さはJSで設定 --hero-fv-height */
.hero.hero--fv-scaled {
  height: var(--hero-fv-height, 762px);
}

/* FV全体をscaleで縮小（768～1280）：bgは2000/1280 vw相当、高さは762/1280 vw相当、個別にvwを設定しない */
.hero__fv-scale-wrap {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 762px;
  transform: translateX(-50%) scale(var(--hero-fv-scale, 1));
  transform-origin: center top;
}

@media (min-width: 2000px) {
  .hero,
  .hero__fv-scale-wrap {
    height: auto;
    aspect-ratio: 2000/762;
  }
}
/* 出現順序：① bg-img + people-img → ② frame + bg-vector → ③ copy */
@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero__bg-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 2000px;
  object-fit: contain;
  object-position: center top;
  z-index: 1;
  opacity: 0;
  animation: heroFadeIn 0.6s ease-out 0s forwards;
}

.hero__bg-vector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  min-width: 2000px;
  opacity: 0;
  animation: heroFadeIn 0.5s ease-out 0.6s forwards;
}

.hero__people-img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 2000px;
  width: 2000px;
  object-fit: contain;
  object-position: center top;
  z-index: 3;
  opacity: 0;
  animation: heroFadeIn 0.6s ease-out 0s forwards;
}

@media (min-width: 2000px) {
  .hero__bg-img,
  .hero__people-img {
    width: 100%;
    min-width: 100%;
  }
  .hero__bg-vector {
    width: 100%;
    min-width: 100%;
  }
}
/* ── Fixed 1440px frame (deco + copy stay fixed above 767px) ── */
.hero__frame {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: heroFadeIn 0.5s ease-out 0.6s forwards;
}

.hero__frame-inner {
  position: relative;
  width: 1440px;
  flex-shrink: 0;
  height: 100%;
  transform-origin: center top;
  /* 2000px 以上は JS で --hero-frame-scale を設定 */
  transform: scale(var(--hero-frame-scale, 1));
}

/* 各装飾アイコンは個別に微動＋透明度、hero__copy には適用しない */
@keyframes heroDecoFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 1;
  }
  25% {
    transform: translate(4px, -3px);
    opacity: 0.7;
  }
  50% {
    transform: translate(-3px, 4px);
    opacity: 1;
  }
  75% {
    transform: translate(2px, 3px);
    opacity: 0.9;
  }
}
.hero__frame .hero__copy {
  pointer-events: auto;
  /* コピーエリアは浮動に参加せず、静止したまま */
}

/* ── Decorative icons（個別に微動＋透明度、delay／duration をずらす）── */
.hero__deco-left-top {
  position: absolute;
  left: -23px;
  top: 113px;
  width: 179.03px;
  aspect-ratio: 1/1;
  animation: heroDecoFloat 11s ease-in-out 0s infinite;
}

.hero__deco-right-top {
  position: absolute;
  left: 1233px; /* 1440 - 207 */
  top: 138px;
  width: 89.33px;
  aspect-ratio: 1/1;
  animation: heroDecoFloat 13s ease-in-out 1.5s infinite;
}

.hero__deco-center-top {
  position: absolute;
  left: 533px;
  top: 42.19px;
  width: 93px;
  aspect-ratio: 93/83;
  animation: heroDecoFloat 12s ease-in-out 3s infinite;
}

.hero__deco-right-center {
  position: absolute;
  left: 1354px; /* 1440 - 86 */
  top: 305px;
  width: 109px;
  height: 167px;
  animation: heroDecoFloat 10s ease-in-out 4.5s infinite;
}

.hero__deco-people-left {
  position: absolute;
  left: 384px;
  top: 489px;
  width: 158.01px;
  height: 158.01px;
  animation: heroDecoFloat 14s ease-in-out 6s infinite;
}

.hero__deco-people-right {
  position: absolute;
  left: 961px;
  top: 550px;
  width: 38px;
  height: 38px;
  animation: heroDecoFloat 11.5s ease-in-out 2s infinite;
}

.hero__deco-people-right-top {
  position: absolute;
  left: 1073px;
  top: 304px;
  width: 27px;
  height: 27px;
  animation: heroDecoFloat 12.5s ease-in-out 5s infinite;
}

.hero__deco-left-bottom {
  position: absolute;
  left: 70px;
  top: 613.08px;
  width: 114px;
  animation: heroDecoFloat 13.5s ease-in-out 7.5s infinite;
}

/* ── Copy text ── */
.hero__copy {
  position: absolute;
  left: 208px;
  top: 154px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 400px;
  height: 258px;
}

.hero__copy-line {
  margin: 0;
  line-height: 1;
  display: inline-grid;
  align-items: center;
  min-height: 66px;
}

.hero__copy-bg-block {
  grid-area: 1/1;
  background: #fff;
  height: 66px;
  align-self: center;
  width: 0;
}

/* copy は frame の後に開始、1.2秒遅延 */
.hero__copy-bg-block--1 {
  animation: heroBlockReveal1 1.1s ease-in-out 1.2s forwards;
}

.hero__copy-bg-block--2 {
  animation: heroBlockReveal2 1.1s ease-in-out 1.75s forwards;
}

.hero__copy-bg-block--3 {
  animation: heroBlockReveal3 1.1s ease-in-out 2.3s forwards;
}

@keyframes heroBlockReveal1 {
  to {
    width: 343px;
  }
}
@keyframes heroBlockReveal2 {
  to {
    width: 298px;
  }
}
@keyframes heroBlockReveal3 {
  to {
    width: 298px;
  }
}
.hero__copy-text {
  grid-area: 1/1;
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 50px;
  color: #000;
  padding: 0 0 0 10px;
  line-height: normal;
  align-self: center;
  clip-path: inset(0 100% 0 0);
  animation: heroTextReveal 1.1s ease-in-out forwards;
}

.hero__copy-line:nth-child(1) .hero__copy-text {
  animation-delay: 1.35s;
}

.hero__copy-line:nth-child(2) .hero__copy-text {
  animation-delay: 1.95s;
}

.hero__copy-line:nth-child(3) .hero__copy-text {
  animation-delay: 2.55s;
}

@keyframes heroTextReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}
/* ========================================
   ASHIRAI — decorative background elements
   Fixed 1440px layer, always centered.
   ======================================== */
.ashirai-layer {
  position: absolute;
  width: 1440px;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.ashirai {
  position: absolute;
  pointer-events: none;
  max-width: none;
}

/* ── Intro section (ashirai 1–5) ── */
.ashirai-1 {
  right: 122px;
  top: 25px;
  width: 90px;
}

.ashirai-2 {
  left: 210px;
  top: -10px;
  width: 141px;
}

.ashirai-3 {
  right: -200px;
  top: -140px;
  width: 521px;
}

.ashirai-4 {
  left: -20px;
  top: 180px;
  width: 118px;
}

.ashirai-5 {
  right: 40px;
  top: 240px;
  width: 113px;
}

/* ── sec-planet (ashirai 6–8) ── */
.ashirai-6 {
  left: 250px;
  top: 330px;
  width: 622px;
}

.ashirai-7 {
  left: 35px;
  bottom: -240px;
  width: 112px;
}

.ashirai-8 {
  right: 110px;
  bottom: -190px;
  width: 95px;
}

/* ── sec-career (ashirai 9–11) ── */
.ashirai-9 {
  left: 300px;
  top: 300px;
  width: 578px;
}

.ashirai-10 {
  left: -60px;
  top: 420px;
  width: 163px;
}

.ashirai-11 {
  left: 280px;
  bottom: 40px;
  width: 141px;
}

/* ── sec-people (ashirai 12–16) ── */
.ashirai-12 {
  left: -210px;
  top: 100px;
  width: 487px;
}

.ashirai-13 {
  left: 740px;
  top: 90px;
  width: 90px;
}

.ashirai-14 {
  right: -60px;
  top: -45px;
  width: 328px;
}

.ashirai-15 {
  right: 170px;
  top: 220px;
  width: 131px;
}

.ashirai-16 {
  right: 150px;
  top: -70px;
  width: 113px;
  z-index: 1;
}

/* ── sec-recruit (ashirai 17–20) ── */
.ashirai-17 {
  right: -170px;
  top: -90px;
  width: 427px;
}

.ashirai-18 {
  left: 100px;
  top: 30px;
  width: 162px;
}

.ashirai-19 {
  left: 230px;
  bottom: -60px;
  width: 560px;
}

.ashirai-20 {
  right: 230px;
  bottom: -20px;
  width: 122px;
}

/* ── sec-banner (ashirai 21–23) ── */
.ashirai-21 {
  left: -150px;
  top: 0px;
  width: 328px;
}

.ashirai-22 {
  right: 100px;
  bottom: -320px;
  width: 578px;
}

.ashirai-23 {
  right: -10px;
  bottom: -30px;
  width: 90px;
}

/* ========================================
   2. メッセージ / INTRO
   ======================================== */
.intro {
  position: relative;
  padding: 60px 0;
  overflow: visible;
  background: var(--c-bg);
}

/* 768～950：intro-scale.js で zoom を設定 */
.intro__scale-wrap {
  max-width: 995px;
  margin: 0 auto;
  padding: 0 24px;
}

.intro__inner {
  position: relative;
  z-index: 20;
  text-align: center;
}

.intro__text {
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 40px;
  color: var(--c-text);
  text-align: center;
  margin: 0 0 20px;
}

.intro__brand {
  margin: 0;
  text-align: center;
}

.intro__brand-logo {
  display: inline-block;
  width: 155px;
  height: auto;
}

/* ========================================
   3. プラネットとは（frame: top_PC — 上部 200px 曲線背景、下端は上にカーブ、より曲がっている）
   ======================================== */
.sec-planet {
  position: relative;
  margin-top: -30px;
  overflow: visible;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFEF' d='M 0 0 L 100 0 L 100 100 Q 50 0 0 100 Z'/%3E%3C/svg%3E");
  background-size: 100% 100px;
  background-position: top center;
  background-repeat: no-repeat;
}

.sec-planet__scale-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 170px 0 80px;
  transform-origin: center top;
}

.sec-planet__scale-wrap.sec--scaled {
  width: 1150px;
  margin-left: 50%;
  transform: translateX(-50%) scale(var(--sec-scale, 1));
  padding: calc(170px * var(--sec-scale, 1)) 0 calc(80px * var(--sec-scale, 1));
}

@media (max-width: 1000px) {
  .sec-planet {
    margin-top: 0;
  }
  .sec-planet__scale-wrap.sec--scaled .ashirai-layer {
    top: -10vw;
    z-index: -1;
  }
}
.sec-planet__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8%;
}

.sec-planet__media {
  padding-left: 156px;
}

.sec-planet__circle {
  width: 470px;
  height: 470px;
  border-radius: 50%;
  overflow: hidden;
}

.sec-planet__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec-planet__content {
  width: 550px;
  margin-bottom: 50px;
}

/* 1280～1150：px レイアウトを % に変更、フォントサイズは維持 */
@media (max-width: 1280px) {
  .sec-planet__scale-wrap {
    padding: 170px 24px 80px;
  }
  .sec-planet__row {
    justify-content: center;
    align-items: center;
    gap: 8%;
  }
  .sec-planet__media {
    flex: 0 0 34%;
    padding-left: 0;
  }
  .sec-planet__circle {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    min-width: 320px;
  }
  .sec-planet__content {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-bottom: 50px;
  }
}
.sec-planet__title {
  font-family: var(--ff-title);
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  color: var(--c-title);
  margin: 0 0 30px;
}

.sec-planet__lead {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: var(--c-text);
  margin: 0 0 50px;
}

/* ========================================
   4. キャリアを知る
   ======================================== */
.sec-career {
  position: relative;
  overflow: visible;
}

.sec-career__scale-wrap {
  padding: 200px 0 80px;
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  transform-origin: center top;
}

.sec-career__scale-wrap.sec--scaled {
  width: 1150px;
  margin-left: 50%;
  transform: translateX(-50%) scale(var(--sec-scale, 1));
  padding: calc(200px * var(--sec-scale, 1)) 0 calc(80px * var(--sec-scale, 1));
}

.sec-career__row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10%;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.sec-career__content {
  flex: 0 0 auto;
  padding-left: 208px;
}

.sec-career__title {
  font-family: var(--ff-title);
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  color: var(--c-title);
  margin: 0 0 40px;
}

.sec-career__lead {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: var(--c-text);
  margin: 0 0 50px;
  max-width: 478px;
}

.sec-career__media {
  margin-right: 235px;
  margin-top: 50px;
  flex-shrink: 0;
}

.sec-career__media img {
  width: 465px;
  height: 392px;
  object-fit: cover;
  border-radius: 12px;
}

/* 1280～1150：px レイアウトを % に変更、フォントサイズは維持 */
@media (max-width: 1280px) {
  .sec-career__scale-wrap {
    padding: 200px 24px 80px;
  }
  .sec-career__row {
    justify-content: center;
    align-items: flex-start;
    gap: 8%;
  }
  .sec-career__content {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
  }
  .sec-career__media {
    flex: 0 0 34%;
    margin-right: 0;
    margin-top: 50px;
  }
  .sec-career__media img {
    width: 100%;
    min-width: 320px;
    height: auto;
    aspect-ratio: 465/392;
  }
}
/* ========================================
   5. 人を知る
   ======================================== */
.sec-people {
  position: relative;
  overflow: visible;
}

.sec-people__scale-wrap {
  padding: 200px 0 80px;
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  transform-origin: center top;
}

.sec-people__scale-wrap.sec--scaled {
  width: 1120px;
  margin-left: 50%;
  transform: translateX(-50%) scale(var(--sec-people-scale, 1));
  padding: calc(200px * var(--sec-people-scale, 1)) 0 calc(80px * var(--sec-people-scale, 1));
}

.sec-people__content {
  position: relative;
  z-index: 1;
}

.sec-people__head {
  position: relative;
  z-index: 1;
  max-width: 1024px;
  margin: 0 auto;
}

.sec-people__title {
  font-family: var(--ff-title);
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  color: var(--c-title);
  margin: 0 0 40px;
}

.sec-people__lead {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: var(--c-text);
  margin: 0;
}

/* 外側：overflow hidden で 100vw 擬似要素を切り取る；内側の cards は横スクロールを維持 */
.sec-people__cards-wrap {
  position: relative;
  width: 100%;
  z-index: 1;
}

.sec-people__nav {
  display: none;
}

/* 擬似要素：100vw × 600px、曲線背景（開口部は sec-planet と逆、上端は下にカーブ） */
.sec-people__cards-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -30px;
  width: 100vw;
  height: 400px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFDF' d='M 0 100 L 0 0 Q 50 30 100 0 L 100 100 Z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* sec-people scale 後の補償：背景曲線は視覚的に 100vw を維持 */
.sec-people__scale-wrap.sec--scaled .sec-people__cards-wrap::before {
  width: calc(100vw / var(--sec-people-scale, 1));
}

.sec-people__cards {
  position: relative;
  z-index: 1;
  max-width: 1024px;
  width: 100%;
  margin: 60px auto 0;
  padding: 0;
  /* PC: ネイティブスクロールコンテナ */
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

/* PC: Flex レイアウトを wrapper に移動 (Swiper 構造に対応) */
.sec-people__cards .swiper-wrapper {
  display: flex;
  gap: 80px;
  width: max-content; /* コンテンツを広げてスクロールをトリガーする */
  box-sizing: border-box;
}

.sec-people__cards::-webkit-scrollbar {
  display: none;
}

.staff-card {
  flex: 0 0 288px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.staff-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 高低交互（top_PC）：奇数は padding-top を低く、偶数は高く */
.staff-card:nth-child(odd) {
  padding-top: 30px;
}

.staff-card:nth-child(even) {
  padding-top: 0;
}

.staff-card__img {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  /* clip-path を使用して縮小時に角丸がちらつくのを防ぐ */
  clip-path: inset(0 round 15px);
}

.staff-card__img img {
  width: 288px;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.staff-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--c-white);
  z-index: 2;
}

.staff-card__info p {
  margin: 0;
}

.staff-card__info-name {
  padding: 0 0 10px;
  font-size: 20px;
}

.staff-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(rgba(48, 48, 48, 0) 50.29%, rgba(48, 48, 48, 0.3) 60.28%, rgba(48, 48, 48, 0.4) 70.27%, rgba(48, 48, 48, 0.8) 84.97%);
  pointer-events: none;
}

.staff-card__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  z-index: 3;
  display: block;
}

.staff-card__arrow circle,
.staff-card__arrow path {
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .staff-card__link:hover .staff-card__img img {
    transform: scale(1.08);
  }
  .staff-card__link:hover .staff-card__arrow circle {
    fill: var(--c-title);
    stroke: #fff;
  }
  .staff-card__link:hover .staff-card__arrow path {
    stroke: #fff;
  }
}
.sec-people__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 70px;
}

.sec-people__pager {
  position: relative;
  max-width: 1024px;
  width: 100%;
  height: 15px;
  cursor: grab;
  user-select: none;
  /* PC デフォルトスタイル：グレー背景 */
  background: #dcdcdc;
  border-radius: 15px;
}

.sec-people__pager:active {
  cursor: grabbing;
}

.sec-people__pager-bar {
  position: absolute;
  inset: 0;
  background: #dcdcdc;
  border-radius: 15px;
}

.sec-people__pager-active {
  position: absolute;
  left: var(--pager-active-left, 0);
  top: 0;
  width: var(--pager-active-width, 0);
  height: 15px;
  border-radius: 15px;
  background: #14703f;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

@media (hover: hover) {
  .sec-people__pager:hover .sec-people__pager-active,
  .sec-people__pager:active .sec-people__pager-active {
    opacity: 0.8;
  }
}
/* Swiper Scrollbar カスタムスタイル (SP) */
.sec-people__pager.swiper-scrollbar {
  background: #dcdcdc;
  border-radius: 15px;
  /* 重要：Track がクリックを受け取らないようにし、Swiper の誤判定ジャンプを防ぐ */
  pointer-events: none;
}

.sec-people__pager .swiper-scrollbar-drag {
  background: #14703f;
  border-radius: 15px;
  /* 重要：Handle がクリックを受け取るようにし、Swiper のドラッグを許可する */
  pointer-events: auto;
}

/* PC 版：手動実装の Pager スタイル */
.sec-people__pager-active {
  position: absolute;
  left: var(--pager-active-left, 0);
  top: 0;
  width: var(--pager-active-width, 0);
  height: 15px;
  border-radius: 15px;
  background: #14703f;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

@media (hover: hover) {
  .sec-people__pager:hover .sec-people__pager-active,
  .sec-people__pager:active .sec-people__pager-active {
    opacity: 0.8;
  }
}
/* ========================================
   6. 採用情報
   ======================================== */
.sec-recruit {
  position: relative;
  overflow: visible;
}

.sec-recruit__scale-wrap {
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  transform-origin: center top;
}

.sec-recruit__scale-wrap.sec--scaled {
  width: 1120px;
  margin-left: calc(50% - 50vw);
  transform-origin: left top;
  transform: scale(var(--sec-recruit-scale, 1));
  padding: calc(100px * var(--sec-recruit-scale, 1)) 0 calc(80px * var(--sec-recruit-scale, 1));
}

.sec-recruit__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

/* 1120 以下 scale 時、row の位置と幅を補正し、左側が viewport に合うようにする */
.sec-recruit__scale-wrap.sec--scaled .sec-recruit__row {
  margin-left: 0;
  width: calc(100vw / var(--sec-recruit-scale, 1));
}

.sec-recruit__media {
  height: 400px;
  max-height: 400px;
  width: 50%;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.sec-recruit__media img {
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  object-position: right center;
}

.sec-recruit__content {
  box-sizing: border-box;
  padding-left: 60px;
  width: 50%;
}

.sec-recruit__title {
  font-family: var(--ff-title);
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  color: var(--c-title);
  margin: 0 0 40px;
}

.recruit-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 374px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.recruit-links__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recruit-links__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  padding: 2em 0.75em 2em 0;
}

.recruit-link__text {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: var(--c-text);
}

.recruit-links__item::after {
  content: "";
  display: block;
  height: 1px;
  background: #303030;
}

/* ========================================
   7. 大樹生命とは バナー (bottom CTA)
   ======================================== */
.sec-banner {
  position: relative;
  padding: 100px 0 100px;
  display: flex;
  justify-content: center;
}

.sec-banner .banner-card {
  display: block;
  position: relative;
  z-index: 1;
  width: 790px;
  max-width: 90%;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  /* clip-path を使用して縮小時に角丸がちらつくのを防ぐ */
  clip-path: inset(0 round 15px);
  text-decoration: none;
  color: inherit;
}

.sec-banner .banner-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sec-banner .banner-card__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.25;
  mix-blend-mode: multiply;
  border-radius: 15px;
}

.sec-banner .banner-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
}

.sec-banner .banner-card__title {
  font-family: var(--ff-title);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--c-white);
}

.sec-banner .banner-card__arrow {
  display: block;
  width: 36px;
  height: 36px;
}

.sec-banner .banner-card__arrow circle,
.sec-banner .banner-card__arrow path {
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .sec-banner .banner-card:hover .banner-card__img {
    transform: scale(1.08);
  }
  .sec-banner .banner-card:hover .banner-card__arrow circle {
    fill: var(--c-title);
    stroke: #fff;
  }
  .sec-banner .banner-card:hover .banner-card__arrow path {
    stroke: #fff;
  }
}
/* ========================================
   top_SP (<=767)
   ======================================== */
@media (max-width: 767px) {
  .hero,
  .hero.hero--fv-scaled {
    height: 142vw;
    margin-top: 70px;
  }
  .hero__fv-scale-wrap {
    left: 0;
    width: 100%;
    height: 142vw;
    transform: none !important;
  }
  .hero__bg-img,
  .hero__people-img {
    width: 100%;
    min-width: 100%;
    max-width: none;
  }
  .hero__bg-vector {
    width: 100%;
    min-width: 100%;
    max-width: none;
    bottom: 0;
  }
  .hero__frame-inner {
    width: 100%;
    transform: none !important;
  }
  .hero__deco-left-top,
  .hero__deco-right-top,
  .hero__deco-center-top,
  .hero__deco-right-center,
  .hero__deco-people-right-top,
  .hero__deco-left-bottom {
    display: none;
  }
  .hero__deco-people-left {
    left: 6vw;
    top: 102vw;
    width: 25vw;
    height: 25vw;
  }
  .hero__deco-people-right {
    left: auto;
    right: -4vw;
    top: 110vw;
    width: 8vw;
    height: 8vw;
  }
  .hero__copy {
    left: 6vw;
    top: 22vw;
    width: auto;
    height: auto;
    gap: 4vw;
  }
  .hero__copy-line {
    min-height: 11vw;
  }
  .hero__copy-bg-block {
    height: 11vw;
    width: 0;
  }
  /* PC と同じ：白いブロック＋文字が順次現れるアニメーション、終了幅を vw に変更 */
  .hero__copy-bg-block--1 {
    animation: heroBlockReveal1 1.1s ease-in-out 1.2s forwards;
  }
  .hero__copy-bg-block--2 {
    animation: heroBlockReveal2 1.1s ease-in-out 1.75s forwards;
  }
  .hero__copy-bg-block--3 {
    animation: heroBlockReveal3 1.1s ease-in-out 2.3s forwards;
  }
  @keyframes heroBlockReveal1 {
    to {
      width: 56vw;
    }
  }
  @keyframes heroBlockReveal2 {
    to {
      width: 47vw;
    }
  }
  @keyframes heroBlockReveal3 {
    to {
      width: 47vw;
    }
  }
  .hero__copy-text {
    font-size: 8vw;
    padding-left: 2vw;
    clip-path: inset(0 100% 0 0);
    animation: heroTextReveal 1.1s ease-in-out forwards;
  }
  .hero__copy-line:nth-child(1) .hero__copy-text {
    animation-delay: 1.35s;
  }
  .hero__copy-line:nth-child(2) .hero__copy-text {
    animation-delay: 1.95s;
  }
  .hero__copy-line:nth-child(3) .hero__copy-text {
    animation-delay: 2.55s;
  }
  @keyframes heroTextReveal {
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  /* モバイル版は desktop/tablet の scale レイアウトを使用しない */
  .sec-planet,
  .sec-career,
  .sec-people,
  .sec-recruit {
    height: auto !important;
  }
  .sec-planet__scale-wrap,
  .sec-career__scale-wrap,
  .sec-people__scale-wrap,
  .sec-recruit__scale-wrap,
  .sec-planet__scale-wrap.sec--scaled,
  .sec-career__scale-wrap.sec--scaled,
  .sec-people__scale-wrap.sec--scaled,
  .sec-recruit__scale-wrap.sec--scaled {
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    transform: none !important;
    padding: 0;
  }
  .sec-planet__scale-wrap.sec--scaled .ashirai-layer {
    top: 0;
  }
  .intro {
    padding: 9vw 0 0;
  }
  .intro__brand-logo {
    width: 40vw;
  }
  .intro__scale-wrap {
    max-width: none;
    padding: 0;
  }
  .intro__inner {
    padding: 0 6.4vw;
  }
  .intro__text {
    font-size: 4.27vw;
    line-height: 9.6vw;
    margin: 0 0 5.33vw;
    text-align: left;
  }
  .sec-planet {
    margin-top: 0;
    background: unset;
    background: linear-gradient(var(--c-bg), var(--c-bg)) no-repeat top/100% 100vw;
    padding-top: 21vw;
  }
  .ashirai-2 {
    left: unset;
    top: unset;
    right: -10vw;
    bottom: -30vw;
    width: 40vw;
  }
  .cta-link__circle::before {
    width: 9vw;
    height: 9vw;
  }
  .sec-people .cta-link {
    background-color: var(--c-title);
    border-radius: 8vw;
    height: 16vw;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    width: 58vw;
  }
  .sec-people .cta-link img {
    filter: brightness(0) invert(1);
  }
  .sec-people .cta-link__circle::before {
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid #fff;
  }
  .sec-people .cta-link__text {
    font-size: 4.2vw;
    color: #fff;
    letter-spacing: 0.05em;
  }
  .cta-link__circle img {
    width: 17vw;
    height: auto;
  }
  .cta-link .sec-planet__title,
  .cta-link .sec-career__title {
    margin-bottom: 0;
  }
  .cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    width: 100%;
  }
  .sec-career {
    padding-top: 30vw;
  }
  .sec-planet__circle {
    aspect-ratio: unset !important;
    border-radius: 0 !important;
  }
  .ashirai-layer {
    width: 100%;
  }
  .sec-planet__scale-wrap {
    padding: 0 !important;
  }
  .sec-planet__row {
    flex-direction: column;
    align-items: center;
    gap: 11vw;
  }
  .sec-planet__media,
  .sec-planet__content {
    width: 100%;
    flex: none;
    padding-left: 0;
    margin: 0;
    max-width: none;
    min-width: 0;
  }
  .sec-planet__content {
    padding: 0;
  }
  .sec-planet__circle {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 327/296;
    border-radius: 6.4vw;
  }
  .sec-planet__title,
  .sec-career__title,
  .sec-people__title,
  .sec-recruit__title {
    font-size: 6.4vw;
    line-height: 10.67vw;
    margin-bottom: 6.4vw;
  }
  .sec-planet__lead,
  .sec-career__lead,
  .sec-people__lead {
    font-size: 4.27vw;
    line-height: 8.53vw;
    margin-bottom: 8vw;
  }
  .sec-career__scale-wrap {
    padding: 0 !important;
  }
  .sec-career__row {
    flex-direction: column;
    align-items: center;
    gap: 10vw;
  }
  .sec-career__media {
    order: 1;
    width: 100%;
    flex: none;
    margin: 0;
  }
  .sec-career__media img {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: unset;
    border-radius: 0;
  }
  .sec-career__content {
    order: 2;
    width: 100%;
    flex: none;
    padding: 0 6.4vw 16vw;
    max-width: none;
    min-width: 0;
  }
  .sec-people__scale-wrap {
    padding: 0 !important;
  }
  .sec-people__head {
    max-width: none;
    padding: 19vw 6.4vw 0;
    z-index: 10;
  }
  .ashirai-10 {
    left: -2vw;
    top: unset;
    bottom: -16vw;
    width: 25vw;
  }
  .sec-people__cards-wrap::before {
    width: 100vw;
    height: 144vw;
    bottom: -2.67vw;
    /* 曲率を調整：Q 50 10 -> Q 50 5、曲線をより緩やかに */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFDF' d='M 0 100 L 0 0 Q 50 5 100 0 L 100 100 Z'/%3E%3C/svg%3E");
  }
  .sec-people__content {
    /* 下半分に背景色が拡張されるように確保、擬似要素の色 (#FFFFDF) と一致させる */
    background: linear-gradient(to bottom, transparent 0%, #ffffdf 20%);
    padding-bottom: 10vw; /* 背景の拡張を確保するために下部のpaddingを追加 */
  }
  .sec-people__cards {
    display: block; /* Swiper には block が必要 */
    max-width: none;
    margin-top: 6.4vw;
    padding: 0 18vw 0;
    overflow: visible;
    /* SP: PC の scroll-snap を削除 */
    scroll-snap-type: none;
  }
  .sec-people__cards .swiper-wrapper {
    /* SP: Swiper がレイアウトを制御、PC の gap/width を削除 */
    gap: 0;
    width: auto;
    display: flex; /* Swiper には flex が必要 */
  }
  .staff-card {
    width: 64vw;
    flex: 0 0 auto;
    scroll-snap-align: center;
    border-radius: 6vw;
    box-shadow: 1vw 1vw 3vw 0 rgba(0, 0, 0, 0.4);
  }
  .staff-card:nth-child(odd),
  .staff-card:nth-child(even) {
    padding-top: 0;
  }
  .staff-card__img {
    border-radius: 6vw;
  }
  .staff-card__img img {
    width: 64vw;
    height: auto;
    border-radius: 6vw;
  }
  .staff-card__info {
    padding: 5.33vw;
    font-size: 4.27vw;
    line-height: 6.93vw;
  }
  .staff-card__info-name {
    padding: 0 0 2.7vw;
    font-size: 5.3vw;
  }
  .staff-card__arrow {
    width: 9.6vw;
    height: 9.6vw;
    bottom: 5.33vw;
    right: 5.33vw;
  }
  .sec-people__nav {
    display: block;
    position: absolute;
    top: 48vw;
    width: 9.6vw;
    height: 9.6vw;
    border: 0.3vw solid #000;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 3;
    cursor: pointer;
  }
  .sec-people__nav::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3vw;
    height: 3vw;
    border-top: 0.3vw solid #000;
    border-right: 0.3vw solid #000;
  }
  .sec-people__nav--prev {
    left: 11vw;
    top: 36vw;
  }
  .sec-people__nav--prev::after {
    transform: translate(-30%, -50%) rotate(-135deg);
  }
  .sec-people__nav--next {
    right: 11vw;
    top: 36vw;
  }
  .sec-people__nav--next::after {
    transform: translate(-70%, -50%) rotate(45deg);
  }
  svg.staff-card__arrow {
    display: none;
  }
  .sec-people__foot {
    margin-top: 10.67vw;
    gap: 8vw;
  }
  .sec-people__pager {
    width: calc(100% - 12.8vw);
    max-width: 87.2vw;
  }
  .sec-recruit__scale-wrap {
    padding: 0 !important;
  }
  .sec-recruit__row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }
  .sec-people {
    z-index: 100;
  }
  .sec-recruit {
    padding-top: 30vw;
  }
  .sec-recruit__media {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .sec-recruit__media img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    border-radius: unset;
  }
  .sec-recruit__content {
    width: 100%;
    padding: 8vw 6.4vw 16vw;
  }
  .ashirai-18 {
    left: -5vw;
    top: -35vw;
    width: 32vw;
  }
  .ashirai-24 {
    right: -3vw;
    top: -14vw;
    width: 23vw;
  }
  .recruit-links {
    width: 100%;
    gap: 8vw;
  }
  .recruit-links__item {
    gap: 2.67vw;
  }
  .recruit-link__text {
    font-size: 4.8vw;
    line-height: 8.53vw;
  }
  .sec-banner {
    padding: 10vw 0 0;
  }
  .sec-banner .banner-card {
    width: 100%;
    height: auto;
    aspect-ratio: 375/180;
    clip-path: none;
    max-width: 100%;
    border-radius: 0;
  }
  .sec-banner .banner-card__title {
    font-size: 8.53vw;
    line-height: 10.67vw;
  }
  .sec-banner .banner-card__arrow {
    width: 9.6vw;
    height: 9.6vw;
  }
  .sec-banner .banner-card__overlay {
    border-radius: 0;
  }
  /* SP: Recruit セクションボタンのスタイル（深緑の丸薬型） */
}
@media (max-width: 767px) and (hover: hover) {
  .recruit-links .cta-link:hover .cta-link__circle {
    background: #fff;
  }
}
@media (max-width: 767px) {
  /* SP: mask を使用して矢印を描画 */
  .recruit-links .cta-link__circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #fff; /* 矢印の色 */
    -webkit-mask-image: url("/planet/images/common/arrow.svg");
    mask-image: url("/planet/images/common/arrow.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 130%; /* 矢印のサイズを調整 */
    mask-size: 130%;
    transition: background-color 0.3s ease;
  }
}
@media (max-width: 767px) and (hover: hover) {
  .recruit-links .cta-link:hover .cta-link__circle::after {
    background-color: var(--c-title); /* Hover 時に矢印を緑にする */
  }
}
@media (max-width: 767px) {
  .ashirai-25 {
    right: 0;
    bottom: 35vw;
    width: 42vw;
  }
}