@charset "UTF-8";

.p-gearAnimation {
  --rem: 0.8333333333vw;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 500vh;
  height: 500lvh;
}
@media screen and (max-width: 767px) {
  .p-gearAnimation {
    --rem: 16px;
  }
}
@media (max-width: 375px) {
  .p-gearAnimation {
    --rem: 4.2666666667vw;
  }
}

.p-gearAnimation__gearWrapper {
  overflow: hidden;
  height: 20%;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.p-gearAnimation__gearWrapper::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/sites/default/files/2026-03/gear-bg.webp) no-repeat center/cover;
}

.p-gearAnimation__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  visibility: hidden;
}

.p-gearAnimation__gearInner {
  position: absolute;
  width: 100%;
  max-width: calc(92.5 * var(--rem));
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.p-gearAnimation__gearWrap {
  position: absolute;
  width: 100%;
  height: 100%;
}

.p-gearAnimation__gearArrowWrap {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
}

.p-gearAnimation__gearWrap img,
.p-gearAnimation__gearArrowWrap img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.p-gearAnimation__textsWrap {
  position: absolute;
  width: 100%;
  height: 100%;
}

.p-gearAnimation__texts00,
.p-gearAnimation__texts01,
.p-gearAnimation__texts02,
.p-gearAnimation__texts03 {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  aspect-ratio: 1/1;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  opacity: 0;
  visibility: hidden;
}

.p-gearAnimation__texts00::before,
.p-gearAnimation__texts01::before,
.p-gearAnimation__texts02::before,
.p-gearAnimation__texts03::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 50%;
  aspect-ratio: 1/1;
  height: auto;
  opacity: 0.95;
}

.p-gearAnimation__texts00 {
  width: 17.1%;
  left: 7%;
}

.p-gearAnimation__texts01 {
  width: 18.9%;
  left: 25.5%;
}

.p-gearAnimation__texts02 {
  width: 21.1%;
  left: 46.3%;
}

.p-gearAnimation__texts03 {
  width: 23.4%;
  left: 68.8%;
}

.p-gearAnimation__head {
  text-align: center;
  color: #004098;
  font-size: calc(1.375 * var(--rem));
  font-weight: bold;
  padding-bottom: calc(1.125 * var(--rem));
  position: relative;
  white-space: nowrap;
}

.p-gearAnimation__head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background-color: #004098;
  width: calc(1.875 * var(--rem));
  height: 1px;
}

.p-gearAnimation__text,
.p-gearAnimation__text + ul {
  font-size: calc(1 * var(--rem));
  font-weight: normal;
  line-height: 1.75;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
}

.p-gearAnimation__text {
  margin-top: calc(0.625 * var(--rem));
  white-space: nowrap;
}

.p-gearAnimation__text + ul {
  max-width: calc(11.875 * var(--rem));
  width: 100%;
}

.p-gearAnimation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-gearAnimation li {
  margin: 0;
}
