/* ===================================
    ヘッダー（最初から表示）
=================================== */

/* ===================================
    MV
=================================== */
.mv {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  z-index: 1;
}

.mv__text-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.mv__text {
  margin-top: 5em;
  margin-bottom: 3em;
  display: flex;
  flex-direction: column;
  gap: 2.3em;
  align-items: center;
  justify-content: center;
  font-size: 0.694444vw !important;
  opacity: 0;
  transform: scale(0.95);
  animation: popUp 1.6s 1.5s forwards;
}

@keyframes popUp {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.mv__text .small {
  color: var(--color-accent);
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.6;
}

.mv__text .large {
  width: 42em;
}

.mv__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mv__cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  animation: mv-fadein 3s ease-out forwards, mv-blur 3s 0s forwards;
}

.mv__main {
  margin-top: 18%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mv__main-inner {
  position: relative;
  z-index: 2;
  transform-origin: top center;
  transform: scale(1);
  animation: mv-scaler 2.5s ease-out forwards, mv-pointer 0s 3s forwards, mv-blur 2.2s 0s forwards, mv-fadein 2.2s 0s forwards;
  pointer-events: none;
}

@keyframes mv-scaler {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.45);
  }
}

@keyframes mv-pointer {
  to {
    pointer-events: all;
  }
}

@keyframes mv-blur {
  0% {
    filter: blur(8px);
  }

  100% {
    filter: blur(0px);
  }
}

