@charset "UTF-8";
/* ========================================================
# デザイントークン
# ・色 / フォント = CSS 変数（実体は foundation/_token.scss の :root --c-*）
#   → 納品 CSS の :root 1か所でリテーマ可・カスケード上書き可。
# ・レイアウト = Sass 変数（rem() で px 基準）
#   → 演算・@media で扱いやすい。
# theme.json は不使用。
======================================================== */
/* ========================================================
# SCSS 実装専用
======================================================== */
/* ========================================================
# 下線（線なし→出てくる→線が流れて消える）
======================================================== */
/* ========================================================
# 下線（最初に線が出てる→消える→また出てくる）
======================================================== */
.p-topRecruit {
  margin-top: 6.25rem;
  padding: 1.5rem;
  background-color: var(--c-color-beige);
}
@media screen and (width < 768px) {
  .p-topRecruit {
    margin-top: 3.5rem;
    padding: 1rem;
    margin-bottom: 0;
  }
}

.p-topRecruit__card {
  position: relative;
  min-height: 44.6875rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__card {
    min-height: 0;
    padding-bottom: 4rem;
  }
}

.p-topRecruit__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: clip;
  border-radius: 0.25rem;
  background-color: var(--c-color-white);
  transform-origin: center;
}

/* ---- 背景の四方円（p-recruitSubMv__circles を踏襲） ---- */
.p-topRecruit__circles {
  position: absolute;
  z-index: 0;
  top: -56.5625rem;
  left: -56.9375rem;
  width: 164.6875rem;
  aspect-ratio: 1;
  rotate: 15deg;
  pointer-events: none;
}
@media screen and (width < 768px) {
  .p-topRecruit__circles {
    top: -17rem;
    left: calc(50% - 31.09375rem);
    width: 62.1875rem;
  }
}

.p-topRecruit__circlesSvg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.p-topRecruit__circle {
  fill: none;
  stroke: rgba(172, 172, 172, 0.3);
  stroke-dasharray: 1571;
  stroke-dashoffset: 1571;
  stroke-width: 0.37;
  transform-box: fill-box;
  transform-origin: center;
}
@media screen and (width < 768px) {
  .p-topRecruit__circle {
    stroke-width: 1;
  }
}

.p-topRecruit__circle--top {
  rotate: 0deg;
  scale: -1 1;
}

.p-topRecruit__circle--right {
  rotate: 90deg;
}

.p-topRecruit__circle--bottom {
  rotate: 180deg;
  scale: -1 1;
}

.p-topRecruit__circle--left {
  rotate: -90deg;
}

.p-topRecruit__card.is-inview .p-topRecruit__circle {
  animation: p-topRecruit-draw 4s ease-out 0.3s both;
}

@keyframes p-topRecruit-draw {
  from {
    stroke-dashoffset: 1571;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-topRecruit__circle {
    animation: none;
    stroke-dashoffset: 0;
  }
}
/* ---- レイアウト土台 ---- */
.p-topRecruit__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.5rem;
  min-height: 44.6875rem;
  max-width: 75rem;
  padding-block: 4rem;
  margin-inline: auto;
}
@media screen and (width < 768px) {
  .p-topRecruit__inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-block: 0;
  }
}

/* ---- 写真コラージュ ---- */
.p-topRecruit__photos {
  position: relative;
  align-self: flex-start;
  flex-shrink: 0;
  width: 27.5rem;
  height: 36.6875rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__photos {
    align-self: stretch;
    width: 100%;
    height: 84.358974359vw;
  }
}

.p-topRecruit__photo {
  position: absolute;
}

.p-topRecruit__photo--a {
  top: 0;
  left: 0;
  width: 21.4375rem;
  height: 15.25rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__photo--a {
    top: 19.4529%;
    left: auto;
    right: 13.0769230769vw;
    width: 44.1025641026vw;
    height: 31.5384615385vw;
  }
}

.p-topRecruit__photo--b {
  top: 21.6875rem;
  left: 0;
  width: 15rem;
  height: 15rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__photo--b {
    top: 63.5258%;
    left: auto;
    right: 4.1025641026vw;
    width: 34.6153846154vw;
    height: 34.6153846154vw;
  }
}

