@charset "utf-8";

/* CSS Document */

/***********
mainVisual
************/

.mainVisual {
  --mainVisual-height: 23em;
  --mainVisual-minHeight: 23em;
  --mainVisual-blur: 50px;
  --mainVisual-blurSpeed: 4s;
  font-size: 2rem;
  position: relative;
  height: var(--mainVisual-height);
  background: linear-gradient(to bottom, var(--color-brand01) 0%, var(--color-brand02) 100%);
  user-select: none;
  transition: 1s;
  opacity: 0;
}
body.is-loaded .mainVisual {
  opacity: 1;
  transition: 1s ease 0.05s;
}
.mainVisual::after {
  content: "";
  display: block;
  width: clamp(640px,100%, 99999px);
  height: 100%;
  position: absolute;
  left: 0;
  bottom: -1px;
  background: url(../../img/mv_wave.png) no-repeat center bottom / 100% auto;
}

/*
visual
*/

.mainVisual-visual {
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  user-select: none;
  opacity: 0;
  overflow: hidden;
}
body.is-loaded .mainVisual-visual {
  opacity: 1;
  transition: 1.5s ease 0.2s;
}
.mainVisual-visual::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #fff2;
  mix-blend-mode: screen;
}

.mainVisual-lead {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  align-items: center;
  z-index: 9;
}
.mainVisual-lead-text {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-weight: 500;
  width: 4em;
  line-height: 2;
  color: var(--color-base);
  letter-spacing: 0.05em;
  text-shadow:
    0 0 0.3em #0005,
    0 0 0.6em #0002;
}
.mainVisual-lead-text.-line3 {
  width: 6em;
}



/*
town
*/

.mainVisual-town {
  position: absolute;
  bottom: 0;
  width: 38%;
  z-index: 9;
  translate: 0 30%;
}
.mainVisual-town img {
  max-width: 100%;
  width: 100%;
}
.mainVisual-town.-left {
  left: 0;
}
.mainVisual-town.-right {
  right: 0;
}


/*
object
*/

.mainVisual-object {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5.2em;
  z-index: 9;
}
.mainVisual-object img {
  max-width: 100%;
  width: 100%;
}
.mainVisual-object.-no01 {
  translate: -210% -50%;
}
.mainVisual-object.-no01 img {
  --ver: 2rem;
  animation: anim-fuwafuwa 12s ease-in-out infinite;
}
.mainVisual-object.-no02 {
  translate: 110% -130%;
}
.mainVisual-object.-no02 img {
  --ver: 1.5rem;
  animation: anim-fuwafuwa 9s ease-in-out infinite;
}



/*
container
*/

.mainVisual-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--color-base);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  padding-top: calc(var(--header-height) / 2);
}
.mainVisual-block {
}


/*
slider
*/

.mainVisual-slider{
  opacity: 0;
  transition: all 0.5s ease 0s;
}
body.is-loaded .mainVisual-slider{
  opacity: 1;
}
.mainVisual-slider > li,
.mainVisual-slider .slick-slide{
  position: relative;
  width: 100%;
  height: var(--mainVisual-height);
  min-height: var(--mainVisual-minHeight);
}



.mainVisual-slider-text {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 9;
  writing-mode: vertical-rl;
  white-space: nowrap;
  text-align: left;
  font-weight: 500;
  width: 4em;
  line-height: 2;
  color: var(--color-base);
  letter-spacing: 0.05em;
  text-shadow:
    0 0 0.3em #0005,
    0 0 0.6em #0002;
}


.mainVisual-item {
  width: 100%;
  height: var(--mainVisual-height);
  min-height: var(--mainVisual-minHeight);
}

.mainVisual-img{
  width: 100%;
  height: var(--mainVisual-height);
  min-height: var(--mainVisual-minHeight);
  background-position: center center;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  filter: blur(0);
  opacity: 1;
  transition:
    filter var(--mainVisual-blurSpeed) ease,
    opacity var(--mainVisual-blurSpeed) ease;
}
.slick-prev-slide .mainVisual-img {
  filter: blur(var(--mainVisual-blur));
  opacity: 0;
}
.mainVisual-img > img {
  width: 100%;
  height: 100%;
  min-height: var(--mainVisual-minHeight);
  object-fit: cover;
}

.mainVisual-img.-zoom{
  transform-origin: center center;
}
.slick-animation .mainVisual-img.-zoom{
  animation: amin-mainVisual-zoom 10s linear forwards;
}
.mainVisual-img.-left{
  width: 110%;
  transform-origin: left center;
}
.slick-animation .mainVisual-img.-left{
  animation: amin-mainVisual-left 10s linear forwards;
}
.mainVisual-img.-right{
  width: 110%;
  transform-origin: right center;
}
.slick-animation .mainVisual-img.-right{
  animation: amin-mainVisual-right 10s linear forwards;
}
.mainVisual-img.-up{
  height: 110%;
}
.slick-animation .mainVisual-img.-up{
  animation: amin-mainVisual-up 10s linear forwards;
}
.mainVisual-img.-down{
  height: 110%;
}
.slick-animation .mainVisual-img.-down{
  animation: amin-mainVisual-down 10s linear forwards;
}

