@media (min-width: 769px) {
  .spOnly {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .pcOnly {
    display: none !important;
  }
}
.button.button-typeE .button__line {
  width: 2px;
  background: var(--button-text);
  height: 2rem;
}

.button.button-typeE:hover .button__line {
  background: currentColor;
}

.button-custom.button-typeE .button__line {
  background: var(--secondary-text);
}

.footer-typeA .footer__button .button {
  border-radius: 0;
  justify-self: end;
}

.footer-typeA .footer__copy {
  text-align: center;
  border-top: 1px solid var(--text-color);
}

@media (min-width: 769px) {
  .footer-typeA .footer__button .button {
    max-width: 220px;
    padding-inline: 10px;
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .footer-typeA .footer__top {
    display: contents;
  }
  .footer-typeA .footer__button {
    flex-wrap: nowrap;
  }
  .footer-typeA .footer__button a {
    padding-inline: 0;
  }
  .footer-typeA .footer__button .button__text {
    font-size: 12px;
  }
  .footer-typeA .footer__button .button__icon {
    display: none;
  }

  .footer-typeA.footer .container {
    display: flex;
    flex-direction: column;
  }

  .footer-typeA .footer__button {
    order: 4;
  }
  .footer-typeA .footer__copy .container {
    font-size: 12px;
  }

  .footer-typeA .footer__button .button {
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
  }
}

.under-mv-typeA {
  border-bottom: 1px solid var(--text-color);
}

.under-mv-typeA .breadcrumb__items {
  justify-content: end;
}

.president-message-typeB .president-message__text {
  line-height: 200%;
}

.president-message-typeB .president-message__info {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: var(--spacing-2);
}

.article .article__content .container {
  padding: 0;
}

.mvv-typeB {
  background: var(--black);
  color: var(--white);
}

.mvv.mvv-typeB .mvv__item {
  align-items: center;
  width: 100%;
  border-top: 1px solid var(--white);
  flex-wrap: nowrap;
}

.mvv.mvv-typeB .mvv__item:nth-of-type(1) {
  border-bottom: none;
}

.mvv.mvv-typeB .mvv__item:nth-last-of-type(1) {
  border-bottom: 1px solid var(--white);
}

.mvv.mvv-typeB .mvv__icon,
.mvv.mvv-typeB .mvv__title {
  max-width: 27rem;
  width: 100%;
  height: 100%;
  text-align: center;
}

.mvv.mvv-typeB .mvv__icon img {
  display: block;
  max-width: 8rem;
  margin: 0 auto;
}

.mvv.mvv-typeB .mvv__title {
  text-align: center;
}

.mvv.mvv-typeB .mvv__content {
  width: 100%;
}

.mvv__subtitle {
  color: var(--tertiary);
}

@media screen and (max-width: 768px) {
  .mvv.mvv-typeB .mvv__item {
    flex-direction: column;
  }

  .mvv.mvv-typeB .mvv__icon,
  .mvv.mvv-typeB .mvv__title {
    max-width: 100%;
  }
}

.heading-typeB.heading-wrap {
  display: flex;
  flex-direction: column;
}

.heading-typeB .heading-sub {
  position: relative;
  color: var(--secondary);
  padding-left: calc(var(--spacing-1) * 2);
}

.heading-typeB .heading-sub::before {
  position: absolute;
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  background: var(--secondary);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.entry-typeA {
  background: url(/wp-content/uploads/2026/11/entry_bg.jpg) center center /
    cover no-repeat;
}
@media screen and (max-width: 768px) {
  .entry-typeA {
    background: url(/wp-content/uploads/2026/11/entry_bg_sp.jpg) center center /
      cover no-repeat;
  }
}
.entry-typeA .entry__content {
  color: var(--secondary-text);
  text-align: center;
}

.entry-typeA .entry__buttons {
  max-width: 90rem;
  width: 100%;
  margin: 0 auto;
}

.entry-typeA .button__text {
  display: block;
  width: 100%;
}

.entry-typeA .button__icon.button__icon04 svg {
  width: 3.2rem;
  height: 3.2rem;
}

.entry-typeA .button__line {
  height: 3.2rem;
}

.entry-typeA .button-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--tertiary);
}

.entry-typeA .button-primary .button__line {
  background: currentColor;
}

.entry-typeA .button-primary svg path {
  fill: currentColor;
}

.entry-typeA .button-primary:hover {
  background: var(--tertiary);
  border-color: var(--button-text02);
  color: var(--white);
}

.entry-typeA .button-primary:hover svg path {
  fill: currentColor;
}

.entry-typeA .button-secondary,
.job-flow .button-secondary {
  background: linear-gradient(90deg, #2a42b0 0%, #6dc2f0 50%, #2a42b0 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: var(--button-text02);
  border: unset;
  transition: background-position 0.4s ease;
}

.entry-typeA .button-secondary:hover,
.job-flow .button-secondary:hover {
  background-position: 100% 50%;
}

.entry-typeA .button-secondary .button__line,
.job-flow .button-secondary .button__line {
  background: var(--button-text02);
}

.entry-typeA .button-secondary svg path,
.job-flow .button-secondary svg path {
  fill: var(--button-text02);
}

.table-typeB .table__header {
  border-bottom: 2px solid var(--text-color);
}

.table-typeB .table__data {
  border-bottom: 2px solid var(--border-color);
}

.menu-typeD .menu__items {
  counter-reset: menu-counter;
}

.menu-typeD .menu__item {
  counter-increment: menu-counter;
  position: relative;
  color: var(--white);
}

.menu-typeD .menu__number::before {
  content: "( " counter(menu-counter, decimal-leading-zero) " )";
}

.menu-typeD .menu__item a {
  color: var(--white);
}

.menu-typeD .menu__item {
  min-height: calc(30 * var(--unit-full));
  background-size: cover;
}

.menu-typeD .menu__item:nth-of-type(1) {
  background-image: url(https://placehold.jp/720x300.png);
}

.menu-typeD .menu__item:nth-of-type(2) {
  background-image: url(https://placehold.jp/720x300.png);
}

.menu-typeD .menu__item:nth-of-type(3) {
  background-image: url(https://placehold.jp/720x300.png);
}

.menu-typeD .menu__item:nth-of-type(4) {
  background-image: url(https://placehold.jp/720x300.png);
}

/* 親の background は子（画像・box）の下に描かれるため見えない。画像の上に重ねる */
.menu-typeD .menu__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(
    180deg,
    rgba(0, 51, 255, 0) 0%,
    rgba(0, 51, 255, 0.8) 100%
  );
}

.menu-typeD .menu__item:has(a):hover::before {
  opacity: 1;
}

.menu-typeD .menu__box {
  height: 100%;
  position: relative;
  z-index: 1;
}

.menu-typeD .menu__text {
  line-height: 200%;
}

.menu-typeD .menu__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-1);
}

.menu-typeD .menu__tag {
  background: var(--tertiary);
  border-radius: 4px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

@media screen and (max-width: 768px) {
  .menu-typeD .menu__item {
    min-height: calc(32 * var(--unit-sp-full));
  }

  .menu-typeD .menu__item:nth-of-type(1) {
    background-image: url(https://placehold.jp/375x320.png);
  }

  .menu-typeD .menu__item:nth-of-type(2) {
    background-image: url(https://placehold.jp/375x320.png);
  }

  .menu-typeD .menu__item:nth-of-type(3) {
    background-image: url(https://placehold.jp/375x320.png);
  }

  .menu-typeD .menu__item:nth-of-type(4) {
    background-image: url(https://placehold.jp/375x320.png);
  }
}

.history-typeC .history__item {
  width: 50%;
  margin-left: auto;
  position: relative;
  padding-left: calc(var(--spacing-6) + 1.2rem);
}

.history-typeC .history__item:nth-of-type(even) {
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  padding-right: calc(var(--spacing-6) + 1.2rem);
  display: flex;
  flex-direction: column;
  align-items: end;
}

.history-typeC .history__item::before {
  position: absolute;
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  background: var(--tertiary);
  left: -0.6rem;
  top: 0.7rem;
}

.history-typeC .history__item:nth-of-type(even)::before {
  left: auto;
  right: -0.6rem;
}

/* 縦線も同じ中央軸（ブロックの角から 2px の半分だけ内側＝-1px） */
.history-typeC .history__item::after {
  position: absolute;
  content: "";
  width: 2px;
  height: calc(100% - 0.7rem);
  background: var(--tertiary);
  top: 1.5rem;
  left: -1px;
}

.history-typeC .history__item:nth-of-type(even)::after {
  left: auto;
  right: -1px;
}

.history-typeC .history__month {
  flex-shrink: 0;
}

.history-typeC .history__date {
  display: flex;
  color: var(--secondary);
}

.history-typeC .history__box {
  display: flex;
}

.history-typeC .history__img {
  max-width: 30rem;
  width: 100%;
}

/* SP: 奇数だけ margin-left:auto のままだと右寄せ50%が残る。偶数だけ上書きしても揃わない */
@media screen and (max-width: 768px) {
  .history-typeC .history__item {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: calc(var(--spacing-3) + 1.2rem);
    padding-right: 0;
  }

  .history-typeC .history__item:nth-of-type(even) {
    padding-left: calc(var(--spacing-3) + 1.2rem);
    padding-right: 0;
    align-items: flex-start;
  }

  /* 1カラム・左基準：ドット／縦線をパディング左端基準に（中央50%用の負の値はやめる） */
  .history-typeC .history__item::before {
    left: 0;
    top: 0;
  }

  .history-typeC .history__item:nth-of-type(even)::before {
    left: 0;
    right: auto;
  }

  .history-typeC .history__item::after {
    left: calc(0.6rem - 1px);
    top: 1.2rem;
  }

  .history-typeC .history__item:nth-of-type(even)::after {
    left: calc(0.6rem - 1px);
    right: auto;
  }
}

.map-typeA .map__content {
  row-gap: var(--spacing-5);
}

.map-typeA .map__head {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1200 / 240;
}

.map-typeA .map__head iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-typeA .map__bottom {
  gap: var(--spacing-3);
}

.map-typeA .map__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
}

.map-typeA .map__button {
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
  border: 2px solid var(--text-color);
  border-radius: 4px;
  font-size: var(--caption);
  line-height: 160%;
}

.map-typeA .map__icon {
  display: flex;
  align-items: center;
}

.map-typeA .map__img {
  max-width: 2.8rem;
  flex-shrink: 0;
}

.map-typeA .map__heading {
  flex-shrink: 0;
  max-width: 6rem;
  min-width: 6rem;
  margin: 0;
}

.map-typeA .map__item.flex {
  flex-wrap: wrap;
}

.map-typeA .map__item.flex .map__group {
  flex: 0 1 auto;
  min-width: min(100%, 14rem);
  max-width: 100%;
}

.map-typeA .map__item.flex .map__access {
  overflow-wrap: normal;
}

.map-typeA .map__group {
  display: flex;
  align-items: start;
  min-width: 0;
}

.map-typeA .map__item {
  align-items: center;
}

.map-typeA .map__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-typeA .map__items > .map__item:last-child {
  margin-bottom: 0;
}

.future__text {
  text-align: center;
  line-height: 200%;
  background-image: url(https://placehold.jp/1440x340.png);
  width: 100%;
  aspect-ratio: 1440 / 401;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.demand-typeC .demand__item {
  border: 1px solid var(--border-color);
  position: relative;
  margin-top: 3.2rem;
  counter-increment: demand-step;
}

.demand-typeC .demand__items {
  counter-reset: demand-step;
}

.demand-typeC .demand__item::before {
  position: absolute;
  content: counter(demand-step, decimal-leading-zero);
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 6.4rem;
  height: 6.4rem;
  background: var(--tertiary);
  color: var(--tertiary-text);
  font-size: var(--heading04);
  line-height: var(--heading04-line-height);
  letter-spacing: var(--heading04-letter-spacing);
  font-weight: var(--heading04-weight);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius03);
}

.demand-typeC .demand__icon {
  max-width: 16rem;
  width: 100%;
  margin: 0 auto;
}

.demand-typeC .demand__icon svg {
  width: 100%;
  height: 100%;
}

.demand-typeC .demand__title {
  text-align: center;
}

@media (max-width: 768px) {
  .demand-typeC .demand__item::before {
    font-size: var(--heading04-sp);
    width: 4.8rem;
    height: 4.8rem;
  }
}

.flow-typeD .flow__item {
  border: 1px solid var(--border-color);
  background: var(--white);
  display: flex;
  align-items: center;
}

.flow-typeD .flow__line {
  background: var(--black);
  height: 4rem;
  width: 2px;
  flex-shrink: 0;
}

.flow-typeD .flow__step {
  color: var(--secondary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .flow-typeD .flow__item {
    flex-direction: column;
  }

  .flow-typeD .flow__line {
    height: 2px;
    width: 3.6rem;
  }
}

.demand-typeB .demand__item {
  border: 1px solid var(--border-color);
}

.demand-typeB .demand__icon {
  background: var(--secondary);
  border-radius: 5px;
  max-width: 4rem;
}

/* interview-typeA */
.interview-typeA .interview__img {
  position: relative;
}

.interview-typeA .interview__arrow {
  position: absolute;
  bottom: var(--spacing-3);
  right: var(--spacing-3);
}

.interview-typeA .interview__tag {
  position: absolute;
  top: var(--spacing-3);
  left: var(--spacing-3);
  background: var(--black);
  color: var(--secondary-text);
  display: inline-block;
}

.interview-typeA .interview__arrow {
  width: 4rem;
  height: 4rem;
}

.interview-typeA .interview__arrow svg {
  width: 100%;
  height: 100%;
}

.interview-typeA .interview__link:hover .interview__body {
  color: var(--secondary);
}

.interview-typeA .interview__link:hover .interview__tag {
  background: var(--secondary);
}

.interview-typeA .interview__link:hover .interview__arrow svg {
  fill: var(--secondary);
}

.interview-typeA .interview__link:hover .interview__arrow .interview__frame {
  stroke: var(--secondary);
}

.interview-typeA .interview__link:hover .interview__arrow .interview__path {
  stroke: var(--secondary-text);
}

.benefits-typeA .benefits__item {
  text-align: center;
  border: 1px solid var(--border-color);
}

.benefits-typeA .benefits__icon {
  width: 8.1rem;
  margin: 0 auto;
}

.career-typeB .career__items {
  display: flex;
  align-items: end;
}

.career-typeB .career__item {
  width: 25%;
}

.career-typeB .career__title {
  text-align: center;
}

.career-typeB .career__subtitle {
  text-align: center;
}

/* 透明度の変数を定義 */
.career-typeB {
  --career-opacity-1: 20%;
  --career-opacity-2: 40%;
  --career-opacity-3: 60%;
  --career-opacity-4: 80%;
  --career-opacity-5: 100%;
}

.career-typeB .career__item:nth-of-type(1) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-1),
    transparent
  );
  height: 10rem;
  color: var(--tertiary);
}

.career-typeB .career__item:nth-of-type(2) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-2),
    transparent
  );
  height: 14rem;
  color: var(--tertiary);
}

.career-typeB .career__item:nth-of-type(3) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-3),
    transparent
  );
  height: 18rem;
  color: #fff;
}