@keyframes mv-fadein {
  0% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (min-aspect-ratio: 16/9) {
  .mv__main-inner {
    transform: scale(0.6);
  }

  @keyframes mv-scaler {
    0% {
      transform: scale(0.6);
    }

    100% {
      transform: scale(1.05);
    }
  }
}

.mv__main-item {
  position: absolute;
  z-index: 4;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 0.694444vw !important;
}

.mv__main-item:hover {
  transform: scale(1.08);
}

.mv__main-item[data-mv-item="01"] {
  top: 16%;
  left: 27%;
  width: 9%;
}

.mv__main-item[data-mv-item="02"] {
  top: 28%;
  left: 42%;
  width: 13%;
}

.mv__main-item[data-mv-item="03"] {
  top: 42.5%;
  left: 27%;
  width: 16%;
}

.mv__main-item[data-mv-item="04"] {
  top: 47%;
  left: 42.5%;
  width: 16%;
}

.mv__main-item[data-mv-item="05"] {
  top: 25%;
  left: 15%;
  width: 30%;
  height: 53%;
  z-index: 3;
}

.mv__main-item[data-mv-item="06"] {
  top: 25%;
  right: 8%;
  width: 45%;
  height: 53%;
  z-index: 3;
}

/* ポップアップ */
.mv__popup {
  width: 25em;
  position: absolute;
  border-radius: 1.6rem;
  padding: 1.2em;
  display: grid;
  grid-template-columns: 6em 1fr;
  align-items: center;
  gap: 1.2em;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  transform: scale(0.8);
  z-index: 100;
}

.mv__main-item:hover .mv__popup {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mv__popup[data-popup="01"] {
  border: 2px solid #A7B8CC;
  background: linear-gradient(180deg, #F2F2F2 0%, #DCE9F7 100%);
  top: -8em;
  left: 7em;
}

.mv__popup[data-popup="02"] {
  border: 2px solid #E8AE97;
  background: linear-gradient(180deg, #FFF8F5 0%, #F7E2DA 100%);
  top: -4em;
  left: 7em;
}

.mv__popup[data-popup="03"] {
  border: 2px solid #E6D7A7;
  background: linear-gradient(180deg, #F7F6F2 0%, #F7EECD 100%);
  top: -8em;
  left: 14em;
}

.mv__popup[data-popup="04"] {
  border: 2px solid #CF9BB9;
  background: linear-gradient(180deg, #FBF5FA 0%, #FAE6F1 100%);
  top: -4em;
  left: 7em;
}

.mv__popup[data-popup="05"] {
  border: 2px solid #A7B8CC;
  background: linear-gradient(180deg, #F2F2F2 0%, #DCE9F7 100%);
  top: -6em;
  left: 23.5em;
}

.mv__popup[data-popup="06"] {
  border: 2px solid #B3B3B3;
  background: linear-gradient(180deg, #F2F2F2 0%, #DEDEDE 100%);
  top: -5em;
  right: 13em;
}

.mv__popup-contents {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.mv__popup-title {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.1em;
}

.mv__popup-title .common__btn-icon {
  background: #fff;
  border: none;
  padding: 0;
  width: 1.6em;
  aspect-ratio: 17 / 13;
}

.mv__popup-title .common__btn-icon svg {
  width: 0.7em;
  height: 0.7em;
}

.mv__popup:hover .common__btn-icon {
  background: var(--color-main);
}

.mv__popup:hover .common__btn-icon svg {
  animation: slideOutIn 0.6s forwards;
}

.mv__popup:hover .common__btn-icon svg path {
  stroke: #fff;
  fill: #fff;
}

.mv__popup-text {
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.6;
}

.mv__label {
  display: none;
}

@media screen and (min-aspect-ratio: 16/9) {
  .mv__popup {
    width: 30em;
    padding: 1.5em;
    grid-template-columns: 8em 1fr;
    gap: 1.5em;
  }

  .mv__popup[data-popup="06"] {
    top: -5em;
    right: 6.7em;
  }

  .mv__popup-contents {
    gap: 0.6em;
  }

  .mv__popup-title {
    gap: 0.5em;
    font-size: 1.5em;
  }

  .mv__popup-title .common__btn-icon {
    width: 1.8em;
  }

  .mv__popup-title .common__btn-icon svg {
    width: 0.8em;
    height: 0.8em;
  }
}

@media screen and (max-width: 1024px) {
  .mv__text {
    margin-top: 18em;
    gap: 4em;
  }

  .mv__text .small {
    font-size: 2em;
    text-align: center;
  }

  .mv__text .large {
    width: 65em;
  }

  .mv__main {
    margin-top: 30rem;
  }

  @keyframes mv-scaler {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }

    100% {
      transform: scale(2.1);
      opacity: 1;
    }
  }

  .mv__popup[data-popup="05"] {
    top: -5em;
    left: 30.5em;
  }
}

@media screen and (max-width: 750px) {
  .mv {
    aspect-ratio: inherit;
    overflow: hidden;
  }

  .mv__text {
    margin-top: 6rem;
    gap: 3rem;
  }

  .mv__text .small {
    font-size: 1.3rem;
  }

  .mv__text .large {
    width: 28rem;
  }

  .mv__main {
    margin-top: 23rem;
  }

  .mv__main-item[data-mv-item="01"],
  .mv__main-item[data-mv-item="02"],
  .mv__main-item[data-mv-item="03"],
  .mv__main-item[data-mv-item="04"] {
    animation: howanHowan 3s ease-in-out infinite;
  }

  .mv__main-item[data-mv-item="01"] {
    top: 18%;
    left: 20%;
    width: 17%;
    animation-delay: 0s;
  }

  .mv__main-item[data-mv-item="02"] {
    top: 34%;
    left: 42%;
    width: 18%;
    animation-delay: 0.5s;
  }

  .mv__main-item[data-mv-item="03"] {
    top: 49%;
    left: 25%;
    width: 19%;
    animation-delay: 1s;
  }

  .mv__main-item[data-mv-item="04"] {
    top: 54%;
    left: 44%;
    width: 22%;
    animation-delay: 1.5s;
  }

  @keyframes howanHowan {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.08);
    }
  }

  .mv__main-item[data-mv-item="05"] {
    top: 26.5%;
    left: 15%;
    width: 30%;
    height: 53%;
    z-index: 3;
  }

  .mv__main-item[data-mv-item="06"] {
    top: 25%;
    right: 8%;
    width: 45%;
    height: 53%;
    z-index: 3;
  }

  .mv__main-inner {
    transform: scale(1);
  }

  @keyframes mv-scaler {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(2);
    }
  }

  .mv__popup {
    width: fit-content;
    border-radius: 1.2rem;
    padding: 0.5rem 0.6rem;
    grid-template-columns: 2.4rem 1fr;
    gap: 0.8rem;
  }

  .mv__popup-title {
    gap: 0.8rem;
    justify-content: space-between;
    font-size: 0.8rem;
    letter-spacing: 0.17rem;
  }

  .mv__popup-title .common__btn-icon {
    width: 1.8rem;
  }

  .mv__popup-title .common__btn-icon svg {
    width: 0.8rem;
    height: 0.8rem;
  }

  .mv__popup-text {
    display: none;
  }

  .mv__popup[data-popup="01"] {
    width: 130%;
    top: -3rem;
    left: 4rem;
  }

  .mv__popup[data-popup="02"] {
    width: 135%;
    top: -2rem;
    left: 1rem;
  }

  .mv__popup[data-popup="03"] {
    width: 180%;
    top: -3.5rem;
    left: 3rem;
  }

  .mv__popup[data-popup="04"] {
    width: 160%;
    top: 0rem;
    left: -4rem;
  }

  .mv__popup[data-popup="05"] {
    width: 80%;
    top: 1rem;
    left: 7rem;
  }

  .mv__popup[data-popup="06"] {
    width: 70%;
    top: -0.6rem;
    right: inherit;
    left: -2.2rem;
  }

  .mv__popup-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
  }

  .mv__popup-img picture {
    width: 100%;
    height: 100%;
    display: block;
  }

  .mv__popup-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .mv__label {
    display: block;
    padding: 1.2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--color-main);
    z-index: 999;
  }

  .mv__label img {
    width: 19.8rem;
  }

  .mv__label span {
    color: #FAF8F8;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
  }
}

@media screen and (max-height: 840px) and (max-width: 750px) {
  .mv__main {
    margin-top: 20rem;
  }
}

@media screen and (max-height: 800px) and (max-width: 750px) {
  .mv__main {
    margin-top: 16rem;
  }

  @keyframes mv-scaler {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }

    100% {
      transform: scale(1.8);
      opacity: 1;
    }
  }
}

@media screen and (max-height: 700px) and (max-width: 750px) {

  @keyframes mv-scaler {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(1.7);
    }
  }
}

@media screen and (max-height: 630px) and (max-width: 750px) {

  @keyframes mv-scaler {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }

    100% {
      transform: scale(1.55);
      opacity: 1;
    }
  }
}

