@charset "utf-8";

.fv {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100svh;
}

.fv__img {
  position: absolute;
  top: 0;
  left: 0;
}

.fv__wrap {
  position: absolute;
  top: calc(271 / 767 * 100%);
  left: 20px;
  z-index: 5;
}
@media screen and (min-width: 768px) { 
  .fv__wrap {
    left: 60px;
  }
}
@media screen and (min-width: 1200px) { 
  .fv__wrap {
    left: calc(271px + 39px);
  }
}

.fv__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fv__bg-text {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 1200px) { 
  .fv__bg-text {
    left: 249px;
    transform: unset;
    justify-content: start;
    overflow: hidden;
  }
}

.top-about {
  overflow: hidden;
}

.top-about__wrap {
  margin-top: 27px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
}
@media screen and (min-width: 768px) {
  .top-about__wrap {
    margin-left: -90px;
    flex-direction: row;
    gap: 65px;
    align-items: start;
  }
}
@media screen and (min-width: 1200px) {
  .top-about__wrap {
    gap: 35px;
  }
}
@media screen and (min-width: 1300px) {
  .top-about__wrap {
    gap: min(calc(71 / 1366 * 100vw), 71px);
  }
}

.top-about__wrap::before {
  content: "";
  position: absolute;
  background: #313131;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 470px;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .top-about__wrap::before {
    top: -80px;
    bottom: unset;
  }
}

.top-about__img {
  margin-top: 51px;
  aspect-ratio: 560 / 584;
  width: min(100%, 550px);
  height: auto;
  margin-inline: auto;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .top-about__img {
    width: min(calc(560 / 1366 * 100vw), 560px);
    margin-inline: unset;
  }
}

.top-about__item {
  position: relative;
}

.top-about__bg-text {
  z-index: -2;
  position: absolute;
  bottom: -130px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width: 1024px) {
  .top-about__bg-text {
    bottom: -220px;
  }
}

.top-carrer__img {
  position: relative;
  width: 100%;
  height: auto;
  margin-inline: auto;
}
.top-carrer__img-pc {
  display: none;
}
.top-carrer__img-sp {
  display: block;
}
@media screen and (min-width: 768px) {
  .top-carrer__img-pc {
    display: block;
  }
  .top-carrer__img-sp {
    display: none;
  }
}

.top-carrer__text {
  position: absolute;
  right: 110px;
  bottom: 0;
  z-index: 5;
}

.top-personality {
  z-index: 10;
}

.top-personality__wrap:hover .button {
  background: #FDF9F2;
}
.top-personality__wrap:hover .button p {
  color: #7B6D3D;
}
.top-personality__wrap:hover .button::after {
  background: url('../images/icon-arrow-gold.svg') center / contain no-repeat;
}
.top-personality__wrap:hover .top-personality__img {
  scale: 1.1;
}

.top-personality__wrap {
  padding: 40px 0 0 20px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 850px) {
  .top-personality__wrap {
    padding: 50px 0 0 70px;
  }
}

.top-personality__img {
  transition: scale 0.5s;
}

.top-personality__item {
  position: relative;
  z-index: 5;
}

.top-personality__btn {
  transition: all 0.3s;
}

.top-works {
  overflow: hidden;
}
.top-works__wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 5;
}
@media screen and (min-width: 850px) {
  .top-works__wrap {
    flex-direction: row;
    gap: min(calc(90 / 1366 * 100vw), 90px);
    align-items: center;
  }
}

.top-works__images {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: start;
  justify-content: center;
  position: relative;
  flex-grow: 1;
  width: 100%;
}
@media screen and (min-width: 850px) {
  .top-works__images {
    flex-direction: column;
    width: auto;
  }
}

.top-works__img01 {
  aspect-ratio: 335 / 310;
  width: clamp(50%, calc(335 / 1366 * 100vw), 335px);
  height: auto;
  object-fit: cover;
}
.top-works__img02 {
  aspect-ratio: 390 / 307;
  width: clamp(40%, calc(390 / 1366 * 100vw), 390px);
  height: auto;
  object-fit: cover;
  margin-top: 40px;  
}
@media screen and (min-width: 850px) {
  .top-works__img02 {
    margin-top: 0;
    margin-left: auto;
  }
}

.top-works__bg-text {
  position: absolute;
  bottom: -80px;
  left: 0;
}