.career-typeB .career__item:nth-of-type(4) .career__content {
  background: color-mix(
    in srgb,
    var(--tertiary) var(--career-opacity-4),
    transparent
  );
  height: 24rem;
  color: #fff;
}

.career-typeB .career__item:nth-of-type(5) .career__content {
  background: color-mix(
    in srgb,
    var(--tertiary) var(--career-opacity-5),
    transparent
  );
  height: 32rem;
  color: #fff;
}

.career-typeB .career__steps {
  display: flex;
}

.career-typeB .career__step {
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4.8rem;
  clip-path: polygon(
    0px 0px,
    calc(100% - 18px) 0px,
    calc(100% - 0px) calc(50% - -0.5217px),
    calc(100% - 18px) calc(100% - 0px),
    0px calc(100% - 0px),
    0px 0px
  );
}

.career-typeB .career__step.first {
  width: 24rem;
  background-color: color-mix(in srgb, var(--text-color) 40%, transparent);
}

.career-typeB .career__step.second {
  width: calc(100% - 24rem);
  background-color: color-mix(in srgb, var(--text-color) 60%, transparent);
}

.career-typeB .career__step.third {
  background: linear-gradient(90deg, #d4d6e2 0%, #01033e 100%);
}

@media screen and (max-width: 768px) {
  .career-typeB .career__items {
    flex-direction: column;
    align-items: start;
  }

  .career-typeB .career__item {
    height: auto;
    width: 100%;
    display: flex;
    text-align: left;
    flex-direction: row-reverse;
    justify-content: start;
  }

  .career-typeB .career__item:nth-of-type(1) .career__content {
    width: 12rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(2) .career__content {
    width: 15rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(3) .career__content {
    width: 18rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(4) .career__content {
    width: 21rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(5) .career__content {
    width: 24rem;
    height: auto;
  }

  .career-typeB .career__subtitle {
    text-align: left;
  }

  .career-typeB .career__title {
    display: flex;
    align-items: center;
  }

  .career-typeB .career__step.first {
    width: 13rem;
  }

  .career-typeB .career__step.second {
    width: calc(100% - 13rem);
  }

  .career-typeB .career__step {
    height: 6.4rem;
  }
}

.career.career-typeC .career__head {
  display: flex;
  align-items: center;
}

.career.career-typeC .career__left {
  max-width: 18rem;
  width: 100%;
}

.career.career-typeC .career__post {
  color: var(--secondary);
}

.career.career-typeC .career__title {
  color: var(--secondary);
}

.career.career-typeC .career__description {
  background: var(--tertiary);
  color: var(--tertiary-text);
  width: fit-content;
}

.career.career-typeC .career__number {
  color: var(--secondary);
}

/* career-typeC メンバー一覧 Splide（コンテナ幅内に収める） */
.career.career-typeC .career__content {
  min-width: 0;
}

.career.career-typeC .career__body {
  min-width: 0;
  background: var(--primary);
}

.career.career-typeC .career__slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
}

.career.career-typeC #career-lists-prev {
  left: -1.6rem;
  transform: translateX(-100%);
  position: absolute;
}

.career.career-typeC #career-lists-next {
  right: -1.6rem;
  transform: translateX(100%);
  position: absolute;
}

.career-typeC .career__item {
  background: var(--white);
}

@media screen and (max-width: 768px) {
  .career__slider-button svg {
    width: 3.2rem;
    height: 3.2rem;
  }

  .career.career-typeC #career-lists-prev {
    left: -1rem;
    transform: translateZ(0);
  }

  .career.career-typeC #career-lists-next {
    right: -1rem;
    transform: translateZ(0);
  }

  .career.career-typeC .career__head {
    flex-wrap: wrap;
  }

  .career.career-typeC .career__left {
    max-width: 12rem;
  }

  .career.career-typeC .career__right {
    display: contents;
  }

  .career.career-typeC .career__info {
    width: calc((100% - var(--spacing-4-sp) - 12rem));
  }
}