@media screen and (max-height: 590px) and (max-width: 750px) {

  @keyframes mv-scaler {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }

    100% {
      transform: scale(1.4);
      opacity: 1;
    }
  }
}

@media screen and (max-height: 550px) and (max-width: 750px) {

  @keyframes mv-scaler {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }

    100% {
      transform: scale(1.2);
      opacity: 1;
    }
  }
}

/* ===================================
    イントロ
=================================== */
.intro {
  position: relative;
  z-index: 10;
  padding: 12rem 4rem 15.5rem;
  margin-top: 25rem;
  margin-bottom: -2rem;
  z-index: 1;
}

.intro::before {
  content: "";
  position: absolute;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 105.7rem;
  height: 57.7rem;
  max-width: 100%;
  border-radius: 105.7rem;
  background: #FAF8F8;
  filter: blur(170px);
  z-index: -1;
}

.intro::after {
  content: "";
  position: absolute;
  top: 30rem;
  left: 50%;
  transform: translateX(-50%);
  width: 154.1rem;
  height: 84.3rem;
  max-width: 100%;
  border-radius: 105.7rem;
  background: #FAF8F8;
  filter: blur(150px);
  z-index: -1;
}

.intro__inner {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.intro__texts {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2.6;
  letter-spacing: 0.028rem;
}

@media screen and (max-width: 750px) {
  .intro {
    padding: 12rem 3rem 12rem;
    margin-top: 5rem;
    background: linear-gradient(180deg, transparent 0%, #FAF8F8 7%, #FAF8F8 100%);
  }

  .intro::before {
    top: 0;
    width: 100%;
    height: 100rem;
    filter: blur(3rem);
    border-radius: 1rem;
  }

  .intro::after {
    display: none;
  }
}

/* ===================================
    About
=================================== */
.about {
  padding-top: 7rem;
  position: relative;
  z-index: 2;
}

.about__list {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 560fr 400fr;
  grid-template-rows: 200fr 200fr;
  gap: 20px;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 980 / 420;
}

.about__listIn {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: end;
  transition: var(--transition-base);
}

.about__listIn:nth-child(1) {
  grid-area: 1 / 1 / 3 / 2;
  background-image: url(../images/top/imgAbout01.webp);
}

.about__listIn:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
  background-image: url(../images/top/imgAbout02.webp);
}

.about__listIn:nth-child(3) {
  grid-area: 2 / 2 / 3 / 3;
  background-image: url(../images/top/imgAbout03.webp);
}

.about__listIn .common__btn {
  margin-bottom: 1.5rem;
  margin-left: 1rem;
}

.about__listIn a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1440px) {
  .about__list {
    font-size: 0.694444vw !important;
    gap: 1.9em;
  }

  .about__listIn .common__btn {
    gap: 1.3em;
    margin-bottom: 1.5em;
    margin-left: 1em;
  }

  .about__listIn .common__btn-text {
    font-size: 1.3em;
  }

  .about__listIn .common__btn-icon {
    padding: 0.4em 0.8em;
    border-radius: 3em;
    width: 3.2em;
  }

  .about__listIn .common__btn-icon svg {
    width: 1.3em;
    height: 1.3em;
  }
}