.p-topRecruit__photo--c {
  top: 18.0625rem;
  left: 17.5rem;
  width: 10rem;
  height: 10rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__photo--c {
    top: 38.2979%;
    left: auto;
    right: 63.0769230769vw;
    width: 24.6153846154vw;
    height: 24.6153846154vw;
  }
}

.p-topRecruit__photoReveal {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.125rem;
  overflow: clip;
  background-color: #d9d9d9;
}

.p-topRecruit__photoImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- コピー ---- */
.p-topRecruit__body {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 34.25rem;
  min-width: 0;
  margin-top: 0;
  margin-right: 6.6875rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__body {
    align-self: stretch;
    width: auto;
    margin-top: 0;
    margin-right: 0;
    gap: 1.5rem;
    padding-inline: 1rem;
  }
}

.p-topRecruit__head {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__head {
    gap: 1.5rem;
  }
}

.p-topRecruit__label {
  font-family: var(--c-font-family-sans-en);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-topRecruit__label {
    font-size: 1rem;
  }
}

.p-topRecruit__heading {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 400;
  font-size: 3.4375rem;
  line-height: 1.4;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-topRecruit__heading {
    font-size: 2rem;
  }
}

.p-topRecruit__headingSub {
  font-size: 2.5rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__headingSub {
    font-size: 1.25rem;
  }
}

.p-topRecruit__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.p-topRecruit__lead {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 2.6;
  color: var(--c-color-black);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-topRecruit__lead {
    font-size: 1rem;
    line-height: 2.4;
  }
}

.p-topRecruit__actions {
  display: flex;
  gap: 0.5rem;
}
@media screen and (width < 768px) {
  .p-topRecruit__actions {
    flex-direction: column;
  }
}

/* ========================================================
# タブレット（768〜1024px）
# - Figma node 2381-22092
======================================================== */
@media screen and (768px <= width <= 1024px) {
  .p-topRecruit {
    margin-top: 0;
    padding-block: 0;
    padding-inline: 1.5rem;
  }
  .p-topRecruit__card {
    min-height: 54.9375rem;
  }
  .p-topRecruit__circles {
    top: -15.25rem;
    left: calc(50% - 31.09375rem);
    width: 62.1875rem;
  }
  .p-topRecruit__inner {
    display: block;
    min-height: 54.9375rem;
    max-width: none;
    padding: 43.75vw 2.5rem 2.5rem;
  }
  .p-topRecruit__photos {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 58.984375vw;
  }
  .p-topRecruit__photo--a {
    top: 8.83%;
    left: auto;
    right: 11.8359375vw;
    width: 33.0338541667vw;
    height: 23.5286458333vw;
  }
  .p-topRecruit__photo--b {
    top: 56.0265%;
    left: auto;
    right: 5.2083333333vw;
    width: 25.8333333333vw;
    height: 25.8333333333vw;
  }
  .p-topRecruit__photo--c {
    top: 39.7351%;
    left: auto;
    right: 49.2578125vw;
    width: 18.4505208333vw;
    height: 18.4505208333vw;
  }
  .p-topRecruit__body {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    gap: 2.5rem;
    margin: 0;
  }
  .p-topRecruit__lead {
    font-size: 1rem;
  }
}
.p-topNews {
  padding-block: 6.25rem;
  background-color: var(--c-color-beige);
  position: relative;
  z-index: 2;
}
@media screen and (width < 768px) {
  .p-topNews {
    padding-block: 2.5rem;
  }
}

.p-topNews__inner {
  display: flex;
  flex-direction: column;
}

/* ---- 見出し（c-title2）・短罫線・一覧・ボタン ---- */
.p-topNews__body {
  display: grid;
  grid-template-columns: 16.125rem 50.0625rem;
  justify-content: space-between;
  margin-top: -4.75rem;
}
@media screen and (width < 768px) {
  .p-topNews__body {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
    margin-top: 0.75rem;
  }
}

