:root {
  --color-primary: #000000;
  --color-white: #fff;
  --color-blue: #008AC6;
  --color-blue2: #063F85;
  --color-blue3: #EDF2F5;
  --font-primary: "Zen Kaku Gothic New", serif;
  --font-jakarta: "Plus Jakarta Sans", sans-serif;
}

/*---------- START mv ----------*/
.mainvisual {
  height: 100vh;
}
@media only screen and (min-width: 1500px) {
  .mainvisual {
    min-height: 85rem;
  }
}
@media only screen and (max-width: 767px) {
  .mainvisual {
    height: auto;
  }
}
.mainvisual .splide__track {
  height: 100%;
}
.mainvisual__slider {
  height: 100%;
}
.mainvisual__row {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: space-between;
}
@media only screen and (max-width: 767px) {
  .mainvisual__row {
    flex-direction: column-reverse;
    height: auto;
  }
}
.mainvisual__left {
  width: 40.5%;
  display: flex;
  align-items: center;
  padding: 4rem 0 16.5rem 7rem;
}
@media only screen and (max-width: 767px) {
  .mainvisual__left {
    width: 100%;
    padding: 0;
  }
}
.mainvisual__box {
  width: 100%;
  max-width: 70rem;
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 767px) {
  .mainvisual__box {
    padding: 3rem 2rem 7rem;
  }
}
.mainvisual__title {
  font-size: 3.909vw;
  color: var(--color-blue);
  font-weight: 500;
  letter-spacing: 1.5px;
}
.mainvisual__title span {
  font-size: 85%;
}
@media only screen and (max-width: 767px) {
  .mainvisual__title {
    font-size: 3.2rem;
  }
}
.mainvisual p {
  font-size: 1.563vw;
  font-family: var(--font-jakarta);
  color: var(--color-blue);
  font-weight: 500;
  margin-top: 1rem;
}
@media only screen and (max-width: 767px) {
  .mainvisual p {
    font-size: 1.4rem;
  }
}
.mainvisual__right {
  width: 59.5%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.mainvisual__right .slider-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
}
.mainvisual__right .slider-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 767px) {
  .mainvisual__right {
    width: 100%;
    height: 40rem;
  }
}
.mainvisual .splide__slide {
  height: 100%;
  width: 100%;
  aspect-ratio: 1132/919;
}
.mainvisual .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*---------- START about ----------*/
.about {
  background-color: var(--color-blue3);
  padding: 10rem 0 12rem;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .about {
    padding: 2rem 0 4rem;
  }
}
.about::before {
  content: "";
  position: absolute;
  top: -14rem;
  left: 0;
  background: url("../images/decor.png") center center repeat-x;
  width: 100%;
  height: 19rem;
}
@media only screen and (max-width: 767px) {
  .about::before {
    background-size: 150%;
    top: -10%;
    height: 17%;
  }
}
.about__row a {
  text-decoration: none;
}
@media only screen and (min-width: 768px) {
  .about__row a:hover img {
    transform: scale(1.1);
    opacity: 1;
  }
}
.about__row-title {
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
}
@media only screen and (max-width: 767px) {
  .about__row-title {
    font-size: 1.8rem;
  }
}
.about__row-img {
  position: relative;
  margin-bottom: 1.8rem;
  overflow: hidden;
  aspect-ratio: 1160/350;
}
@media only screen and (max-width: 767px) {
  .about__row-img {
    margin-bottom: 1rem;
    aspect-ratio: 500/330;
  }
}
.about__row-img img {
  will-change: transfrom;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__row .cm-btn04 {
  position: absolute;
  bottom: 0;
  right: 0;
}

/*---------- START works ----------*/
.works {
  padding: 8.5rem 0 0;
}
@media only screen and (max-width: 767px) {
  .works {
    padding: 4rem 0 0;
  }
}
.works__list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 3rem;
}
@media only screen and (max-width: 767px) {
  .works__list {
    gap: 2rem;
  }
}
.works__list-item {
  position: relative;
  z-index: 1;
  height: 40rem;
  color: var(--color-white);
  z-index: 1;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .works__list-item {
    height: auto;
    min-height: 30rem;
    display: flex;
    align-items: center;
  }
}
.works__list-item:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}
.works__list-item:nth-child(2):After {
  background-color: rgba(0, 0, 0, 0.44);
}
.works__list-item:nth-child(3):After {
  background-color: rgba(0, 0, 0, 0.5);
}
.works__list-item a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  padding: 3rem 17rem;
}
@media only screen and (max-width: 767px) {
  .works__list-item a {
    display: block;
    padding: 3rem;
  }
}
@media only screen and (min-width: 768px) {
  .works__list-item a:hover img {
    transform: scale(1.1);
    opacity: 1;
  }
}
.works__list-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}
.works__list-item .cm-btn04 {
  position: absolute;
  bottom: 0;
  right: 0;
}
.works__list-box {
  max-width: 59rem;
}
@media only screen and (max-width: 767px) {
  .works__list-box {
    margin-left: 3rem;
  }
}
.works__title {
  font-size: 4rem;
  margin-bottom: 2rem;
  position: relative;
  font-weight: 500;
}
.works__title span {
  font-size: 2rem;
  font-family: var(--font-jakarta);
  font-weight: normal;
  position: absolute;
  bottom: 1rem;
  left: -5rem;
}
@media only screen and (max-width: 767px) {
  .works__title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .works__title span {
    font-size: 1.5rem;
    left: -3rem;
    bottom: 0.3rem;
  }
}

/*---------- START environment ----------*/
.environment {
  padding: 11rem 0 16rem;
  background: url("../images/bg.jpg") top center no-repeat;
  background-size: cover;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .environment {
    padding: 4rem 0;
  }
}
.environment:before {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.39) 15%, rgb(255, 255, 255) 75%);
}
.environment__list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.environment__list-item {
  width: calc((100% - 6rem) / 3);
}
@media only screen and (max-width: 767px) {
  .environment__list-item {
    width: 100%;
  }
}
.environment__list a {
  text-decoration: none;
}
@media only screen and (min-width: 768px) {
  .environment__list a:hover img {
    transform: scale(1.1);
  }
}
.environment__list-img {
  aspect-ratio: 380/500;
  position: relative;
  overflow: hidden;
}
.environment__list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.environment__list-img .cm-btn04 {
  position: absolute;
  bottom: 0;
  right: 0;
}
@media only screen and (max-width: 767px) {
  .environment__list-img {
    aspect-ratio: 300/330;
  }
}
.environment__list-title {
  text-align: center;
  margin-top: 2rem;
  font-weight: 500;
  font-size: 3rem;
  letter-spacing: 1px;
}
@media only screen and (max-width: 767px) {
  .environment__list-title {
    font-size: 1.8rem;
    margin-top: 1rem;
  }
}