@media screen and (max-width: 1200px) {
  .about__list {
    aspect-ratio: 980 / 419;
  }

  .about__listIn .common__btn {
    gap: 1.3em;
    margin-bottom: 1.8em;
    margin-left: 1.4em;
  }

  .about__listIn .common__btn-text {
    font-size: 2em;
  }

  .about__listIn .common__btn-icon {
    padding: 0.6em 0.8em;
    border-radius: 3em;
    width: 3.6em;
  }

  .about__listIn .common__btn-icon svg {
    width: 1.5em;
    height: 1.5em;
  }
}

@media screen and (max-width: 750px) {
  .about__list {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    aspect-ratio: auto;
    gap: 3.2rem;
  }

  .about__listIn:nth-child(1),
  .about__listIn:nth-child(2),
  .about__listIn:nth-child(3) {
    grid-area: auto;
    aspect-ratio: 3 / 2;
  }

  .about__listIn:nth-child(1) {
    background-image: url(../images/top/imgAbout01Sp.webp);
  }

  .about__listIn:nth-child(2) {
    background-image: url(../images/top/imgAbout02Sp.webp);
  }

  .about__listIn:nth-child(3) {
    background-image: url(../images/top/imgAbout03Sp.webp);
  }

  .about__listIn .common__btn {
    gap: 1.2rem;
    margin-bottom: 0.8rem;
    margin-left: 1rem;
  }

  .about__listIn .common__btn-text {
    font-size: 1.5rem;
  }

  .about__listIn .common__btn-icon {
    padding: 0.4rem 0.9rem;
    border-radius: 3rem;
    width: 3.2rem;
  }

  .about__listIn .common__btn-icon svg {
    width: 1.6rem;
    height: 1.6rem;
  }
}

/* ===================================
    Work
=================================== */
.work__list {
  margin-top: 3rem;
  display: flex;
  gap: 4rem;
}

.work__list-item {
  position: relative;
  width: 50%;
  padding: 2rem 3.2rem;
  border-radius: 1.6rem;
  border: 2px solid var(--color-main);
  background: #FAF8F8;
  transition: var(--transition-base);
}