.p-topNews__title {
  grid-area: heading;
}
@media screen and (width < 768px) {
  .p-topNews__title {
    position: relative;
    padding-bottom: 1.625rem;
  }
}

.p-topNews__btnWrapper {
  padding-top: 2rem;
  align-self: end;
}
@media screen and (width < 768px) {
  .p-topNews__btnWrapper {
    align-self: stretch;
    margin-top: 0;
    padding-top: 0;
  }
}

/* ========================================================
# タブレット（768〜1024px）
# - Figma node 2381-22053
======================================================== */
@media screen and (768px <= width <= 1024px) {
  .p-topNews {
    padding-block: 5rem;
  }
  .p-topNews__inner {
    max-width: none;
    padding-inline: 4rem;
  }
  .p-topNews__title .c-title2__line {
    height: 0;
    border-top: 1px solid rgba(33, 32, 29, 0.5);
    background-color: transparent;
  }
  .p-topNews__body {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  .p-topNews__list > li:first-child .c-news {
    padding-top: 0;
  }
  .p-topNews__btnWrapper {
    align-self: flex-start;
    padding-top: 0;
  }
}
.p-topColumn {
  padding-block: 12.5rem 6.25rem;
  background-color: var(--c-color-beige);
  position: relative;
  z-index: 2;
}
@media screen and (width < 768px) {
  .p-topColumn {
    padding-block: 5rem 2.5rem;
  }
}

.p-topColumn__inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media screen and (width < 768px) {
  .p-topColumn__inner {
    gap: 2rem;
  }
}

/* ---- 本体：左（大カード）＋右（中カード2枚＋ボタン） ---- */
.p-topColumn__body {
  display: flex;
  align-items: flex-start;
  gap: 6rem;
}
@media screen and (width < 768px) {
  .p-topColumn__body {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.p-topColumn__feature {
  flex-shrink: 0;
  width: 27rem;
}
@media screen and (width < 768px) {
  .p-topColumn__feature {
    width: 100%;
  }
}

@media screen and (width < 768px) {
  .p-topColumn__feature .c-card1 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-block: 0;
    border-bottom: none;
  }
}

@media screen and (width < 768px) {
  .p-topColumn__feature .c-card1__thumb {
    order: 0;
  }
}

@media screen and (width < 768px) {
  .p-topColumn__feature .c-card1__thumb img {
    aspect-ratio: 367/200;
  }
}

.p-topColumn__feature .c-card1__title {
  font-size: 1.375rem;
}
@media screen and (width < 768px) {
  .p-topColumn__feature .c-card1__title {
    font-size: 1.125rem;
  }
}

.p-topColumn__side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media screen and (width < 768px) {
  .p-topColumn__side {
    gap: 1.5rem;
  }
}

.p-topColumn__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media screen and (width < 768px) {
  .p-topColumn__list {
    gap: 0;
    border-top: 1px solid rgba(33, 32, 29, 0.2);
  }
}

.p-topColumn__button {
  align-self: flex-end;
}
@media screen and (width < 768px) {
  .p-topColumn__button {
    align-self: stretch;
  }
}

/* ========================================================
# タブレット（768〜1024px）
# - Figma node 2381-22008
======================================================== */
@media screen and (768px <= width <= 1024px) {
  .p-topColumn {
    margin-bottom: -5rem;
    padding-block: 5rem;
  }
  .p-topColumn__inner {
    max-width: none;
    gap: 2.5rem;
    padding-inline: 4rem;
  }
  .p-topColumn .c-title2__line {
    height: 0;
    border-top: 1px solid rgba(33, 32, 29, 0.5);
    background-color: transparent;
  }
  .p-topColumn__body {
    flex-direction: column;
    gap: 1.5rem;
  }
  .p-topColumn__feature {
    width: 100%;
  }
  .p-topColumn__feature .c-card1 {
    display: grid;
    grid-template-columns: 11.25rem 1fr;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.4375rem;
    border-bottom: 1px solid rgb(from var(--c-color-black) r g b/0.2);
  }
  .p-topColumn__feature .c-card1__thumb img {
    aspect-ratio: 367/200;
  }
  .p-topColumn__feature .c-card1__info {
    gap: 0.75rem;
  }
  .p-topColumn__feature .c-card1__title {
    font-size: 1.125rem;
  }
  .p-topColumn__side,
  .p-topColumn__list {
    width: 100%;
    gap: 1.5rem;
  }
  .p-topColumn__list .c-card1--sm2 {
    padding-bottom: 1.4375rem;
  }
  .p-topColumn__button {
    align-self: flex-start;
  }
}
.p-topService {
  position: relative;
  overflow: clip;
  z-index: 2;
  padding-top: 18.5rem;
}
@media screen and (width < 768px) {
  .p-topService {
    padding-top: 6rem;
  }
}

.p-topService__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}
@media screen and (width < 768px) {
  .p-topService__inner {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ---- 左：sticky 追従の見出し＋リード＋ボタン ---- */
.p-topService__aside {
  position: sticky;
  top: 7.5rem;
  flex-shrink: 0;
  width: 25.625rem;
  display: flex;
  flex-direction: column;
  gap: 6.875rem;
}
@media screen and (width < 768px) {
  .p-topService__aside {
    position: static;
    width: 100%;
    gap: 2rem;
  }
}

.p-topService__buttonPc {
  align-self: flex-start;
}
@media screen and (width < 768px) {
  .p-topService__buttonPc {
    display: none;
  }
}

.p-topService__buttonSp {
  display: none;
}
@media screen and (width < 768px) {
  .p-topService__buttonSp {
    display: inline-grid;
  }
}

@media screen and (width > 1024px) {
  .p-topService__aside {
    gap: 3rem;
  }
  .p-topService__buttonPc {
    width: 14.875rem;
  }
}
/* ---- 右：サービス5項目 ---- */
.p-topService__list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-right: calc(50% - 50vw);
}
@media screen and (width < 768px) {
  .p-topService__list {
    flex: none;
    width: 100%;
    margin-right: 0;
  }
}

.p-topService__item {
  position: relative;
  display: block;
  aspect-ratio: 800/284;
  overflow: clip;
  background-color: #d9d9d9;
}
@media screen and (width < 768px) {
  .p-topService__item {
    aspect-ratio: auto;
    height: 10rem;
  }
}

.p-topService__thumb {
  position: absolute;
  inset: 0;
  overflow: clip;
  isolation: isolate;
}
.p-topService__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(97, 96, 96, 0) 32.212%, rgba(97, 96, 96, 0.2) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.p-topService__zoom {
  width: 100%;
  height: 100%;
  transition: scale 0.3s ease-in-out;
}

.p-topService__zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topService__tab {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 2rem 0.75rem 0.5rem;
  background-color: #ececec;
  border-top-right-radius: 0.125rem;
}
@media screen and (width < 768px) {
  .p-topService__tab {
    gap: 0.75rem;
    padding: 0.375rem 0.75rem 0.375rem 0.375rem;
    background-color: #F5F9F8;
  }
}

.p-topService__arrow {
  position: relative;
  flex-shrink: 0;
  width: 3rem;
  height: 2rem;
  overflow: clip;
  background-color: var(--c-color-black);
  border-radius: 0.25rem;
}
@media screen and (width < 768px) {
  .p-topService__arrow {
    width: 2rem;
    height: 1.375rem;
  }
}

.p-topService__arrow::before,
.p-topService__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 0.5rem;
  background: url("../img/common/icon_arrow.svg") no-repeat center center/contain;
  filter: brightness(0) invert(1);
  transition: translate 0.3s ease-in-out;
}
@media screen and (width < 768px) {
  .p-topService__arrow::before,
  .p-topService__arrow::after {
    width: 0.625rem;
    height: 0.375rem;
  }
}

.p-topService__arrow::before {
  translate: -50% -50%;
}

.p-topService__arrow::after {
  translate: -500% -50%;
}

.p-topService__name {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-topService__name {
    font-size: 1.125rem;
    font-weight: 500;
  }
}

@media (any-hover: hover) {
  .p-topService__item:hover {
    opacity: 1;
  }
  .p-topService__item:hover .p-topService__zoom {
    scale: 1.03;
  }
  .p-topService__item:hover .p-topService__arrow::before {
    translate: 500% -50%;
  }
  .p-topService__item:hover .p-topService__arrow::after {
    translate: -50% -50%;
  }
}
/* ========================================================
# タブレット（768〜1024px）
# - Figma node 2381-22224
======================================================== */
@media screen and (768px <= width <= 1024px) {
  .p-topService {
    padding-top: 5rem;
  }
  .p-topService__inner {
    max-width: none;
    flex-direction: column;
    gap: 0;
    padding-inline: 4rem;
  }
  .p-topService__aside {
    position: static;
    width: 100%;
    gap: 1rem;
  }
  .p-topService__aside .c-title2__line {
    height: 0;
    border-top: 1px solid rgba(33, 32, 29, 0.5);
    background-color: transparent;
  }
  .p-topService__buttonPc {
    display: none;
  }
  .p-topService__list {
    flex: none;
    width: 100%;
    margin-top: 2.5rem;
    margin-right: 0;
  }
  .p-topService__item {
    height: 13.75rem;
    aspect-ratio: auto;
  }
  .p-topService__buttonSp {
    display: inline-grid;
    margin-top: 2rem;
  }
}
.p-topBg {
  background-color: #F5F9F8;
  position: relative;
  z-index: 0;
}

.p-topBg__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  bottom: -100vh;
}
.p-topBg__bg img {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: left top;
  z-index: 2;
}
.p-topBg__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #FFFDFA;
  z-index: 1;
}
.p-topBg__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 253, 250, 0.6);
  z-index: 3;
}