.description-typeB .description__content {
  flex-wrap: nowrap;
  align-items: center;
}

.description-typeB .description__left {
  flex-shrink: 0;
  width: 25%;
}

.description-typeB .description__right {
  flex-shrink: 0;
  width: 75%;
}

.description-typeB .description__item {
  flex-wrap: nowrap;
  border-bottom: 2px solid var(--border-color);
}

.description-typeB .description__item:nth-of-type(1) {
  border-top: 2px solid var(--border-color);
}

.description-typeB .description__title {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .description-typeB .description__content {
    flex-direction: column;
  }

  .description-typeB .description__left {
    width: 100%;
  }

  .description-typeB .description__right {
    width: 100%;
  }

  .description-typeB .description__item:nth-of-type(1) {
    border-top: none;
    padding-top: 0;
  }

  .description-typeB .description__item {
    flex-direction: column;
  }
}

.article-mv-typeA.article-mv {
  position: relative;
}

.article-mv-typeA .article-mv__box {
  position: absolute;
  bottom: var(--spacing-7-full);
  left: var(--spacing-4-full);
}

.article-mv-typeA .article-mv__info {
  color: var(--secondary);
}

.article-mv-typeA .article-mv__text {
  display: flex;
  flex-direction: column;
}

.article-mv-typeA .article-mv__text span {
  background: var(--black);
  color: var(--white);
  width: fit-content;
}

.description-typeD .description__item {
  border-bottom: 1px solid var(--border-color);
}

.description-typeD .description__head {
  display: flex;
  align-items: center;
}

.description-typeD .description__number {
  color: var(--secondary);
}

.flow-typeA .flow__item {
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--secondary);
  position: relative;
}

.flow-typeA .flow__item:nth-last-of-type(1) {
  color: var(--secondary-text);
  background: var(--secondary);
}

.flow-typeA .flow__items {
  counter-reset: number;
  gap: 1.8rem;
}

.flow-typeA .flow__title {
  line-height: 180%;
}

.flow-typeA .flow__number {
  line-height: 120%;
}

.flow-typeA .flow__number::before {
  counter-increment: number;
  content: counter(number, decimal-leading-zero);
}

.flow-typeA .flow__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  display: flex;
}

.flow-typeA .flow__arrow svg {
  width: 1.8rem;
  height: 3.4rem;
}

.flow-typeA .flow__arrow svg path {
  fill: var(--secondary);
}

@media (max-width: 768px) {
  .flow-typeA .flow__arrow {
    position: absolute;
    right: 50%;
    top: auto;
    bottom: -2.6rem;
    transform: translateY(0%) translateX(50%) rotate(90deg);
  }

  .flow-typeA .flow__arrow svg {
    width: 1.8rem;
    height: 3.4rem;
  }

  .flow-typeA .flow__items {
    gap: 1.8rem;
  }
}

.faq-typeB .faq__answer {
  background: var(--border-color);
}

.faq-typeB .faq__item {
  border-bottom: 1px solid var(--border-color);
}

.faq-typeB .faq__question-icon {
  color: var(--text-color);
}

.faq-typeB .faq__answer-icon {
  color: var(--link-text-hover);
}

.president-message-typeA .president-message__content {
  align-items: start;
}

.president-message-typeA .president-message__text {
  line-height: 200%;
}

.president-message-typeA .president-message__info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.description-typeA .description__title span {
  display: block;
}

.description-typeA .description__subtitle {
  color: var(--tertiary);
  font-weight: var(--semibold);
}

.description-typeA .description__content {
  display: flex;
  align-items: start;
  gap: var(--gap-x);
}

.description-typeA .description__item {
  border-bottom: 2px solid var(--border-color);
}

.description-typeA .description__item:nth-last-of-type(1) {
  margin-bottom: 0;
}

.description-typeA .description__left {
  width: 30%;
  flex-shrink: 0;
}

.description-typeA .description__right {
  width: 70%;
}

.description-typeA .description__group {
  list-style: none;
}

.description-typeA .descriptiohn__unit {
  background: var(--primary);
}

@media (max-width: 768px) {
  .description-typeA .description__content {
    flex-direction: column;
    gap: var(--gap-x-sp);
  }

  .description-typeA .description__left {
    width: 100%;
    text-align: center;
  }

  .description-typeA .description__right {
    width: 100%;
  }
}

.description-typeC .description__item {
  position: relative;
  counter-increment: work-style;
}

.description-typeC .description__items {
  counter-reset: work-style;
}

.description-typeC .description__title {
  text-align: center;
}

.description-typeC .description__tag {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--secondary-text);
  color: var(--secondary);
  font-weight: var(--semibold);
  font-size: var(--caption);
  line-height: 200%;
  letter-spacing: var(--caption-letter-spacing);
  padding: 0 var(--spacing-2);
}

.description-typeC .description__tag::before {
  content: "Work Style " counter(work-style, decimal-leading-zero);
  color: var(--secondary);
  display: none;
}
.description-typeC .description__item a {
  display: block;
  overflow: hidden;
}
.description-typeC .description__item a:hover img {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.local-navigation-typeB .tab__items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8rem;
}
@media (max-width: 768px) {
  .local-navigation-typeB .tab__items {
    margin-bottom: 2.4rem;
  }
  .description-typeC .description__title {
    font-size: 2rem;
  }
}
.demand__text {
  text-align: center;
}

.local-navigation-typeB .tab__item {
  max-width: 20rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
}
@media (min-width: 769px) {
  .local-navigation-typeB .tab__item {
    max-width: 40rem;
  }
}

.interview .local-navigation-typeB .tab__item {
  max-width: 20rem;
}
.interview .local-navigation-typeB .local-navigation__text {
  padding-block: 8px;
  border: unset;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}
.interview .local-navigation-typeB .tab__items {
  justify-content: left;
}

.local-navigation-typeB .local-navigation__text {
  display: block;
  border-radius: 0;
  color: var(--primary-text);
  border: 1px solid var(--primary-text);
  padding-block: 20px;
}

.local-navigation-typeB .local-navigation__text.active {
  background: var(--primary-text);
  color: var(--white);
}
.local-navigation-typeB .local-navigation__text:hover {
  background: var(--primary-text);
  color: var(--white);
}
.interview-disc {
  margin-top: 8rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .interview .local-navigation-typeB .tab__item {
    max-width: 10rem;
  }
  .local-navigation-typeB .local-navigation__panel:not(.is-active) {
    display: none;
  }
  .local-navigation-typeB .local-navigation__text {
    padding-block: 13px;
  }
  .interview-disc {
    margin-top: 6rem;
    margin-bottom: 2.4rem;
  }
}

@media (max-width: 768px) {
  .local-navigation-typeB .tab__item {
    width: 100%;
    max-width: 160px;
  }
}
.heading-typeC.heading-wrap {
  display: flex;
  justify-content: start;
  align-items: end;
}

.heading-typeC .heading-main {
  border-bottom: 2px solid var(--secondary);
  display: block;
  flex-shrink: 0;
  color: var(--secondary);
}

.heading-typeC .heading-sub {
  border-bottom: 2px solid var(--text-color);
  display: block;
  width: 100%;
}

.description-typeC .description__item {
  position: relative;
  counter-increment: work-style;
}

.description-typeC .description__items {
  counter-reset: work-style;
}

.description-typeC .description__title {
  text-align: center;
}

.description-typeC .description__tag {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--secondary-text);
  color: var(--secondary);
  font-weight: var(--semibold);
  font-size: var(--caption);
  line-height: 200%;
  letter-spacing: var(--caption-letter-spacing);
  padding: 0 var(--spacing-2);
}

