body {
  overflow-x: hidden;
  padding: 0;
}

.hidden {
  display: none;
}

.fvBackGround {
  display: table;
  position: relative;
  min-height: 500px;
  width: 100%;
  height: 100vh;
  overflow-y: hidden;
}

.fvBalls {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#metaballsGuide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#backgroundBalls {
  z-index: 1;
}

#metaballs {
  z-index: 2;
}

.fv__messages {
  position: absolute;
  top: 50vh;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .fv__messages {
    top: 38vh;
    transform: translateX(-50%);
  }
}

.fv__messages h1 {
  display: block;
  font-family: "Quicksand", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
  font-size: 83.2331px;
  line-height: 104px;
  background-image: linear-gradient(to right, #0075be 30%, #eb6133 70%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #eb6133;
}
@media screen and (max-width: 768px) {
  .fv__messages h1 {
    margin-bottom: 12px;
    font-size: 45px;
    line-height: 1.2;
  }
}

.fv__subtitle {
  margin-bottom: 30px;
  font-family: "Tsunagi Gothic Black", sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 32.0345px;
  line-height: 32px;
  text-align: center;
  letter-spacing: 0.2em;
  color: #eb6133;
  transform: matrix(1, 0, -0.12, 0.99, 0, 0);
}
@media screen and (max-width: 768px) {
  .fv__subtitle {
    margin-bottom: 18px;
    font-size: 21px;
    line-height: 1.8;
  }
}

.fv__messages .more__title {
  width: -moz-max-content;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.fv__messages .more__text {
  font-family: "Lovelo", sans-serif;
  font-style: normal;
  font-weight: 100;
  font-size: 24px;
  color: #0075be;
}
@media screen and (max-width: 768px) {
  .fv__messages .more__text {
    font-size: 18px;
  }
}

.top-background {
  width: 100%;
  height: 100vh;
}

#opening-video {
  position: fixed;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
}

.opening-motion__bg {
  position: fixed;
  background: white;
  opacity: 1;
  height: 100vh;
  width: 100%;
  z-index: 10000;
}

.to-transparent {
  opacity: 0.1;
  transition: 2s;
}

.to-none {
  display: none;
}

.company__gallery {
  position: relative;
  margin-top: 45px;
  padding-top: min(326px, 22.6388888889vw);
}
@media screen and (max-width: 768px) {
  .company__gallery {
    padding-top: min(326px, 72.8vw);
  }
}
.company__gallery__img {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(292px, 20.2777777778vw);
}
@media screen and (max-width: 768px) {
  .company__gallery__img {
    width: 65.3333333333vw;
  }
}
.company__gallery__img:nth-child(1) {
  left: calc(50% + min(322px, 22.3611111111vw) * -2);
}
@media screen and (max-width: 768px) {
  .company__gallery__img:nth-child(1) {
    left: calc(50% + 72vw * -2);
  }
}
.company__gallery__img:nth-child(1) img {
  opacity: 0.3;
  transform: translate3d(-200px, 200px, 0);
}
.company__gallery__img:nth-child(2) {
  left: calc(50% + min(322px, 22.3611111111vw) * -1);
}
@media screen and (max-width: 768px) {
  .company__gallery__img:nth-child(2) {
    left: calc(50% + 72vw * -1);
  }
}
.company__gallery__img:nth-child(2) img {
  opacity: 0.3;
  transform: translate3d(-100px, 100px, 0);
}
.company__gallery__img:nth-child(3) {
  left: calc(50% + min(322px, 22.3611111111vw) * 0);
}
@media screen and (max-width: 768px) {
  .company__gallery__img:nth-child(3) {
    left: calc(50% + 72vw * 0);
  }
}
.company__gallery__img:nth-child(3) img {
  opacity: 0.3;
  transform: translate3d(0, 100px, 0);
}
.company__gallery__img:nth-child(4) {
  left: calc(50% + min(322px, 22.3611111111vw) * 1);
}
@media screen and (max-width: 768px) {
  .company__gallery__img:nth-child(4) {
    left: calc(50% + 72vw * 1);
  }
}
.company__gallery__img:nth-child(4) img {
  opacity: 0.3;
  transform: translate3d(100px, 100px, 0);
}
.company__gallery__img:nth-child(5) {
  left: calc(50% + min(322px, 22.3611111111vw) * 2);
}
@media screen and (max-width: 768px) {
  .company__gallery__img:nth-child(5) {
    left: calc(50% + 72vw * 2);
  }
}
.company__gallery__img:nth-child(5) img {
  opacity: 0.3;
  transform: translate3d(200px, 200px, 0);
}
.company__read-more {
  margin-top: 48px;
}

.service {
  background: url(../images/common/decoration-icon_metaball.svg) bottom right no-repeat;
}
@media screen and (max-width: 768px) {
  .service {
    background: none;
  }
}
.service__inner {
  display: grid;
  grid-template: 1fr auto 1fr/auto auto;
}
@media screen and (max-width: 768px) {
  .service__inner {
    display: block;
  }
}
.service__title {
  grid-area: 2/2/3/3;
}
.service__image {
  grid-area: 1/1/4/2;
  align-self: center;
}
.service__read-more {
  grid-area: 3/2/4/3;
  align-self: end;
}

.team {
  padding-bottom: 45px;
}
.team__inner {
  display: grid;
  grid-template: auto auto/auto 1fr;
}
@media screen and (max-width: 768px) {
  .team__inner {
    display: block;
  }
}
.team__members {
  grid-area: 2/1/3/3;
  position: relative;
  height: 38.1944444444vw;
  margin-top: 38px;
}
@media screen and (max-width: 768px) {
  .team__members {
    height: 289.0666666667vw;
    margin-top: 27px;
  }
}
.team__members__list {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: top;
  display: grid;
  grid-template: 1fr 1fr/auto repeat(3, 1fr);
  width: 1440px;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .team__members__list {
    grid-template: auto repeat(3, 1fr)/1fr 1fr;
    width: 375px;
  }
}
.team__members__item {
  height: 275px;
}
@media screen and (max-width: 768px) {
  .team__members__item {
    height: 243px;
  }
}
.team__members__item:first-child {
  grid-area: 1/1/3/2;
  width: 592px;
  height: 550px;
}
@media screen and (max-width: 768px) {
  .team__members__item:first-child {
    grid-area: 1/1/2/3;
    width: 375px;
    height: 355px;
  }
}
.team__members__item:first-child .member-tile__portrait {
  bottom: -40px;
}
@media screen and (max-width: 768px) {
  .team__members__item:first-child .member-tile__portrait {
    bottom: -30px;
    z-index: 1;
  }
}
.team__members__link {
  box-sizing: border-box;
  height: 100%;
}
.team__read-more {
  grid-area: 1/2/2/3;
  align-self: end;
}
@media screen and (max-width: 768px) {
  .team__read-more {
    margin-top: 54px;
  }
}

.recruit {
  position: relative;
  padding-top: 45px;
  padding-bottom: 110px;
}
@media screen and (max-width: 768px) {
  .recruit {
    padding-bottom: 25px;
  }
}
.recruit__content {
  display: grid;
  grid-template: auto 1fr/auto 1fr;
  margin-right: calc((100vw - 100%) / -2 + 20px);
}
@media screen and (max-width: 768px) {
  .recruit__content {
    display: block;
    margin-right: 0;
  }
}
.recruit__gallery {
  grid-area: 1/2/3/3;
  align-self: center;
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  margin-left: 8px;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .recruit__gallery {
    gap: 24px;
    width: 510px;
    margin-top: 32px;
    margin-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .recruit__gallery__image {
    width: 154px;
  }
}
@media screen and (max-width: 768px) {
  .recruit__gallery__image:nth-child(3) {
    opacity: 0;
  }
}
.recruit__gallery__image img {
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .recruit__gallery__image img {
    border-radius: 22px;
  }
}
.recruit__read-more {
  margin-top: 30px;
}

.contact {
  position: relative;
  padding-top: 110px;
}
@media screen and (max-width: 768px) {
  .contact {
    padding-top: 25px;
    padding-bottom: 230px;
  }
}
.contact__inner {
  display: flex;
  align-items: flex-end;
}
@media screen and (max-width: 768px) {
  .contact__inner {
    display: block;
  }
}
.contact__read-more {
  flex: 1;
}
@media screen and (max-width: 768px) {
  .contact__read-more {
    margin-top: 36px;
  }
}

.background1-2 {
  background: url(../images/top/background1.png) top 70px center/88% no-repeat, url(../images/top/background2.png) bottom 70px left/88% no-repeat;
}
@media screen and (max-width: 768px) {
  .background1-2 {
    background: url(../images/common/background-sp.png) top 350px center/529px no-repeat, url(../images/common/background-sp.png) bottom 1000px center/529px no-repeat;
  }
}

.background3 {
  background: url(../images/top/background3.png) top 300px left/87% no-repeat;
}
@media screen and (max-width: 768px) {
  .background3 {
    background: url(../images/common/background-sp.png) top center/640px no-repeat;
  }
}

.apology {
  position: fixed;
  top: 44px;
  left: 50%;
  z-index: 200;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(791px, 90%);
  padding: 40px 55px 30px;
  background-color: #fff;
  border: 1px solid #0075be;
  border-radius: 10px;
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1490196078);
}
@media screen and (max-width: 768px) {
  .apology {
    top: 73px;
    width: min(328px, 90%);
    padding: 20px 26px 16px;
  }
}
.apology.to-transparent {
  opacity: 0.1;
  transition: 1s;
}
.apology__close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 36px;
  height: 36px;
  background-color: #d9d9d9;
  border: none;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .apology__close {
    top: 8px;
    right: 11px;
    width: 30px;
    height: 30px;
  }
}
.apology__close-line {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  background-color: #fff;
  width: 17px;
  height: 2px;
}
@media screen and (max-width: 768px) {
  .apology__close-line {
    width: 14px;
  }
}
.apology__close-line:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.apology__close-line:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.apology__title {
  font-size: 1.125rem;
}
@media screen and (max-width: 768px) {
  .apology__title {
    font-size: 1rem;
  }
}
.apology__message {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .apology__message {
    margin-top: 8px;
    font-size: 0.8125rem;
    line-height: 1.44;
  }
}