/* MV */
.mvBg {
  background: url(../img/mv/mv-bg.jpg) no-repeat;
  background-size: cover;
  height: 740px;
  position: relative;
}
.mvArea {
  position: relative;
  top: 11rem;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: right;
  align-items: center;
}
.mvArea .mvH1 {
  z-index: 20;
  font-size: var(--fz48);
  font-family: "Zen Kurenaido", sans-serif;
  position: absolute;
  left: 10%;
}
.mvArea .mvH1 p {
  position: relative;
  overflow: hidden;
  padding: 0 6rem;
  color: #fff;
  text-align: center;
  transform: translate3d(0%, 0, 0);
  animation: frontBox 1s cubic-bezier(0.075, 0.82, 0.165, 1) backwards 0.1s;
  transition-property: transform, -webkit-transform;
}
.mvArea .mvH1 p::after {
  content: "";
  background: var(--pointColor1);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  animation: frontBox 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards 1s;
  transition-property: transform, -webkit-transform;
}
.mvArea .mvH1 p:nth-of-type(2) {
  margin-top: 2rem;
  left: 10rem;
}
.mvArea .mvH1 p span {
  position: relative;
  z-index: 10;
}
.mvArea img {
  border-radius: 20px;
}
.mvImg {
  display: flex;
  position: relative;
  overflow: hidden;
}
.ani-in {
  border-radius: 20px;
  transform: translate3d(0%, 0, 0);
  animation: slidein 1s cubic-bezier(0.075, 0.82, 0.165, 1) backwards 0.1s;
  transition-property: transform, -webkit-transform;
}
.ani-in:after,
.ani-in::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.ani-in:after {
  background: #fff;
  z-index: 3;
  animation: backBox 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards 0.5s;
  animation-delay: 0.3s;
}
.ani-in::before {
  background: var(--pointColor1);
  animation: backBox 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards 1s;
  animation-delay: 0.8s;
}

#mvText span,
#mvText2 span {
  opacity: 0;
}
#mvText .text-animated,
#mvText2 .text-animated {
  animation: slideInLeft 0.5s ease-in-out forwards;
}

#mvText .text-animated {
  animation-delay: 1.2s;
}

#mvText2 .text-animated {
  animation-delay: 1.6s;
}

.sliderContainer {
  overflow: hidden;
}

.slider {
  width: 100%;
  position: relative;
}
.slides {
  display: flex;
  width: 200%;
  animation: slide 15s linear infinite;
}
.slide {
  margin: 7rem 0 3.5rem;
  flex-basis: 50%;
  display: flex;
  align-items: center;
}
.slide li {
  padding: 0 6rem;
  display: block;
  transition: transform 0.3s;
}
.slide li img {
  display: flex;
  max-height: 42px;
}