.description-typeC .description__tag::before {
  content: "Work Style " counter(work-style, decimal-leading-zero);
}

/* 追加 */
.center_text_mv {
  position: relative;
}
.center_text_mv .text_wrap {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  color: #fff;
}

.educational-system .description__tag {
  display: none;
}
/* ===== 自動横スライド（CSSのみ） ===== */
.image-marquee {
  --marquee-height: 300px; /* PCの高さ */
  --marquee-gap: 0px; /* 画像の間隔 */
  --marquee-duration: 40s; /* 1周にかかる時間（大きいほどゆっくり） */
  display: flex;
  width: 100%;
  overflow: hidden;
}
@media (max-width: 767px) {
  .image-marquee {
    --marquee-height: 200px; /* SPの高さ */
  }
}

.image-marquee__track {
  display: flex;
  flex-shrink: 0;
  height: var(--marquee-height);
  margin: 0;
  padding: 0;
  list-style: none;
  animation: image-marquee var(--marquee-duration) linear infinite;
}
/* 右へ流したい場合は .image-marquee に is-reverse を付ける */
.image-marquee.is-reverse .image-marquee__track {
  animation-direction: reverse;
}
/* ホバーで止めたい場合は .image-marquee に is-hover-stop を付ける */
.image-marquee.is-hover-stop:hover .image-marquee__track {
  animation-play-state: paused;
}

@keyframes image-marquee {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.image-marquee__item {
  flex: 0 0 auto;
  height: 100%;
  margin-right: var(--marquee-gap);
}
.image-marquee__item img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  .image-marquee__track {
    animation: none;
  }
}

.career-typeB .career__items {
  display: flex;
  align-items: end;
}

.career-typeB .career__item {
  width: 25%;
}

.career-typeB .career__title {
  text-align: center;
}

.career-typeB .career__subtitle {
  text-align: center;
}

/* 透明度の変数を定義 */
.career-typeB {
  --career-opacity-1: 20%;
  --career-opacity-2: 40%;
  --career-opacity-3: 60%;
  --career-opacity-4: 80%;
  --career-opacity-5: 100%;
}

.career-typeB .career__item:nth-of-type(1) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-1),
    transparent
  );
  height: 10rem;
  color: var(--tertiary);
}

.career-typeB .career__item:nth-of-type(2) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-2),
    transparent
  );
  height: 14rem;
  color: var(--tertiary);
}

.career-typeB .career__item:nth-of-type(3) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-3),
    transparent
  );
  height: 18rem;
  color: #fff;
}

.career-typeB .career__item:nth-of-type(4) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-4),
    transparent
  );
  height: 24rem;
  color: #fff;
}

.career-typeB .career__item:nth-of-type(5) .career__content {
  background: color-mix(
    in srgb,
    var(--secondary) var(--career-opacity-5),
    transparent
  );
  height: 32rem;
  color: #fff;
}

.career-typeB .career__steps {
  display: flex;
}

.career-typeB .career__step {
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4.8rem;
  clip-path: polygon(
    0px 0px,
    calc(100% - 18px) 0px,
    calc(100% - 0px) calc(50% - -0.5217px),
    calc(100% - 18px) calc(100% - 0px),
    0px calc(100% - 0px),
    0px 0px
  );
}

.career-typeB .career__step.first {
  width: 24rem;
  background-color: color-mix(in srgb, var(--text-color) 40%, transparent);
}

.career-typeB .career__step.second {
  width: calc(100% - 24rem);
  background-color: color-mix(in srgb, var(--text-color) 60%, transparent);
}

.career-typeB .career__step.third {
  background: linear-gradient(
    90deg,
    var(--border-color) 0%,
    var(--text-color) 100%
  );
}

@media screen and (max-width: 768px) {
  .career-typeB .career__items {
    flex-direction: column;
    align-items: start;
  }

  .career-typeB .career__item {
    height: auto;
    width: 100%;
    display: flex;
    text-align: left;
    flex-direction: row-reverse;
    justify-content: start;
  }

  .career-typeB .career__item:nth-of-type(1) .career__content {
    width: 12rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(2) .career__content {
    width: 15rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(3) .career__content {
    width: 18rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(4) .career__content {
    width: 21rem;
    height: auto;
  }

  .career-typeB .career__item:nth-of-type(5) .career__content {
    width: 24rem;
    height: auto;
  }

  .career-typeB .career__subtitle {
    text-align: left;
  }

  .career-typeB .career__title {
    display: flex;
    align-items: center;
  }

  .career-typeB .career__step.first {
    width: 13rem;
  }

  .career-typeB .career__step.second {
    width: calc(100% - 13rem);
  }

  .career-typeB .career__step {
    height: 6.4rem;
  }
}

.career-path .career__content {
  position: relative;
}
.career-path .career__content .ttl {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid #000000;
  width: 100%;
  max-width: 180px;
  text-align: center;
  padding-block: 10px;
}
@media screen and (max-width: 768px) {
  .career-path .career__content .ttl {
    position: static;
    max-width: 100%;
    padding-block: 5px;
  }
}

.president-message-typeA .president-message__content {
  align-items: start;
}

.president-message-typeA .president-message__text {
  line-height: 200%;
}

.president-message-typeA .president-message__info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
@media (min-width: 769px) {
  .president-message-typeA .grid-2 {
    grid-template-columns: 1fr 2fr;
  }
}
.description-typeA .description__title span {
  display: block;
}

.description-typeA .description__subtitle {
  color: var(--secondary);
}

.description-typeA .description__content {
  display: flex;
  align-items: start;
  gap: var(--gap-x);
}

.description-typeA .description__item {
  border-bottom: 2px solid var(--border-color);
}

.description-typeA .description__item:nth-last-of-type(1) {
  margin-bottom: 0;
}

.description-typeA .description__left {
  width: 30%;
  flex-shrink: 0;
}

.description-typeA .description__right {
  width: 70%;
}

.description-typeA .description__group {
  list-style: none;
}

.description-typeA .descriptiohn__unit {
  background: var(--primary);
}

@media (max-width: 768px) {
  .description-typeA .description__content {
    flex-direction: column;
    gap: var(--gap-x-sp);
  }

  .description-typeA .description__left {
    width: 100%;
    text-align: center;
  }

  .description-typeA .description__right {
    width: 100%;
  }
}

.table-typeA .table__content {
  border: 1px solid #d9d9d9;
}

.table-typeA .table__item {
  border-bottom: 1px solid #d9d9d9;
  transition: background-color 0.3s ease;
}

.table-typeA .table__item:last-child {
  border-bottom: none;
}

.table-typeA .table__header {
  background: var(--tertiary);
  color: var(--secondary-text);
}

.map-typeA .map__content {
  row-gap: var(--spacing-5);
}

.map-typeA .map__head {
  position: relative;
  overflow: hidden;
  aspect-ratio: 574 / 190;
}
@media (max-width: 768px) {
  .map-typeA .map__head {
    aspect-ratio: 345 / 150;
  }
}

.map-typeA .map__head iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .map-typeA .map__head iframe {
    width: 345px !important;
    height: 150px !important;
  }
}

.map-typeA .map__bottom {
  gap: var(--spacing-3);
}

.map-typeA .map__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
}

.map-typeA .map__button {
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
  border: 2px solid var(--tertiary);
  color: var(--tertiary);
  border-radius: 4px;
  font-size: var(--caption);
  line-height: 160%;
}
.map-typeA .map__button path {
  stroke: var(--tertiary);
}
.map-typeA .map__button:hover {
  color: var(--white);
  background-color: var(--tertiary);
}
.map-typeA .map__button:hover path {
  stroke: var(--white);
}

.map-typeA .map__icon {
  display: flex;
  align-items: center;
}

.map-typeA .map__img {
  max-width: 2.8rem;
  flex-shrink: 0;
}

.map-typeA .map__heading {
  flex-shrink: 0;
  max-width: 6rem;
  min-width: 6rem;
  margin: 0;
}

.map-typeA .map__item.flex {
  flex-wrap: wrap;
}

.map-typeA .map__item.flex .map__group {
  flex: 0 1 auto;
  min-width: min(100%, 14rem);
  max-width: 100%;
}

.map-typeA .map__item.flex .map__access {
  overflow-wrap: normal;
}

.map-typeA .map__group {
  display: flex;
  align-items: start;
  min-width: 0;
}

.map-typeA .map__item {
  align-items: center;
}

.map-typeA .map__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-typeA .map__items > .map__item:last-child {
  margin-bottom: 0;
}

.interview-typeB .interview__tag {
  background: var(--secondary);
  color: var(--white);
  display: inline-block;
  position: absolute;
  right: var(--spacing-3);
  top: var(--spacing-3);
  z-index: 2;
}

.interview-typeB .interview__link {
  position: relative;
  color: var(--white);
  display: block;
}

.interview-typeB .interview__link::before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(1, 3, 62, 0) 40%,
    rgba(25, 35, 80, 0.8) 100%
  );
  opacity: 1;
  transition: opacity 0.6s; /* 疑似要素に付ける */
}