.p-topMission {
  position: relative;
  overflow: clip;
  background-color: var(--c-color-beige);
}

.p-topMission__inner {
  padding-block: 7.5rem 0;
}
@media screen and (width < 768px) {
  .p-topMission__inner {
    padding-block: 4rem 0;
  }
}

/* ---- 上部：パートナー告知 ---- */
.p-topMission__partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media screen and (width < 768px) {
  .p-topMission__partner {
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.p-topMission__partnerText {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.p-topMission__partnerLead {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-topMission__partnerLead {
    font-size: 1rem;
  }
}

.p-topMission__partnerNote {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-topMission__partnerNote {
    font-size: 0.625rem;
  }
}

.p-topMission__logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
@media screen and (width < 768px) {
  .p-topMission__logos {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.p-topMission__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11.0625rem;
  height: 5.625rem;
  border-radius: 0.25rem;
  background-color: var(--c-color-white);
}
@media screen and (width < 768px) {
  .p-topMission__logo {
    width: 6.125rem;
    height: 3.125rem;
  }
}

.p-topMission__logoImg {
  display: block;
  width: auto;
  height: 3rem;
  object-fit: contain;
  max-width: 7.875rem;
}
@media screen and (width < 768px) {
  .p-topMission__logoImg {
    height: 1.75rem;
    max-width: 4.375rem;
  }
}

.p-topMission__divider {
  display: block;
  width: 100%;
  height: 0.0625rem;
  margin-top: 2rem;
  background-color: var(--c-color-border);
}
@media screen and (width < 768px) {
  .p-topMission__divider {
    margin-top: 1.5rem;
  }
}

/* ---- 本体：見出し・メッセージ・写真・曲線 ---- */
.p-topMission__body {
  position: relative;
  isolation: isolate;
  margin-top: 13.8125rem;
  padding-bottom: 22.6875rem;
}
@media screen and (width < 768px) {
  .p-topMission__body {
    min-height: 0;
    margin-top: 21.125rem;
    gap: 2rem;
    padding-bottom: 4rem;
  }
}

.p-topMission__bodyInner {
  max-width: 46.875rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.p-topMission__curve {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.p-topMission__curve--pc {
  bottom: 0;
  left: min(-31.625rem, -35.1388888889vw);
  width: max(110.6875rem, 122.9861111111vw);
  height: max(81.25rem, 90.2777777778vw);
}
@media screen and (width < 768px) {
  .p-topMission__curve--pc {
    display: none;
  }
}

.p-topMission__curve--sp {
  display: none;
}
@media screen and (width < 768px) {
  .p-topMission__curve--sp {
    display: block;
    top: -14.125rem;
    left: -11.5625rem;
    width: 33.4375rem;
    height: 76.25rem;
  }
}

.p-topMission__curveSvg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.p-topMission__curvePath {
  fill: none;
  stroke: rgba(33, 32, 29, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.p-topMission__title {
  display: flex;
  flex-direction: column;
  gap: 4.6875rem;
  max-width: 42.9375rem;
}
@media screen and (width < 768px) {
  .p-topMission__title {
    max-width: none;
    width: 100%;
    gap: 2rem;
  }
}

.p-topMission__label {
  font-family: var(--c-font-family-sans-en);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-topMission__label {
    font-size: 1rem;
  }
}

.p-topMission__heading {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.4;
  color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-topMission__heading {
    font-size: 2rem;
  }
}

.p-topMission__headingSub {
  font-size: 2rem;
}
@media screen and (width < 768px) {
  .p-topMission__headingSub {
    font-size: 1.25rem;
  }
}

.p-topMission__message {
  max-width: 46.5rem;
  font-family: var(--c-font-family-sans-ja);
  font-weight: 400;
  font-size: 1rem;
  line-height: 2.6;
  color: var(--c-color-black);
  font-feature-settings: "palt";
  margin-top: 10.375rem;
}
@media screen and (width < 768px) {
  .p-topMission__message {
    max-width: none;
    width: 100%;
    line-height: 2.4;
    margin-top: 2.5rem;
  }
}

.p-topMission__actions {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 3rem;
}
@media screen and (width < 768px) {
  .p-topMission__actions {
    width: 100%;
    margin-top: 13.1875rem;
  }
}

/* ---- 写真（clip-path 出現＋パララックス） ---- */
.p-topMission__photo {
  position: absolute;
  z-index: -1;
}

.p-topMission__photoClip {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.125rem;
  overflow: clip;
  background-color: #d9d9d9;
}

.p-topMission__photoImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-topMission__photo--cabin {
  top: 0;
  right: 0;
  width: 27.5rem;
  height: 18.375rem;
}
@media screen and (width < 768px) {
  .p-topMission__photo--cabin {
    top: -15.125rem;
    left: 0;
    right: auto;
    width: 14rem;
    height: 9.3125rem;
    align-self: flex-start;
  }
}

.p-topMission__photo--building {
  top: 23.75rem;
  left: 0;
  width: 10.75rem;
  height: 14.5625rem;
}
@media screen and (width < 768px) {
  .p-topMission__photo--building {
    position: absolute;
    top: -4.1875rem;
    right: 0;
    left: auto;
    width: 7rem;
    height: 9.5rem;
  }
}

.p-topMission__photo--office {
  bottom: 8.625rem;
  left: 39.9375rem;
  width: 26.25rem;
  height: 17.5rem;
}
@media screen and (width < 768px) {
  .p-topMission__photo--office {
    bottom: 13.125rem;
    left: 0;
    width: 13.75rem;
    height: 9.1875rem;
    align-self: flex-start;
  }
}

/* ========================================================
# タブレット（768〜1024px）
# - Figma node 2381-22298 / 2381-22336
======================================================== */
@media screen and (768px <= width <= 1024px) {
  .p-topMission__inner {
    max-width: none;
    padding: 4rem 4rem 0;
  }
  .p-topMission__partner {
    gap: 2.5rem;
  }
  .p-topMission__logos {
    gap: 1rem;
  }
  .p-topMission__logo {
    width: 8.85rem;
    height: 4.5rem;
    border-radius: 0.2rem;
  }
  .p-topMission__logoImg {
    height: 2.4rem;
    max-width: 6.3125rem;
  }
  .p-topMission__divider {
    margin-top: 1.5rem;
  }
  .p-topMission__body {
    width: calc(100% + 8rem);
    max-width: none;
    margin-top: 22.25rem;
    margin-inline: -4rem;
    padding-inline: 4rem;
    padding-bottom: 13.875rem;
  }
  .p-topMission__bodyInner {
    max-width: none;
    margin: 0;
  }
  .p-topMission__curve--pc {
    top: -13rem;
    bottom: auto;
    left: -36.5rem;
    width: 87.25rem;
    height: 64.125rem;
  }
  .p-topMission__title {
    width: 30rem;
    max-width: none;
    gap: 2rem;
  }
  .p-topMission__message {
    max-width: none;
    margin-top: 2rem;
  }
  .p-topMission__actions {
    margin-top: 2rem;
  }
  .p-topMission__photo--cabin {
    top: -17.3125rem;
    right: auto;
    left: 4rem;
    width: 20rem;
    height: 13.3125rem;
  }
  .p-topMission__photo--building {
    top: -7.0625rem;
    right: 4rem;
    left: auto;
    width: 10rem;
    height: 13.5625rem;
  }
  .p-topMission__photo--office {
    right: 4rem;
    bottom: 4rem;
    left: auto;
    width: 20rem;
    height: 13.3125rem;
  }
}
.p-topMv {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100svh;
  overflow: clip;
  background-color: var(--c-color-black);
}
@media screen and (width < 768px) {
  .p-topMv {
    position: relative;
    height: auto;
  }
}

/* ---- 背景スライダー ---- */
.p-topMv .p-topMv__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
@media screen and (width < 768px) {
  .p-topMv .p-topMv__slider {
    position: fixed;
  }
}

.p-topMv__slider .splide__track {
  height: 100%;
}

.p-topMv__slider .splide__list {
  position: relative;
  display: flex;
  height: 100%;
}

.p-topMv__slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: clip;
  opacity: 0;
  transition: opacity 1.2s linear;
}

.p-topMv__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.p-topMv__slideImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform 7s linear;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.p-topMv__slider.is-kenburns .splide__slide.is-active .p-topMv__slideImg {
  transform: scale(1.05);
}
@media screen and (width < 768px) {
  .p-topMv__slider.is-kenburns .splide__slide.is-active .p-topMv__slideImg {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-topMv__slideImg {
    transition: none;
  }
  .p-topMv__slider .splide__slide.is-active .p-topMv__slideImg {
    transform: scale(1);
  }
}
.p-topMv__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%), linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 45%);
}
@media screen and (width < 768px) {
  .p-topMv__overlay {
    position: fixed;
  }
}

.p-topMv__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: #000;
  opacity: 0;
  pointer-events: none;
}
@media screen and (width < 768px) {
  .p-topMv__mask {
    position: fixed;
  }
}

/* ---- コンテンツ ---- */
.p-topMv__inner {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 2.5rem;
  row-gap: 1.5rem;
  align-items: end;
  padding-bottom: 3.5rem;
}
@media screen and (width < 768px) {
  .p-topMv__inner {
    position: relative;
    inset: auto;
    display: block;
    padding-bottom: 8.75rem;
  }
}

.p-topMv__first {
  display: contents;
}
@media screen and (width < 768px) {
  .p-topMv__first {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    min-height: 100svh;
    padding-bottom: 2rem;
  }
}

.p-topMv__heading {
  grid-column: 1/-1;
  font-family: var(--c-font-family-serif-ja);
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 1.2;
  color: var(--c-color-white);
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  font-feature-settings: "palt";
}
@media screen and (width < 768px) {
  .p-topMv__heading {
    font-size: 2.5rem;
  }
}

.p-topMv__headingSub {
  font-size: 3.75rem;
}
@media screen and (width < 768px) {
  .p-topMv__headingSub {
    font-size: 1.875rem;
  }
}

.p-topMv__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media screen and (width < 768px) {
  .p-topMv__intro {
    gap: 1rem;
  }
}

.p-topMv__lead {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--c-color-white);
}
@media screen and (width < 768px) {
  .p-topMv__lead {
    font-size: 0.9375rem;
  }
}

.p-topMv__actions {
  display: flex;
  gap: 0.5rem;
}

.p-topMv__actions .c-btn1 {
  width: 12.5rem;
  justify-content: center;
}
@media screen and (width < 768px) {
  .p-topMv__actions .c-btn1 {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    gap: 0.75rem;
  }
}

/* ---- 数値バー ---- */
.p-topMv__stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 36.125rem;
}
@media screen and (width < 768px) {
  .p-topMv__stats {
    width: 100%;
    gap: 0.375rem;
    margin-top: 0.5rem;
  }
}

.p-topMv__statsList {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  padding-inline: 1rem;
}
@media screen and (width < 768px) {
  .p-topMv__statsList {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0;
    padding-block: 0.5rem 0;
    padding-inline: 0;
  }
  .p-topMv__statsList::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0.0625rem;
    background-image: linear-gradient(to right, var(--c-color-white) 1px, transparent 1px);
    background-size: 0.375rem 0.0625rem;
    background-repeat: repeat-x;
  }
}

.p-topMv__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: var(--c-color-white);
  white-space: nowrap;
}
@media screen and (width < 768px) {
  .p-topMv__stat {
    gap: 0.25rem;
    padding-block: 0.5rem;
  }
}