@keyframes amin-mainVisual-zoom {
  0% {
    scale: 1;
  }
  100% {
    scale: 1.1;
  }
}
@keyframes amin-mainVisual-left {
  0% {
    translate: 0 0;
  }
  100% {
    translate: -5% 0;
  }
}
@keyframes amin-mainVisual-right {
  0% {
    translate: -5% 0;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes amin-mainVisual-up {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 -5%;
  }
}
@keyframes amin-mainVisual-down {
  0% {
    translate: 0 -5%;
  }
  100% {
    translate: 0 0;
  }
}




/*
jworks
*/

.mainVisual.-jworks .mainVisual-visual::after {
  background-color: #0002;
  mix-blend-mode: multiply;
}

.mainVisual.-jworks .mainVisual-lead-text {
  margin-right: -22em;
  margin-top: -2em;
}

/*
jclean
*/

.mainVisual.-jclean .mainVisual-visual::after {
  background-color: #0003;
  mix-blend-mode: multiply;
}

.mainVisual.-jclean .mainVisual-lead-text {
  margin-right: -24em;
  margin-top: -1em;
}

@media screen and (max-width:1024px) {

  /*
  jclean
  */

  .mainVisual.-jclean .mainVisual-lead-text {
    margin-right: 0;
    margin-top: 0;
  }

}

@media screen and (max-width:640px) {

  .mainVisual {
    --mainVisual-height: 90svh;
    --mainVisual-minHeight: 20em;
    font-size: 2rem;
    position: relative;
    height: var(--mainVisual-height);
    min-height: var(--mainVisual-minHeight);
  }

  /*
  town
  */

  .mainVisual-town {
    width: 52%;
  }
  .mainVisual-town img {
    max-width: 100%;
    width: 100%;
  }
  .mainVisual-town.-left {
    left: 0;
  }
  .mainVisual-town.-right {
    right: 0;
  }


  /*
  object
  */

  .mainVisual-object {
    width: 4em;
  }
  .mainVisual-object.-no01 {
    translate: -180% -50%;
  }
  .mainVisual-object.-no02 {
    translate: 80% -130%;
  }

  /*
  jworks
  */

  .mainVisual.-jworks .mainVisual-lead-text {
    margin-right: 0;
    margin-top: 0;
  }


}


/***********
homeIntro
************/

.homeIntro {
  background-color: var(--color-sub04);
  padding-bottom: 6rem;
}
.homeIntro-titie {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  padding-bottom: 0.5em;
}
.homeIntro-text {
  font-size: 1.1rem;
  line-height: 2.4;
}

.homeIntro-service {
  margin-top: -20rem;
}

.homeIntro-tips {
  font-family: var(--font-family-gothic02);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
}

@media screen and (max-width:1280px) {

  .homeIntro-service {
    margin-top: -25vw;
  }

}

@media screen and (max-width:834px) {

  .homeIntro {
    padding-bottom: 6rem;
  }
  .homeIntro-titie {
    font-size: clamp(1.3rem,5.5vw, 2rem);
    line-height: 1.5;
  }
  .homeIntro-text {
    font-size: 1.1rem;
    line-height: 2;
  }

  .homeIntro-service {
    margin-top: -22vw;
  }

  .homeIntro-tips {
    font-size: 0.72rem;
    text-align: left;
  }

}


@media screen and (max-width:640px) {
  .homeIntro-service {
    margin-top: 3rem;
  }
}

/***********
homeService
************/

.homeService {
  position: relative;
  font-size: 1vw;
}
.homeService-img {
}
.homeService-img img {
  width: 100em;
  max-width: 100em;
}

@media screen and (max-width:1280px) {

  .homeService {
    font-size: 1.2vw;
    margin-left: -10%;
  }

}

.homeService-item {
  position: absolute;
  z-index: 9;
}
.homeService-item-box {
  background-color: var(--color-base);
  box-shadow:
    0 0 0 0.7em var(--color-secondary02),
    0 0 0 0.9em var(--color-base);
  border-radius: 1em;
  padding: 1em;
  min-width: 17em;
  text-align: center;
  font-family: var(--font-family-gothic02);
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.homeService-item-box::after {
  content: "";
  display: block;
  width: 2em;
  aspect-ratio: 100 / 80;
  position: absolute;
  left: 50%;
  top: calc(100% + 0.4em);
  translate: -50% 0 ;
  background: var(--color-secondary02);
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  transition: background-color 0.2s;
}
body.is-pc a.homeService-item-box:hover {
  box-shadow:
    0 0 0 0.7em var(--color-primary01),
    0 0 0 0.9em var(--color-base);
}
body.is-pc a.homeService-item-box:hover::after {
  background-color: var(--color-primary01);
}

.homeService-item-title {
  font-size: 1.4em;
  font-feature-settings: "palt";
}
.homeService-item-title::after {
  content: "";
  display: block;
  width: 3em;
  height: 2px;
  background-color: var(--color-primary01);
  margin: 0.3em auto 0.6em;
}
.homeService-item-subTitle {
  font-size: 1.2em;
  padding-bottom: 0.5em;
}
.homeService-item-list {
  display: inline-block;
  text-align: left;
}
.homeService-item-list li {
  position: relative;
  padding-left: 0.8em;
}
.homeService-item-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0.5lh;
  translate: 0 -50%;
}

.homeService-item.-no01 {
  left: 20%;
  top: 40%;
}
.homeService-item.-no01 .homeService-item-box::after {
  left: 20%;
  transform: skewX(-15deg);
}
.homeService-item.-no02 {
  left: 44%;
  top: 41%;
}
.homeService-item.-no02 .homeService-item-box::after {
  left: 35%;
}
.homeService-item.-no03 {
  left: 68%;
  top: 42%;
}
.homeService-item.-no03 .homeService-item-box::after {
  left: 70%;
  transform: skewX(5deg);
}


@media screen and (max-width:640px) {

  .homeService {
    font-size: 1rem;
    padding-bottom: 30vw;
    margin-left: 0;
  }
  .homeService-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
  }
  .homeService-img img {
    width: 100%;
    max-width: 100%;
  }

  .homeService-item {
    display: inline-block;
    position: static;
    margin-top: 0.3em;
  }

  .homeService-item.-no01 {
    inset: auto;
    padding-left: 1rem;
  }
  .homeService-item.-no02 {
    inset: auto;
    float: right;
  }
  .homeService-item.-no03 {
    inset: auto;
    padding-left: 3rem;
    clear: both;
  }

}
/***********
homeBusiness
************/