.interview-typeB .interview__link:hover::before {
  opacity: 0; /* background は触らない */
}

.interview-typeB .interview__body {
  position: absolute;
  bottom: 0;
  z-index: 2;
  width: calc(100% - var(--spacing-3) * 2);
  bottom: var(--spacing-3);
  left: 50%;
  transform: translateX(-50%);
  gap: 1.2rem;
}
.interview-typeB .interview__name {
  line-height: 1;
}

.interview-typeB .interview__link:hover .interview__tag {
  background: var(--black);
}

.interview-typeB .interview__link:hover::after {
  opacity: 1;
}

.article-mv-typeA.article-mv {
  position: relative;
}

.article-mv-typeA .article-mv__box {
  position: absolute;
  bottom: var(--spacing-7-full);
  left: var(--spacing-4-full);
}

.article-mv-typeA .article-mv__info {
  color: var(--tertiary);
}

.article-mv-typeA .article-mv__text {
  display: flex;
  flex-direction: column;
}

.article-mv-typeA .article-mv__text span {
  background: var(--primary-text);
  color: var(--white);
  width: fit-content;
}

.job-content .description-typeC .description__tag {
  display: none;
}

.table-typeA .table__content {
  border: 1px solid #d9d9d9;
  background-color: #fff;
}

.table-typeA .table__item {
  border-bottom: 1px solid #d9d9d9;
  transition: background-color 0.3s ease;
}

.table-typeA .table__item:last-child {
  border-bottom: none;
}

.table-typeA .table__header {
  background: var(--tertiary);
  color: var(--secondary-text);
  vertical-align: top;
}

.flow-typeB {
  max-width: 100rem;
  margin-inline: auto;
}
.flow-typeB .flow__items {
  counter-reset: number;
  padding-left: 2.5rem;
}

.flow-typeB .flow__item {
  position: relative;
}

.flow-typeB .flow__item::before {
  position: absolute;
  content: "";
  width: 2px;
  height: 100%;
  background: var(--link-text-hover);
  left: 7px;
  bottom: -2.8rem;
}

.flow-typeB .flow__item:nth-last-of-type(1):before {
  display: none;
}

.flow-typeB .flow__title {
  position: relative;
  color: var(--link-text-hover);
}

.flow-typeB .flow__title::before {
  position: absolute;
  content: counter(number, decimal-leading-zero);
  counter-increment: number;
  background: var(--link-text-hover);
  color: var(--secondary-text);
  font-size: var(--heading04);
  letter-spacing: var(--heading04-letter-spacing);
  font-weight: var(--heading04-weight);
  line-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: calc(-1 * var(--spacing-7) - 2.2rem);
  transform: translateY(-50%);
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  font-family: "inter";
}

.flow-typeB .flow__number {
  background: var(--link-text-hover);
  color: var(--secondary-text);
  display: inline-block;
  line-height: normal;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .flow-typeB .flow__title::before {
    left: calc(-2.8rem - 3.5rem);
    font-size: var(--heading04-sp);
    width: 4rem;
    height: 4rem;
  }
  .flow-typeB .flow__item::before {
    left: -3px;
  }
}

.persona {
  --persona-icon-bg: #1f4e9c;
  --persona-heading: #2a56b5;
  --persona-text: #333;
  --persona-border: #9cc3e6;
}

.persona__item + .persona__item {
  margin-top: 28px;
}

.persona__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.persona__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--persona-icon-bg);
  border-radius: 2px;
  display: grid;
  place-items: center;
}

.persona__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.persona__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--persona-heading);
}

.persona__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--persona-text);
}

@media (max-width: 767px) {
  .persona {
    padding: 20px 16px 24px;
  }
  .persona__item + .persona__item {
    margin-top: 24px;
  }
  .persona__title {
    font-size: 15px;
  }
}

.view-other-job {
  background-color: #fff;
  padding-block: 8rem;
}

.job-flow .flex.center {
  margin-top: 8rem;
  justify-content: center;
}
.job-flow .button-secondary {
  box-shadow: 4px 4px 4px 0px #00000040;
}
@media (min-width: 768px) {
  .job-flow .button-secondary {
    max-width: 500px;
    min-height: 90px;
    width: 100%;
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .job-flow .flex.center {
    margin-top: 2.4rem;
  }
  .job-flow .button-secondary {
    max-width: 100%;
    width: 100%;
  }
}

.footer__logo a,
header .logo__link {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--tertiary);
}
.footer__logo a img {
  flex-shrink: 0;
  width: 120px;
}
header .logo__link {
  font-weight: 500;
  font-size: 16px;
}
header .logo__link img {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  header .logo__link img {
    width: 52px;
  }
  .footer__logo a img {
    flex-shrink: 0;
    width: 75px;
  }
  .footer__logo a {
    font-size: 2rem;
  }
}

.button.button-typeC {
  border: none;
  border: 2px solid var(--button-border-color);
  border-radius: 0;
}

.button.button-typeC:hover {
  background: var(--tertiary);
  color: #fff;
  border-color: var(--tertiary);
}

.button.button-typeC:hover .button__icon03 svg rect {
  fill: #fff;
}
.button.button-typeC:hover .button__icon03 svg path {
  fill: var(--tertiary);
}

.section-title__en {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.section-title__ja {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  line-height: 1.4;
}

.section-title__ja::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: #2a4fb5;
}

@media (max-width: 767px) {
  .section-title__ja {
    margin-top: 8px;
  }
}

.faq-typeB .faq__answer {
  background: var(--border-color);
}

.faq-typeB .faq__item {
  border-bottom: 1px solid var(--border-color);
}

.faq-typeB .faq__question-icon {
  color: var(--text-color);
}

.faq-typeB .faq__answer-icon {
  color: var(--link-text-hover);
}

.banner-sec .container {
  max-width: 800px;
}
.banner-sec .container a:hover {
  transition: 0.7s;
}
.banner-sec .container a:hover img {
  transform: scale(1.02);
}

.demand-typeB .demand__item {
  border: 1px solid var(--border-color);
}

.demand-typeB .demand__icon {
  background: var(--secondary);
  border-radius: 5px;
  max-width: 4rem;
}
.button.button-typeD {
  box-shadow: 4px 4px 0px 0px var(--button-border-color);
  transition: var(--transition);
}

.button.button-typeD:hover {
  background: none;
  color: var(--button-color);
  border-color: currentColor;
  transform: translate(4px, 4px);
  box-shadow: none;
}

.center-ttl {
  text-align: center;
}
.center-ttl img {
  margin-inline: auto;
  display: block;
  width: 25px;
  margin-bottom: 8px;
}

.env__items {
  display: flex;
  align-items: flex-start;
  padding: 0;
  list-style: none;
}

.env__item {
  flex: 1;
  min-width: 0;
}

/* PC：右に行くほど上にずらす */
.env__item:nth-child(1) {
  margin-top: 120px;
}
.env__item:nth-child(2) {
  margin-top: 60px;
}
.env__item:nth-child(3) {
  margin-top: 0;
}

.env__link {
  position: relative;
  display: block;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.env__link:hover {
  color: #fff;
}

.env__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

/* グラデーション */
.env__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(25, 35, 80, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: opacity 0.6s ease;
}

.env__body {
  position: relative;
  z-index: 2;
  padding: 4rem;
}

.env__num {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.env__text {
  margin: 20px 0 0;
  font-size: var(--text-base);
  line-height: 2;
}

/* ホバー：画像を拡大＋明るく */
@media (hover: hover) {
  .env__link:hover .env__img {
    transform: scale(1.08);
    filter: brightness(1.15);
  }
  .env__link:hover::before {
    opacity: 0.6;
  }
}

.env__link:focus-visible {
  outline: 2px solid #2a4fb5;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .env__img,
  .env__link::before {
    transition: none;
  }
}

/* SP：縦積み */
@media (max-width: 767px) {
  .env {
    padding: 0;
  }
  .env__items {
    flex-direction: column;
  }
  .env__item {
    width: 100%;
  }
  .env__item:nth-child(n) {
    margin-top: 0;
  }
  .env__link {
    aspect-ratio: 7 / 5;
  }
  .env__body {
    padding: 40px 16px;
  }
  .env__title {
    font-size: var(--heading03);
  }
  .env__text {
    margin-top: 5px;
  }
}

/* ===== セクションタイトル：白文字版 ===== */
.section-title--white .section-title__en,
.section-title--white .section-title__ja {
  color: var(--white);
}

/* ===== ボタン：青版（button-typeD のカラー違い） ===== */
.button-typeD--primary {
  color: var(--primary-text);
  border-color: var(--primary-text);
  box-shadow: 0.4rem 0.4rem 0 var(--primary-text) !important;
}

.button-typeD--primary .button__icon03 svg rect {
  fill: var(--primary-text);
}

.button-typeD--primary:hover {
  color: var(--primary-text) !important;
  background-color: #fff !important;
  box-shadow: unset !important;
}

.button-typeD--primary:hover .button__icon03 svg rect {
  fill: var(--primary-text);
}

.button-typeD--primary:hover .button__icon03 svg path {
  fill: var(--white);
}

/* ===== ABOUT WORK ===== */
.about-work__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-6);
}