.p-topMv__stat + .p-topMv__stat::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -1.5rem;
  width: 0.0625rem;
  height: 2.6875rem;
  background-image: linear-gradient(to bottom, var(--c-color-white) 0.0625rem, transparent 0.0625rem);
  background-size: 0.0625rem 0.375rem;
  background-repeat: repeat-y;
}

@media screen and (width < 768px) {
  .p-topMv__stat::before {
    display: none;
  }
  .p-topMv__stat:nth-child(even)::before {
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: auto;
  }
  .p-topMv__stat:nth-child(n+3)::after {
    content: "";
    position: absolute;
    top: -0.125rem;
    right: 0;
    left: 0;
    height: 0.0625rem;
    background-image: linear-gradient(to right, var(--c-color-white) 1px, transparent 1px);
    background-size: 0.375rem 0.0625rem;
    background-repeat: repeat-x;
  }
}
.p-topMv__statLabel {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}
@media screen and (width < 768px) {
  .p-topMv__statLabel {
    font-size: 0.75rem;
  }
}

.p-topMv__statValue {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.p-topMv__statPrefix {
  align-self: flex-start;
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: center;
}
@media screen and (width < 768px) {
  .p-topMv__statPrefix {
    align-self: center;
    font-size: 0.625rem;
    line-height: 1.3;
  }
}

.p-topMv__statNum {
  font-family: var(--c-font-family-serif-ja);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1;
}
@media screen and (width < 768px) {
  .p-topMv__statNum {
    font-size: 1.75rem;
  }
}

.p-topMv__statUnit {
  font-family: var(--c-font-family-sans-ja);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1;
}
@media screen and (width < 768px) {
  .p-topMv__statUnit {
    font-size: 0.875rem;
  }
}

.p-topMv__statsLine {
  display: block;
  width: 100%;
  height: 0.0625rem;
  background-color: var(--c-color-white);
}

/* ---- 後続コンテンツ（MV の上に被さって潜り込む） ---- */
.p-topContent {
  position: relative;
  z-index: 1;
  background-color: var(--c-color-beige);
  padding-bottom: 11rem;
}
@media screen and (width < 768px) {
  .p-topContent {
    padding-bottom: 6rem;
  }
}

/* ========================================================
# タブレット（768〜1024px）
# - Figma node 2381-21942 / 2381-21945
======================================================== */
@media screen and (768px <= width <= 1024px) {
  .p-topMv__inner {
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: none;
    padding-inline: 4rem;
    padding-bottom: 3.0625rem;
  }
  .p-topMv__first {
    display: contents;
  }
  .p-topMv__heading .u-mobile {
    display: block;
  }
  .p-topMv__intro {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .p-topMv__stats {
    width: 100%;
    margin-top: 2rem;
  }
  .p-topMv__stat {
    flex: 1 1 0;
  }
  .p-topContent {
    padding-bottom: 5rem;
  }
}