.work__list-item:hover {
  background: var(--color-main);
}

.work__list-item .common__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.work__list-img {
  height: 14rem;
  margin: 0 auto;
  text-align: center;
}
.work__list-img img{
width: auto;
height: 100%;
}


.work__list-title {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.work__list-title h3 {
  color: var(--color-main);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  transition: var(--transition-base);
}

.work__list-text {
  margin-top: 1.2rem;
  transition: var(--transition-base);
  font-weight: 500;
  line-height: 1.6;
}

.work__list-item:hover .work__list-title h3,
.work__list-item:hover .work__list-text {
  color: #FAF8F8;
}

@media screen and (max-width: 750px) {
  .work__list {
    margin-top: 3.2rem;
    gap: 3.2rem;
    flex-direction: column;
  }

  .work__list-item {
    width: 100%;
  }
}

/* ===================================
    People
=================================== */
.people__list {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 4rem;
}

.people__list-item {
  transition: var(--transition-base);
}

.people__list-item[data-color="main"]:hover {
  color: var(--color-main);
}

.people__list-item[data-color="accent"]:hover {
  color: var(--color-accent);
}

.people__list-img {
  border-radius: 1.6rem;
  border: 2px solid var(--color-main);
  overflow: hidden;
}

[data-color="accent"] .people__list-img {
  border: 2px solid var(--color-accent);
}

.people__list-img img {
  transition: 0.5s ease;
  object-fit: cover;
  object-position: center;
}

.people__list-item:hover .people__list-img img {
  transform: scale(1.06);
}

.people__list-headding {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.people__list-headding span {
  padding: 0.7rem 1.2rem;
  border-radius: 3rem;
  background: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-color="accent"] .people__list-headding span {
  background: var(--color-accent);
}

.people__list-headding h3 {
  color: var(--color-main);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.17rem;
}

[data-color="accent"] .people__list-headding h3 {
  color: var(--color-accent);
}

.people__list-text {
  margin-top: 0.8rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.1rem;
  margin-bottom: 1.2rem;
}

.people__list-text-small {
  margin-top: 0.8rem;
  font-size: 1.5rem;
  font-weight: 500;
}

@media screen and (max-width: 750px) {
  .people__list {
    margin-top: 3.2rem;
    grid-template-columns: repeat(1, 1fr);
    gap: 3.2rem;
  }

  .people__list-text {
    margin-bottom: 1rem;
  }

  .people__list-text-small {
    margin-top: 0.2rem;
  }
}

/* ===================================
    Recruit
=================================== */
.recruit {
  padding-bottom: 6rem;
}

.recruit__list {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.recruit__list-item {
  position: relative;
  padding: 2rem;
  display: grid;
  grid-template-columns: 28% 1fr 4rem;
  justify-content: space-between;
  align-items: center;
  gap: 2.4rem;
  border-radius: 1.6rem;
  border: 2px solid var(--color-main);
  background: #FAF8F8;
  transition: var(--transition-base);
}

.recruit__list-item:hover {
  background: var(--color-main);
}

.recruit__list-contents h3 {
  color: var(--color-main);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  transition: var(--transition-base);
}

.recruit__list-contents p {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  transition: var(--transition-base);
}

.recruit__list-item:hover h3,
.recruit__list-item:hover p {
  color: #FAF8F8;
}

.recruit__list-btn .common__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 750px) {
  .recruit {
    padding-bottom: 3rem;
  }

  .recruit__list {
    margin-top: 3.2rem;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.6rem;
  }

  .recruit__list-item {
    padding: 1.6rem;
    grid-template-columns: 7.2rem 17.2rem 3.2rem;
    align-items: center;
    gap: 1.1rem;
    border-radius: 1.2rem;
  }

  .recruit__list-contents h3 {
    font-size: 1.7rem;
    line-height: 1.48;
    letter-spacing: 0.17rem;
  }

  .recruit__list-contents p {
    margin-top: 0.6rem;
    font-size: 1.3rem;
  }
}