.about-work__item {
  width: 36rem;
  text-align: center;
  color: var(--white);
}

.about-work__icon {
  width: 12rem;
  margin: 0 auto;
}
.about-work__icon svg {
}

.about-work__label {
  color: var(--secondary);
}

.about-work__button {
  display: flex;
  width: 100%;
  padding-inline: 20px;
  font-size: var(--text-lg);
}

/* 中央の×印 */
.about-work__cross {
  flex-shrink: 0;
  width: 19rem;
  aspect-ratio: 1;
}

.about-work__cross svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.about-work__cross line {
  stroke: var(--white);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

@media screen and (max-width: 768px) {
  .about-work__items {
    flex-direction: column;
    gap: var(--spacing-6-sp);
  }

  .about-work__item {
    width: 100%;
  }

  .about-work__cross {
    width: 16rem;
  }
}

/* ===== コンセプト ===== */
.concept {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--concept-bg) center bottom / cover no-repeat;
  height: 72rem; /* 画面いっぱいにしたい場合は 100vh にします */
  background-attachment: fixed;
}

.concept > * {
  position: relative;
  z-index: 1;
}

.concept__body {
  text-align: center;
}

.concept__text,
.concept__catch {
  color: var(--white);
  font-size: var(--text-lg);
  line-height: 240%;
  font-weight: 400;
}
.concept__catch {
  font-size: 6rem;
  font-family: "Shippori Antique", sans-serif;
  font-weight: 400;
  line-height: 120%;
}

@media screen and (max-width: 768px) {
  .concept {
    height: 61rem;
  }
  .concept__body {
    text-align: left;
  }

  .concept__text {
    line-height: 240%;
    font-size: var(--text-lg-sp);
  }
  .concept__catch {
    font-size: 3.2rem;
  }
  .concept .loop__item {
    font-size: 4.8rem;
  }
}
/* ===== MV ===== */
.mv {
  position: relative;
  height: 82rem;
  overflow: hidden;
  background: var(--white);
}

/* --- オープニング：ロゴがふわっと出る --- */
.mv__opening {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.mv__opening-logo {
  width: 12rem;
  opacity: 0;
  transform: translateY(1.6rem);
}

.mv.is-start .mv__opening-logo {
  animation: mvLogo 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mvLogo {
  0% {
    opacity: 0;
    transform: translateY(1.6rem);
  }
  40% {
    opacity: 1;
    transform: translateY(0);
  }
  75% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* --- 画像：横から出てくる --- */
.mv__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: inset(0 100% 0 0);
}

.mv.is-start .mv__slider {
  animation: mvWipe 1.4s cubic-bezier(0.77, 0, 0.18, 1) 1.8s forwards;
}

@keyframes mvWipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.mv__slides {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.mv__slide.is-active {
  opacity: 1;
}

.mv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.mv__slide.is-active img {
  transform: scale(1);
}

/* 1枚目は横から入る動きに合わせてスライドさせる */
.mv.is-start .mv__slide:first-child img {
  animation: mvImgIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 1.8s both;
}

@keyframes mvImgIn {
  from {
    transform: translateX(-8%) scale(1.08);
  }
  to {
    transform: translateX(0) scale(1);
  }
}

/* --- コピー --- */
.mv__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9rem;
  z-index: 2;
}

.mv__label {
  font-size: var(--text-base);
  letter-spacing: 0.05em;
  color: var(--tertiary);
  opacity: 0;
  transform: translateY(1rem);
}

.mv.is-start .mv__label {
  animation: mvCopy 1s cubic-bezier(0.22, 1, 0.36, 1) 3s forwards;
}

@keyframes mvCopy {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 白帯：左から伸びる（1行目・2行目同時） */
.mv__catch-line::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
}

.mv.is-start .mv__catch-line::before {
  animation: mvBand 0.7s cubic-bezier(0.77, 0, 0.18, 1) 3.1s forwards;
}

@keyframes mvBand {
  to {
    transform: scaleX(1);
  }
}

/* 文字：白帯が出たあと、左から流れるように表示（1行目→2行目） */
.mv__catch-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: translateX(-1.2rem);
}

.mv.is-start .mv__catch-text {
  animation: mvText 1.1s cubic-bezier(0.22, 1, 0.36, 1) 3.9s forwards;
}

.mv.is-start .mv__catch-line + br + .mv__catch-line .mv__catch-text {
  animation-delay: 4.4s;
}

@keyframes mvText {
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateX(0);
  }
}

.mv__catch {
  color: var(--primary-text);
}

.mv__catch-line {
  font-family: "Shippori Antique", sans-serif;

  display: inline-block;
  margin-top: 1.2rem;
  padding: 0 2.4rem;
  font-size: 5.6rem;
  font-weight: normal;
  line-height: 140%;
  position: relative;
  isolation: isolate;
}
.mv__catch-line:first-of-type {
  margin-top: 0;
}

.mv__catch-accent {
  color: var(--primary-background-hover);
}

@media screen and (max-width: 768px) {
  .mv {
    height: calc(100vh - 5.2rem);
  }

  .mv__opening-logo {
    width: 9rem;
  }

  .mv__body {
    bottom: 5rem;
    padding: 0;
  }

  .mv__label {
    padding-left: 1.5rem;
    font-size: var(--caption);
  }

  .mv__catch {
    font-size: 2.4rem;
  }

  .mv__catch-line {
    margin-top: 0.8rem;
    padding: 0.4rem 1.2rem;
    font-size: 2.6rem;
  }
}

/* 動きを減らす設定の人にはオープニングを省略 */
@media (prefers-reduced-motion: reduce) {
  .mv__opening {
    display: none;
  }
  .mv__slider {
    clip-path: none;
  }
  .mv__label,
  .mv__catch-text {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .mv__catch-line::before {
    transform: none;
  }
  .mv.is-start .mv__slider,
  .mv.is-start .mv__label,
  .mv.is-start .mv__catch-line::before,
  .mv.is-start .mv__catch-text,
  .mv.is-start .mv__slide:first-child img {
    animation: none;
  }
  .mv__slide img {
    transition: none;
    transform: none;
  }
}
/* ===== SPのみ：下部追従CTA ===== */
.fixed-cta {
  display: none;
}

@media screen and (max-width: 768px) {
  .fixed-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--white);
  }
  .drawer .fixed-cta {
    position: static;
  }

  .fixed-cta__link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    height: 6.4rem;
    font-size: var(--text-lg-sp);
    text-decoration: none;
  }

  .fixed-cta__link--requirements {
    background: var(--primary);
    color: var(--text-color);
  }

  .fixed-cta__link--entry {
    background: linear-gradient(90deg, var(--primary-text) 0%, #6ec1f0 100%);
    color: var(--white);
  }

  .fixed-cta__link:hover {
    opacity: 0.85;
  }

  .fixed-cta__link--requirements:hover {
    color: var(--text-color);
  }

  .fixed-cta__link--entry:hover {
    color: var(--white);
  }

  /* CTAの高さ分、ページ下部が隠れないようにする */
  body {
    padding-bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px));
  }
  body:has(.fixed-cta__link--requirements) {
    margin-bottom: 64px;
  }
}

header .entry-typeA {
  background: unset;
  line-height: 1;
  display: flex;
  align-items: center;
}
header .entry-typeA .button-secondary small {
  font-size: 10px;
  display: block;
  margin-bottom: 3px;
  letter-spacing: 0;
}
header .entry-typeA .button {
  width: 200px;
  padding-inline: 10px;
  gap: 8px;
  background-color: var(--primary);
  border: 1px solid var(--primary);
}
header .entry-typeA .button span {
  line-height: 1;
  font-size: 14px;
}

