.main {
  background-color: var(--pointColor3);
  overflow-x: hidden;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scaleUp {
  0% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.mv .title {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

.mv .subTitle {
  opacity: 0;
  animation: fadeIn 1.2s ease-in-out forwards;
  animation-delay: 1s;
}
.mv .mvimg {
  transform: scale(0.9);
  animation: fadeInOpacity 2s ease forwards;
}
.mv .mvdeco {
  transform: scale(0.9);
  animation:
    fadeIn 1s ease forwards,
    scaleUp 2s ease-out forwards;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
.fadeIn {
  opacity: 0;
  transform: translateY(50px);
}
/* mv */
.mv {
  position: relative;
  padding: 4rem 0 20rem;
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  height: 640px;
}
.mv .mvimg {
  max-width: 1700px;
  width: 100%;
  position: absolute;
  top: 50%;
  right: 20%;
  transform: translate(0, -50%);
}
.mv .mvtext {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  z-index: 10;
}
.mv .mvdeco {
  max-width: 1100px;
  width: 100%;
  position: absolute;
  top: -9rem;
  right: 0;
}
.mv .title {
  text-align: right;
  line-height: 1.4;
  font-size: var(--fz44);
  font-weight: 600;
  color: #fff;
}
.mv .subTitle {
  color: #fff;
  text-align: right;
  font-weight: 400;
  font-size: var(--fz24);
  margin-top: 2rem;
}
.gsap {
  position: relative;
}

.gsap .NIcon {
  position: absolute;
  width: 80%;
  max-width: 930px;
}
/* 製品ラインナップ */
.lineupSec {
  position: relative;
}
.lineupBox {
  display: flex;
  gap: 4rem;
  color: #fff;
}
.lineupBox a {
  color: #fff;
}
.lineupList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}
.lineupList li i img {
  transform: translateX(0);
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}
.lineupList li:hover i img,
.lineupList li.active i img {
  transform: translateX(10px);
  filter: invert(33%) sepia(95%) saturate(7468%) hue-rotate(0deg) brightness(102%) contrast(107%);
}
.lineupList li a {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  box-sizing: border-box;
  width: 260px;
  background-color: #333;
  font-size: var(--fz20);
}
.lineupListArea {
  width: calc(100% - 260px);
  position: relative;
}
.lineupListBox {
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  position: absolute;
  width: 100%;
  max-width: 100%;
}
.lineupListBoxText {
  font-size: var(--fz18);
  margin-bottom: 2rem;
}
.lineupProdouctList {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.lineupProdouctList li {
  width: calc(100% / 2 - 2rem);
}
.lineupProdouctList li a {
  font-size: var(--fz16);
  border: 1px solid #fff;
  text-align: center;
  padding: 1.2rem 2rem;
  box-sizing: border-box;
}
.morebtn {
  margin-top: 2rem;
}
.morebtn a {
  font-size: var(--fz18);
  display: flex;
  gap: 1rem;
  justify-content: end;
  align-items: center;
  position: relative;
}

.morebtn a i {
  display: block;
  position: relative;
  margin-left: 1rem;
  top: -5px;
  transform: translateX(-10px);
  transition: transform 0.3s ease;
}
.morebtn a i img {
  max-width: 40px;
  width: 100%;
}
.morebtn a:hover i {
  transform: translateX(0);
}
.lineupListBox {
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  position: absolute;
}
.lineupListImg {
  background-color: var(--pointColor1);
  height: 700px;
  width: 100vw;
  position: absolute;
  left: 20%;
  top: 0;
  border-top-left-radius: 500px;
  border-bottom-left-radius: 500px;
  overflow: hidden;
}
.lineupListImg img {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 1s ease,
    opacity 1s ease;
}
.lineupListBox.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}
.lineupListImg img.active {
  opacity: 1;
  transform: scale(1.1);
}
/* お知らせ */
.newsBox {
  background-color: #fff;
}
.newsBox li {
  padding: 2.5rem 4rem;
  box-sizing: border-box;
  border-bottom: 1px solid #f5f5f5;
}
.newsBox li a {
  transition: opacity 0.3s ease;
}
.newsBox li a:hover {
  opacity: 0.7;
}
.newsBox li dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  font-size: var(--fz18);
}
.newsBox li dl dt .date {
  color: var(--pointColor3);
  margin-right: 1rem;
}

.newsBox li dl dt .tag {
  color: var(--pointColor3);
  font-size: var(--fz14);
  border: 1px solid var(--pointColor3);
  border-radius: 20px;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
}
/* お問い合わせ */
.contactSec {
  background: url('../img/contact-bg.png') no-repeat;
  background-size: cover;
}
/* ニッパについて */
.aboutSec {
  background-color: #fff;
}
.aboutBox {
  position: relative;
}
.aboutBox:nth-of-type(1) {
  margin-bottom: 10rem;
}
.aboutBox .aboutImgArea {
  position: relative;
  left: -20rem;
  display: flex;
}
.aboutBox .aboutImgArea img {
  width: 100%;
}
.aboutBox:nth-of-type(2) .aboutImgArea {
  right: -20rem;
  left: auto;
}
.aboutBox .aboutTextArea {
  background-color: var(--pointColor3);
  color: #fff;
  font-size: var(--fz18);
  position: absolute;
  top: 6rem;
  right: 0;
  padding: 3rem;
  box-sizing: border-box;
  max-width: 400px;
  width: 100%;
}
.aboutBox:nth-of-type(2) .aboutTextArea {
  left: 0;
}
/* 無料相談 */
.contactTextArea {
  padding: 10rem 0;
}
.contactTextArea h2 {
  font-size: var(--fz32);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}
.contactTextArea .contactText {
  text-align: center;
}
@media screen and (max-width: 920px) {
  /* 製品ラインアップ */
  .lineupListArea {
    display: none;
  }
  .lineupList {
    width: 100%;
  }
  .lineupList li a {
    width: 100%;
  }
  .lineupListImg img {
    height: 100%;
  }
}
@media screen and (max-width: 768px) {
  /* MV */
  .mv .title {
    font-size: var(--fz40);
    margin-bottom: 1rem;
  }
  .mv .subTitle {
    font-size: var(--fz20);
  }
  .mv .mvtext {
    top: auto;
    transform: none;
    margin-top: 13rem;
  }
  .mv .mvimg {
    top: auto;
    bottom: 0;
    right: auto;
    left: -10%;
  }
  .mv .mvdeco {
    top: -5rem;
  }
  /* お問い合わせ */
  .contactSec {
    background: url('../img/contact-bg-sp.png') no-repeat;
    background-position: bottom;
    background-size: 100%;
  }
}

@media screen and (max-width: 640px) {
  /* MV */
  .mvSec {
    position: relative;
  }
  .mv {
    padding: 18rem 0 12rem;
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }
  .mv .mvimg {
    position: relative;
    width: 130%;
    margin-top: 2rem;
    transform: unset;
  }
  .mv .mvtext {
    margin-top: 0;
  }
  .mv .mvdeco {
    top: -11rem;
  }
  /* ニッパについて */
  .aboutBox .aboutImgArea {
    left: -10rem;
  }
  .aboutBox:nth-of-type(2) .aboutImgArea {
    right: -10rem;
  }
  /* お知らせ */
  .newsBox li {
    padding: 1.5rem 2rem;
  }
  .newsBox li dl {
    gap: 1rem;
  }
}
@media screen and (max-width: 480px) {
  /* MV */
  .mv {
    padding: 13rem 0 4rem;
  }
  .mv .title {
    font-size: var(--fz54);
  }
  .mv .subTitle {
    font-size: var(--fz18);
  }
  .mv .mvdeco {
    top: -7rem;
  }
  /* ニッパについて */
  .aboutBox .aboutTextArea {
    position: relative;
    max-width: unset;
    width: 90%;
    top: -4rem;
    transform: translate(calc(10% + 20px), 0px);
  }
  .aboutBox .aboutImgArea {
    left: auto;
  }
  .aboutBox:nth-of-type(2) .aboutImgArea {
    right: auto;
  }
  .aboutBox:nth-of-type(2) .aboutTextArea {
    transform: translate(-20px, 0px);
  }
}