.homeBusiness {
  position: relative;
  padding-bottom: 10rem;
}
.homeBusiness-character {
  position: absolute;
  left: calc(50% + 22rem);
  bottom: 2rem;
  width: 14rem;
  pointer-events: none;
}

@media screen and (max-width:834px) {

  .homeBusiness {
    position: relative;
    padding-bottom: 10rem;
  }
  .homeBusiness-character {
    inset: auto;
    right: 0;
    bottom: -0.5rem;
    width: 11rem;
  }

}


/***********
homeRequest
************/

.homeSolution {
  position: relative;
  padding-bottom: 10rem;
}
.homeSolution-character {
  position: absolute;
  left: calc(50% + 22rem);
  bottom: 2rem;
  width: 16rem;
  pointer-events: none;
}


@media screen and (max-width:834px) {

  .homeSolution {
    position: relative;
    padding-bottom: 5rem;
  }
  .homeSolution-character {
    inset: auto;
    right: 0;
    bottom: -0.5rem;
    width: 11rem;
  }

}

/***********
xxxxx
************/

/***********
xxxxx
************/

/***********
xxxxx
************/

/***********
xxxxx
************/

/***********
xxxxx
************/

/***********
xxxxx
************/

/***********
homeWorks
************/


.homeWorks-marquee {
  --homeWorks-marquee-height: clamp(16rem,18vw, 22rem);
  overflow: hidden;
}
.homeWorks-marquee-slider {
  --marquee-gap: 0px;
  position: relative;
  overflow: hidden;
  width: 200vw;
  margin-left: -100vw;
  touch-action: pan-y;
}
.homeWorks-marquee-track {
  position: relative;
  column-gap: var(--marquee-gap);
}
.homeWorks-marquee-item {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  padding-right: 1.5rem;
  width: max-content;
  will-change: transform;
}

.homeWorks-marquee-img {
  width: auto;
  max-width: none;
  width: 18rem;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border-radius: 0.8rem;
}
.homeWorks-marquee-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.8rem;
}
.homeWorks-marquee-img a {
  display: block;
}
body.is-pc .homeWorks-marquee-img a:hover {
  opacity: 0.7;
}
.homeWorks-marquee-text {
  text-align: center;
  padding-top: 0.5em;
}

.homeWorks-panel[hidden] {
  display: none;
}
.homeWorks-note {
  padding-bottom: 1.5em;
  text-align: right;
  font-size: 0.95rem;
}
/* 初期化前も横並びにし、画像が一か所に重なるのを防ぐ。 */
.homeWorks-marquee-slider:not(.is-ready) .homeWorks-marquee-track {
  display: flex;
}
.homeWorks-marquee-slider:not(.is-ready) .homeWorks-marquee-item {
  position: relative;
  flex-shrink: 0;
}
@media screen and (max-width:834px) {
    .homeWorks-note {
    font-size: 0.85rem;
  }
}