.drawer-typeB .container {
  background-color: #fff;
}
.drawer-typeB .drawer__title {
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.drawer-typeB .drawer__title.active {
  color: var(--link-text-hover);
}

.drawer-typeB .drawer__group {
  border-bottom: 1px solid var(--border-color);
}

.drawer-typeB .drawer__text {
  display: block;
  width: 100%;
  color: var(--link-text-hover);
  font-weight: var(--semibold);
}
.drawer-typeB .drawer__text.to-top {
  color: var(--text-color);
}

.drawer-typeB .drawer__link {
  position: relative;
  padding-left: 1.8rem;
}

.drawer-typeB .drawer__link::before {
  position: absolute;
  content: "";
  width: 0.8rem;
  height: 1px;
  background: var(--text-color);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.drawer-typeB .drawer__group:has(.drawer__title.active) .drawer__items {
  margin-top: var(--spacing-1);
}
.drawer__sns ul {
  justify-content: center;
}

@media (min-width: 768px) {
  .info-gra {
    padding-bottom: 21rem;
  }
  .env {
    margin-top: -13rem;
  }
}

.top-cta .demand-typeB .demand__item {
  border: unset;
  color: #fff;
  align-items: center;
  justify-items: center;
}
.top-cta .demand-typeB .demand__item:nth-of-type(1) {
  background-color: var(--secondary);
}
.top-cta .demand-typeB .demand__item:nth-of-type(1) .demand__icon {
  background-color: var(--tertiary);
}

.top-cta .demand-typeB .demand__item:nth-of-type(2) {
  background-color: var(--tertiary);
}
.top-cta .demand-typeB .demand__item:nth-of-type(2) .demand__icon {
  background-color: var(--secondary);
}
.top-cta {
  position: relative;
  margin-bottom: 100px;
}
.top-cta .back-img {
  position: absolute;
  bottom: -100px;
  z-index: -1;
}
@media (max-width: 767px) {
  .top-cta .demand-typeB .demand__item h2 {
    font-size: 24px;
  }
  .top-cta {
    position: relative;
    margin-bottom: 63px;
  }
  .top-cta .back-img {
    position: absolute;
    bottom: -63px;
    z-index: -1;
  }
  .top-cta p {
    text-align: center;
  }
  .pcOnly {
    display: none;
  }
}
@media (min-width: 768px) {
  .spOnly {
    display: none;
  }
}

/* ===== 社員インタビュー スライダー ===== */
.interview-slider {
  position: relative;
}

/* カードの幅は Swiper が決めるので、グリッド用の幅指定を解除 */
.interview-slider .interview__items {
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.interview-slider .swiper-slide {
  height: auto;
}

/* 矢印 */
.interview-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-color);
  cursor: pointer;
  transform: translateY(-50%);
}

.interview-slider__arrow--prev {
  left: -5.6rem;
}

.interview-slider__arrow--next {
  right: -5.6rem;
}

.interview-slider__arrow svg {
  width: 1.2rem;
  height: 2.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.interview-slider__arrow:hover {
  color: var(--primary-text);
}

/* 端まで来たら矢印を消す */
.interview-slider__arrow.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.interview-slider__arrow:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 2px;
}

@media screen and (max-width: 768px) {
  .interview-slider__arrow {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
  }

  .interview-slider__arrow--prev {
    left: 0.4rem;
  }

  .interview-slider__arrow--next {
    right: 0.4rem;
  }

  .interview-slider__arrow svg {
    width: 0.8rem;
    height: 1.6rem;
  }
}

.text--center {
  text-align: center;
}
.other-interview {
  border-top: 1px solid var(--text-color);
}

.blur-in {
  opacity: 0;
  filter: blur(10px);
  transform: scale(
    1.03
  ); /* ほんの少し大きい状態から戻すと、より「浮かぶ」感じに */
  transition:
    opacity 1.2s ease-out,
    filter 1.2s ease-out,
    transform 1.2s ease-out;
  will-change: opacity, filter, transform;
}
.blur-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
.fade-in {
  opacity: 0;
  transition: all 1.6s ease-in-out;
}

.from-left {
  transform: translateX(-20px); /* 左から */
}

.from-right {
  transform: translateX(20px); /* 右から */
}

.from-bottom {
  transform: translateY(20px); /* 下から */
}
.fade-in.slow {
  transition-delay: 4s; /* 4秒待ってから開始 */
  transition-duration: 4s; /* 4秒かけてゆっくり出現 */
}
.fade-in.is-visible {
  opacity: 1;
  transform: translate(0, 0); /* 元の位置に */
}

.benefits .number-typeA.count__item {
  background-color: var(--border-color);
}

/* ==========================================================
   賃貸経営バックアップ（スクロール連動スライド）
   ========================================================== */

/* スクロール量：1画面＋切り替え2回分 */
.backup {
  --step: 0;
  position: relative;
  height: 260svh;
}

/* 画面に固定される部分 */
.backup__sticky {
  position: sticky;
  top: 100px;
  display: flex;
  align-items: center;
  height: 82svh;
  overflow: hidden;
}

.backup__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-6);
}

/* ---------- 左：3つの丸 ---------- */
.backup__diagram {
  --box: min(50rem, 60svh);
  --circle: calc(var(--box) * 0.52);
  --radius: calc(var(--box) * 0.23);
  position: relative;
  width: var(--box);
  aspect-ratio: 1;
  /* 丸が止まっている時は下側が空くので、その分を詰める */
  margin: 0 auto calc(var(--box) * -0.12);
}

.backup__circle {
  /* 現在の角度：基準の角度から、1ステップごとに反時計回りに120度 */
  --angle: calc(var(--base) - var(--step) * 120deg);
  position: absolute;
  top: calc(50% - var(--circle) / 2);
  left: calc(50% - var(--circle) / 2);
  display: grid;
  place-items: center;
  width: var(--circle);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #c9ccea;
  border-radius: 50%;
  background: none;
  color: #bfc3e3;
  font: inherit;
  text-align: center;
  cursor: pointer;
  /* 中心から半径分ずらして配置し、文字の向きは戻す */
  transform: rotate(var(--angle)) translateY(calc(var(--radius) * -1))
    rotate(calc(var(--angle) * -1));
  transition:
    transform 1s cubic-bezier(0.65, 0, 0.35, 1),
    color 0.6s ease,
    border-color 0.6s ease;
}

/* アクティブ時のグラデーション（opacityで切り替え） */
.backup__circle::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5ab4f2 0%, var(--primary-text) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.backup__circle-inner {
  position: relative;
  display: grid;
  gap: 0.4em;
  padding: 0 0.6em;
}

.backup__circle-title {
  font-size: max(1.4rem, calc(var(--circle) * 0.1));
  font-weight: var(--bold);
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.backup__circle-sub {
  font-size: max(1rem, calc(var(--circle) * 0.048));
  line-height: 1.6;
}

.backup__circle.is-active {
  z-index: 1;
  border-color: transparent;
  color: var(--white);
}

.backup__circle.is-active::before {
  opacity: 1;
}

.backup__circle:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 4px;
}

/* ---------- 右：スライド ---------- */
.backup__title {
  display: inline-block;
  padding-bottom: var(--spacing-1);
  border-bottom: 2px solid var(--tertiary);
  color: var(--tertiary);
}

.backup__slides {
  display: grid;
  margin-top: var(--spacing-5);
}

/* 3枚を同じ位置に重ねて、フェードで切り替え */
.backup__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s;
}

.backup__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.backup__slide-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--spacing-3);
  margin: 0;
  color: var(--tertiary);
}

.backup__slide-title {
  font-weight: var(--bold);
  font-family: "inter";
}

.backup__slide-sub {
  font-size: var(--text-base);
}

.backup__slide-img {
  margin-top: var(--spacing-4);
}

.backup__slide-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 32svh;
  object-fit: cover;
}

.backup__slide-text {
  margin: var(--spacing-4) 0 0;
  font-weight: 700;
}

/* ---------- SP ---------- */
@media screen and (max-width: 768px) {
  .backup__sticky {
    align-items: flex-start;
    /* 上はヘッダー、下は追従CTAの高さ分をあける */
    padding-bottom: 6.4rem;
  }
  .backup__sticky {
    top: 57px;
  }

  .backup__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-2);
    padding-inline: unset;
  }

  .backup__diagram {
    --box: min(38rem, 38svh);
  }

  .backup__title {
    font-size: 1.8rem;
  }

  .backup__slides {
    margin-top: var(--spacing-2);
  }

  .backup__slide-head {
    flex-direction: column;
    gap: 0.4rem;
  }

  .backup__slide-img {
    margin-top: var(--spacing-3);
  }

  .backup__slide-img img {
    max-height: 14svh;
  }

  .backup__slide-text {
    margin-top: var(--spacing-3);
    font-size: var(--text-base-sp);
    line-height: 1.8;
  }
}

/* 動きを減らす設定の人には回転・フェードを省略 */
@media (prefers-reduced-motion: reduce) {
  .backup__circle,
  .backup__circle::before,
  .backup__slide {
    transition: none;
  }
}

section {
  scroll-margin-top: 100px;
}
@media screen and (max-width: 768px) {
  section {
    scroll-margin-top: 100px;
  }
}

.map__title small {
  font-size: 14px;
  margin-left: 10px;
}

.persona__icon:has(img) {
  background: none;
}

.persona__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* ==========================================================
   職種ページ（管理を知る / 営業を知る）
   ========================================================== */

/* ---------- 職種紹介 ---------- */
.job-intro {
  position: relative;
  overflow: hidden;
  padding-bottom: 20rem;
}

.job-intro__heading {
  justify-items: center;
  text-align: center;
  color: var(--tertiary);
}

.job-intro__logomark {
  width: auto;
  height: 6rem;
}