/* 事業の思い */
.messageSec {
  background: linear-gradient(to bottom right, #f49d43 35%, #f48343 65%) bottom right / 51% 51% no-repeat,
    linear-gradient(to bottom left, #f49d43 35%, #f48343 65%) bottom left / 51% 51% no-repeat,
    linear-gradient(to top left, #f49d43 35%, #f48343 65%) top left / 51% 51% no-repeat,
    linear-gradient(to top right, #f49d43 35%, #f48343 65%) top right / 51% 51% no-repeat;
}
.messageSec h2 {
  color: #fff;
}
.messageText {
  color: #fff;
  font-size: var(--fz18);
  text-align: center;
  font-weight: 400;
}
/* 業務内容 */
.boxArea {
  position: relative;
  margin-bottom: 15rem;
}
.boxArea:nth-last-of-type(1) {
  margin-bottom: 0;
}
.boxArea .mvWave {
  top: 50%;
  transform: translate(0, -50%);
  z-index: -1;
}
.businessBox {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0 8rem;
}
.businessBox.right .boximg,
.businessBox.left .boximg {
  position: relative;
  display: flex;
}

.businessBox .boximg span {
  display: flex;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  z-index: -1;
  overflow: hidden;
  border-radius: 20px;
}
.businessBox .orangeBox {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f48343;
  height: 100%;
  width: 100%;
}
.businessBox .boxtext h3 {
  font-size: var(--fz24);
  font-weight: 600;
  margin-bottom: 2rem;
}
.businessBox .boxtext p {
  font-size: var(--fz18);
}

/* 会社概要 */
.companySec {
  background: url("../img/company-bg.jpg") no-repeat;
  background-position: center center;
  background-size: 100% 500px;
  overflow: hidden;
  position: relative;
}
.companySec .mvWave {
  top: 50%;
  transform: translate(0, -50%);
}
.companyTable {
  position: relative;
  z-index: 11;
  display: flex;
  flex-wrap: wrap;
  max-width: 890px;
  width: 90%;
  margin: 0 auto;
  background-color: #fff;
  padding: 4rem;
  box-sizing: border-box;
}
.companyTable dt,
.companyTable dd {
  padding: 3rem 0;
  border-bottom: 1px solid var(--pointColor1);
}
.companyTable dt {
  width: 200px;
  font-weight: 600;
}
.companyTable dd {
  width: calc(100% - 200px);
}
.companyTable dd a {
  position: relative;
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 200% 100%;
  transition: 2.5s;
  background-image: linear-gradient(transparent 95%, #f2b100 0);
}
.companyTable dd a:hover {
  animation: aTagLine 0.5s ease-out;
}

/* google map */
.googlemapSec {
  display: flex;
}
.googlemapSec iframe {
  width: 100%;
}

@media screen and (max-width: 1180px) {
  .businessBox {
    gap: 0 4rem;
  }

  .businessBox .boximg img {
    width: 98%;
  }
}

@media screen and (min-width: 971px) {
  .mvSP {
    display: none;
  }
}
@media screen and (max-width: 970px) {
  .mvPC {
    display: none;
  }
  .mvArea .mvH1 {
    top: calc(50% + 10rem);
    left: 0;
    transform: translate(0, -50%);
    font-size: var(--fz44);
  }
  .mvArea .mvH1 p {
    padding: 0 4rem;
  }
  .mvArea .mvH1 p:nth-of-type(2) {
    left: 5rem;
  }
}
@media screen and (max-width: 768px) {
  .businessBox {
    flex-direction: column;
    gap: 4rem 0;
  }
  .businessBox.left {
    flex-direction: column-reverse;
  }
  .businessBox .boximg {
    width: 100%;
  }
  .businessBox .boximg img {
    width: 100%;
  }
  .businessBox .boximg span {
    width: 100%;
  }
  .boxArea .mvWave {
    top: calc(50% - 12rem);
  }
  .businessBox .boxtext {
    width: 100%;
  }
  .companySec {
    background-size: 100% 600px;
  }
  .companyTable dt {
    width: 30%;
  }
  .companyTable dd {
    width: calc(100% - 30%);
  }
  .companyTable dt,
  .companyTable dd {
    padding: 1.5rem 0;
  }
}
@media screen and (max-width: 640px) {
  .mvBg {
    overflow: hidden;
    height: min(140vw, 800px);
  }
  .mvArea .mvH1 {
    top: calc(50% + 4rem);
    font-size: var(--fz48);
  }
  .mvArea {
    margin-right: 0;
    width: 95%;
  }
  .mvArea .mvH1 p {
    padding: 0 2rem;
  }
  .mvImg {
    left: 2rem;
  }
  .mvArea img {
    width: 100%;
  }
  .slide {
    margin: 4rem 0;
  }
  .slide li {
    padding: 0 3rem;
  }
}
@media screen and (max-width: 480px) {
  .slide {
    margin: 2rem 0;
  }
  .slide li img {
    max-height: 32px;
  }
}