.job-intro__text {
  text-align: center;
  color: var(--tertiary);
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 0;
}

.job-intro__img {
  position: absolute;
}

.job-intro__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 260 / 193;
  object-fit: cover;
}

/* 1440px幅のデザインを基準に配置 */
.job-intro__img01 {
  left: 4.86%;
  top: 24rem;
  width: 18.05%;
  max-width: 26rem;
}

.job-intro__img02 {
  left: 64.5%;
  bottom: 0;
  width: 15.48%;
  max-width: 22.3rem;
}

.job-intro__img03 {
  left: 81.87%;
  top: 29.6rem;
  width: 20.97%;
  max-width: 30.2rem;
}

/* 本文と画像が重なる幅ではSPと同じく本文の下に並べる */
@media (max-width: 1300px) {
  .job-intro {
    padding-bottom: 0;
  }

  .job-intro__images {
    position: relative;
    max-width: 80rem;
    margin: var(--spacing-4) auto 0;
    aspect-ratio: 375 / 186;
  }

  .job-intro__img01 {
    left: 0;
    top: 0;
    width: 54%;
    max-width: none;
  }

  .job-intro__img02 {
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
    width: 41.6%;
    max-width: none;
  }

  .job-intro__img03 {
    display: none;
  }
}

@media (max-width: 768px) {
  .job-intro__text {
    text-align: left;
    font-size: var(--text-base);
  }
}

/* ---------- 仕事内容 ---------- */
.job-task__items {
  justify-content: center;
}

.job-task .job-task__item {
  width: 26.5rem;
  border: 1px solid var(--border-color);
  justify-items: center;
  align-content: start;
  align-self: stretch;
}

.job-task__icon {
  width: 8rem;
  height: 8rem;
}

.job-task__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.job-task__title {
  text-align: center;
}

@media (max-width: 768px) {
  .job-task .job-task__item {
    width: calc(50% - var(--gap-x-sp) * 1 / 2);
    padding: var(--spacing-3);
  }
  .job-task .job-task__item.col-sp-12 {
    width: 100%;
  }

  .job-task__icon {
    width: 6.4rem;
    height: 6.4rem;
  }

  .job-task__title {
    font-size: var(--text-base);
  }
}

/* ---------- 強み（demand-typeC の派生） ---------- */
.demand-typeD .demand__items {
  row-gap: 0;
}

.demand-typeD .demand__item {
  align-self: stretch;
  align-content: start;
  background: var(--white);
  border: 2px solid var(--primary-text);
  margin-top: calc(3.2rem + var(--spacing-5));
}

.demand-typeD .demand__item::before {
  background: linear-gradient(180deg, #6dc2f0 0%, var(--primary-text) 100%);
}

.demand-typeD .demand__title {
  text-align: left;
  color: var(--primary-text);
}

.demand-typeD .demand__text {
  text-align: left;
}

@media (max-width: 768px) {
  .demand-typeD .demand__item {
    margin-top: calc(2.4rem + var(--spacing-3));
    padding: var(--spacing-5-sp) 2rem var(--spacing-4-sp);
  }
}

/* ---------- 管理との関係性 ---------- */
.job-relation__box {
  background: var(--white);
  padding: var(--spacing-6) 10rem 8.6rem;
}

.job-relation__lead {
  text-align: center;
  color: var(--primary-text);
  font-weight: var(--semibold);
}

.job-relation__img {
  max-width: 70rem;
  margin: 0 auto;
}

.job-relation__img img {
  display: block;
  width: 100%;
  height: auto;
}

.job-relation__point {
  position: relative;
  max-width: 77.9rem;
  margin: 4.5rem 0 0 auto;
  padding: var(--spacing-6);
  background: #f6f2e9;
}

/* 図から伸びる吹き出しの三角 */
.job-relation__point::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 0 2rem 3.2rem;
  border-color: transparent transparent #f6f2e9;
}

.job-relation__title {
  color: var(--secondary);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 160%;
}

.job-relation__text {
  font-size: 1.4rem;
  line-height: 160%;
}

@media (max-width: 991px) {
  .job-relation__box {
    padding-inline: var(--spacing-5);
  }
}

@media (max-width: 768px) {
  .job-relation__box {
    padding: 3rem 1.7rem;
  }

  .job-relation__lead {
    text-align: left;
    font-size: var(--text-lg-sp);
    line-height: 175%;
  }

  .job-relation__img {
    margin-top: 1rem;
  }

  .job-relation__point {
    margin-top: 2.8rem;
    padding: var(--spacing-4-sp) var(--spacing-4);
  }

  .job-relation__point::before {
    left: 66%;
    border-width: 0 0.8rem 1.8rem;
  }

  .job-relation__title {
    font-size: var(--text-lg-sp);
  }

  .job-relation__text {
    font-size: var(--text-base-sp);
    line-height: 200%;
  }
}

/* ---------- 1日の流れ（schedule-typeB の派生） ---------- */
.job-schedule__box {
  background: var(--white);
  max-width: 82.6rem;
  margin: 0 auto;
  padding: var(--spacing-4) 12.4rem;
}

.job-schedule .schedule__time {
  min-width: 6rem;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 2rem;
  font-weight: 500;
  line-height: 3.2rem;
  letter-spacing: 0.05em;
}

.job-schedule .schedule-typeB .schedule__icon {
  width: 1.2rem;
  flex-shrink: 0;
}

.job-schedule .schedule-typeB .schedule__circle {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--primary-text);
}

.job-schedule .schedule-typeB .schedule__icon::after,
.job-schedule
  .schedule-typeB
  .schedule__item:not(:first-of-type)
  .schedule__icon::after {
  top: 2.4rem;
  width: 1px;
  background: var(--primary-text);
  opacity: 0.5;
}

.job-schedule .schedule__content {
  flex: 1;
}

.job-schedule .schedule__title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 3.2rem;
  letter-spacing: 0.05em;
}

.job-schedule .schedule__text {
  font-size: 1.4rem;
  line-height: 180%;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .job-schedule__box {
    padding: 3.6rem 1.6rem 1.6rem;
  }

  .job-schedule .schedule-typeB .schedule__item {
    gap: 2rem;
  }

  .job-schedule .schedule__time {
    min-width: 4.6rem;
    font-size: 1.6rem;
  }

  .job-schedule .schedule-typeB .schedule__icon {
    padding-top: 1.2rem;
  }

  .job-schedule .schedule__title {
    font-size: 1.6rem;
  }

  .job-schedule .schedule__text {
    font-size: var(--text-base-sp);
  }
}

/* ---------- 営業ページ用の派生 ---------- */
/* 仕事内容：4列 */
.job-task .job-task__items--4col .job-task__item {
  width: calc(25% - var(--gap-x) * 3 / 4);
}

@media (max-width: 768px) {
  .job-task .job-task__items--4col .job-task__item {
    width: calc(50% - var(--gap-x-sp) * 1 / 2);
  }
}

/* 関係性：吹き出しを左寄せ */
.job-relation__point--left {
  margin-left: 0;
  margin-right: auto;
}
.sales-job-relation .job-relation__title {
  color: var(--primary-text);
}

@media (max-width: 768px) {
  .job-relation__point--left::before {
    left: 34%;
  }
}

/* 1日の流れ：2パターン並び */
.job-schedule__boxes {
  gap: var(--gap-x);
}

.job-schedule__box--compact {
  max-width: none;
  margin: 0;
  padding: var(--spacing-4);
}

.job-schedule__subtitle {
  text-align: center;
  color: var(--primary-text);
  padding-bottom: var(--spacing-1);
  border-bottom: 1px solid var(--primary-text);
}

.job-schedule__box--compact .schedule__time,
.job-schedule__box--compact .schedule__title {
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 2.8rem;
  letter-spacing: 0;
}

.job-schedule__box--compact .schedule__time {
  min-width: 4.8rem;
}

.job-schedule__box--compact .schedule-typeB .schedule__icon {
  padding-top: 0.8rem;
}

.job-schedule__box--compact .schedule-typeB .schedule__icon::after,
.job-schedule__box--compact
  .schedule-typeB
  .schedule__item:not(:first-of-type)
  .schedule__icon::after {
  top: 2rem;
}

.job-schedule__box--compact .schedule__content {
  padding-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .job-schedule__boxes {
    gap: var(--gap-y-sp);
  }

  .job-schedule__box--compact {
    padding: var(--spacing-4-sp) 1.6rem;
  }

  .job-schedule__box--compact .schedule__time,
  .job-schedule__box--compact .schedule__title {
    font-size: var(--text-base-sp);
  }

  .job-schedule__box--compact .schedule-typeB .schedule__icon {
    padding-top: 0.8rem;
  }
}

.article-mv__name,
.article-mv__post {
  background: #fff;
  width: fit-content;
  padding: 5px;
}
@media (max-width: 768px) {
.article-mv-typeA .article-mv__text span {
    padding-block: 1.5px;
}
}