/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
main {
  overflow: hidden;
}
.mv {
  position: relative;
  margin: 70px auto 0;
  width: 100%;
  min-height: calc(100dvh - 70px);
  background: url("/img/top/mvsp.webp") center / cover;
  border-radius: 0 0 30px 0;
}
.mv::before {
  position: absolute;
  content: '';
  top: 40px;
  left: 5%;
  display: block;
  width: 120px;
  height: 120px;
  background-image: url("/img/common/logo_mark.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.mv_txt {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
}
.mv_txt h2 {
  position: absolute;
  bottom: 13px;
  left: 26%;
  width: 70%;
  color: #fff;
  font-weight: 500;
  text-align: left;
  font-size: 1.6rem;
  letter-spacing: 2px;
}
/*スクロールダウン全体の場所*/
.scrolldown {
  position: absolute;
  bottom: 0px;
  left: 6%;
  z-index: 5;
}
/*Scrollテキストの描写*/
.scrolldown span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  bottom: 50px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Helvetica', sans-serif;
  letter-spacing: 2px;
  width: 18px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-align: left;
}
/* 丸の描写 */
.scrolldown:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
  display: block;
  width: 7px;
  height: 30px;
  background-image: url("/img/common/arrow_down.webp");
  background-size: contain;
  background-repeat: no-repeat;
  animation:
    circlemove 2.5s ease-in-out infinite, cirlemovehide 2.5s ease-out infinite;
}
/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
  0% {
    bottom: 20px;
  }
  100% {
    bottom: 0px;
  }
}
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
  0% {
    opacity: 0
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
/* about */
.about_bg {
  padding: 3em 0 3em;
  position: relative;
}
.about_ttl {
  position: absolute;
  top: 1.5em;
  left: -5px;
  line-height: 1;
  font-family: 'Helvetica', sans-serif;
  font-weight: bold;
  letter-spacing: 3px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-align: left;
  font-size: 3rem;
}
.about_img {
  width: 80%;
  margin: auto;
  position: relative;
}
.about_img img {
  border-radius: 10px;
}
.about_img div {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 40%;
}
.about_txt {
  text-align: left;
  width: 80%;
  margin: 2em auto 0;
}
.about_txt div {
  color: #00964B;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin: 0 auto 0.5em;
  position: relative;
  padding: 0 0 0 28px;
}
.about_txt div::before {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(0%, -50%);
  width: 20px;
  height: 1px;
  content: '';
  background: #00964B;
}
.about_txt h2 {
  font-weight: 500;
  letter-spacing: 3px;
  font-size: 2rem;
}
.about_txt p {
  margin: 1em auto 1.5em;
}
.about_map {
  margin: -1.5em auto 0;
  position: relative;
  z-index: -1;
}
.about_map img {
  width: 130%;
  margin: 0 0 0 -25%;
}
.about_map::before {
  position: absolute;
  content: '';
  bottom: 0;
  right: 3%;
  display: block;
  width: 160px;
  height: 160px;
  background-image: url("/img/top/about03.webp");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}
/* product */
.top_product_bg {
  position: relative;
  padding: 0em 0 3em;
}
.top_product_bg::before {
  position: absolute;
  top: 15px;
  right: 0;
  content: '';
  width: 95%;
  height: calc(100% - 15px);
  background: linear-gradient(35deg, rgba(237, 245, 238, 1) 0%, rgba(237, 245, 238, 1)30%, rgba(209, 244, 214, 1)100%);
  border-radius: 20px 0 0 0;
  z-index: -1;
}
.top_product {
  margin: 0 auto 3em;
}
.top_product_txt {}
.top_product_txt .ttl_h2 {
  font-size: 1.8rem;
}
.top_product_txt > p {
  width: 80%;
  margin: 1em auto 1.5em;
  text-align: left;
  line-height: 2;
}
.top_product_txt ul {
  width: 80%;
  margin: 0em auto 2em;
  border-top: 1px solid #00964B;
}
.top_product_txt ul li {
  position: relative;
  counter-increment: mycounter;
  border-bottom: 1px solid #00964B;
  padding: 20px 0;
}
.top_product_txt ul li::before {
  position: absolute;
  top: 20px;
  left: 40%;
  content: counter(mycounter, decimal-leading-zero);
  font-family: 'Helvetica', sans-serif;
  color: #00964B;
  font-weight: 500;
  font-size: 1.8rem;
}
.top_product_txt ul li::after {
  position: absolute;
  cursor: pointer;
  outline: none;
  content: '';
  top: 50%;
  right: -10px;
  transform: translate(0%, -50%);
  display: block;
  width: 25px;
  height: 25px;
  background-image: url("/img/common/arrow_slide.webp");
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
}
.top_product_txt ul li:hover::after {
  right: -15px;
}
.top_product_txt ul li a {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em auto 0em;
  justify-content: space-between;
  align-items: center;
}
.top_product_txt ul li img {
  width: 35%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}
.top_product_txt ul li p {
  width: 60%;
  text-align: left;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 1.5rem;
  line-height: 1.5;
}
.top_product_txt ul li p span {
  display: block;
  font-family: 'Helvetica', sans-serif;
  font-weight: bold;
  color: #00964B;
  font-size: 1rem;
}
.top_product_txt .btn {
  font-family: 'Helvetica', sans-serif;
  background: #fff;
}
.top_product_img {
  display: none;
}
.lineup_slider {
  width: 98%;
  margin: 1em auto 0;
}
.lineup_slider img {
  border-radius: 10px;
}
.lineup_slider .slick-slide {
  margin: 0 10px;
}
/*戻る、次へ矢印の位置*/
.slick-prev, .slick-next {
  position: absolute;
  cursor: pointer;
  outline: none;
  content: '';
  top: -45px;
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("/img/common/arrow_slide.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.slick-prev { /*戻る矢印の位置と形状*/
  right: calc(5% + 40px);
  transform: scale(-1, 1);
}
.slick-next { /*次へ矢印の位置と形状*/
  right: 5%;
}
.lineup_slider_btn {
  width: 80%;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 1.5em auto 0em;
  justify-content: center;
}
.lineup_slider_btn li {
  width: auto;
  margin: 0 7px 0;
}
.lineup_slider_btn li .btn {
  background: #fff;
  padding: 7px 50px 7px 20px;
}
/* company */
.top_company_bg {
  padding: 3em 0 0;
}
.top_company_img {
  width: 90%;
	max-width: 200px;
  margin: 0 auto 2em ;
}
/*
.top_company_img img {
  border-radius: 0 15px 15px 0;
  height: 200px;
  object-fit: cover;
}
*/
.top_company_txt {
  text-align: left;
}
.top_company_txt p {
  width: 80%;
  margin: 1em auto 1em;
}
.top_company_txt a {
  margin: 0 0 0 10%;
}
/* topics */
.top_topics_bg {
  padding: 4em 0 3em;
  text-align: left;
}
.top_topics_bg .news {
  margin: 0 auto 2em !important;
}
.top_topics_bg .btn {
  margin: 0 0 0 10%;
}
/* ------------------------------------ */
/* ▼PC用デザイン */
/* ------------------------------------ */
@media all and (min-width: 768px) {
  .mv {
    min-height: calc(800px - 70px);
    background: url("/img/top/mv.webp") center / cover;
    border-radius: 0 0 50px 0;
  }
  .mv::before {
    top: 80px;
    left: 5%;
    width: 220px;
    height: 220px;
  }
  .mv_txt {
    max-width: 700px;
  }
  .mv_txt h2 {
    bottom: 35px;
    left: 26%;
    width: 70%;
    font-size: 3rem;
    letter-spacing: 4px;
  }
  .scrolldown {
    left: 6%;
  }
  .scrolldown span {
    width: 22px;
    font-size: 1.3rem;
    bottom: 85px;
  }
  .scrolldown:before {
    width: 9px;
    height: 50px;
    animation:
      circlemove 2.5s ease-in-out infinite, cirlemovehide 2.5s ease-out infinite;
  }
  @keyframes circlemove {
    0% {
      bottom: 30px;
    }
    100% {
      bottom: 0px;
    }
  }
  /* about */
  .about_bg {
    padding: 5em 0 10em;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0em auto 0em;
    justify-content: center;
    position: relative;
    background: url("/img/top/map.webp");
    background-repeat: no-repeat;
    background-position: bottom 5em left 160%;
    background-size: 80%;
  }
  .about_bg::before {
    position: absolute;
    content: '';
    bottom: 5em;
    right: 5%;
    display: block;
    width: 220px;
    height: 220px;
    background-image: url("/img/top/about03.webp");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .about_ttl {
    top: 1.7em;
    left: 6%;
    letter-spacing: 3px;
    font-size: 5rem;
  }
  .about_img {
    width: 42%;
    margin: 0 0 0 5%;
  }
  .about_img img {
    border-radius: 10px;
  }
  .about_img div {
    bottom: -80px;
    right: inherit;
    left: -120px;
    width: 35%;
  }
  .about_txt {
    width: 35%;
    margin: 0 0 0 5%;
  }
  .about_txt div {
    font-size: 2rem;
    letter-spacing: 3px;
    margin: 0 auto 0.5em;
  }
  .about_txt h2 {
    font-size: 3rem;
  }
  .about_txt p {
    margin: 1em auto 1.5em;
    line-height: 2.2;
  }
  .about_map {
    display: none;
  }
  /* product */
  .top_product_bg {
    padding: 0em 0 5em;
  }
  .top_product_bg::before {
    top: 20px;
    width: 95%;
    height: calc(100% - 20px);
    border-radius: 40px 0 0 0;
  }
  .top_product_bg .ttl_h2 {
    max-width: 1100px;
  }
  .top_product {
    margin: 0 auto 5em;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: space-between;
    align-items: flex-end;
  }
  .top_product_txt {
    width: 45%;
    margin: 0 0 0 5%;
    text-align: left;
  }
  .top_product_txt .ttl_h2 {
    font-size: 3rem;
    width: 80%;
  }
  .top_product_txt > p {
    width: 80%;
    margin: 1em auto 1.5em;
  }
  .top_product_txt ul {
    width: 100%;
    margin: 0em auto 2em;
    border-top: none;
  }
  .top_product_txt ul li {
    padding: 0;
    border-bottom: none;
    position: relative;
  }
  .top_product_txt ul li::before {
    left: 10%;
    top: 50%;
    transform: translate(0%, -50%);
    font-size: 2.5rem;
    z-index: 5;
  }
  .top_product_txt ul li::after {
    right: 50px;
    width: 35px;
    height: 35px;
  }
  .top_product_txt ul li:hover::after {
    right: 45px;
    background-image: url("/img/common/arrow_slide_w.webp");
  }
  .top_product_txt ul li a {
    display: block;
    width: calc(90% - 50px);
    padding: 25px 0 25px 50px;
    margin: 0em 0 0em auto;
    border-bottom: 1px solid #00964B;
  }
  .top_product_txt ul li img {
    display: none;
  }
  .top_product_txt ul li p {
    width: 100%;
    font-size: 2.2rem;
    letter-spacing: 3px;
    position: relative;
    z-index: 5;
  }
  .top_product_txt ul li p span {
    letter-spacing: 1px;
    font-size: 1.4rem;
  }
  .top_product_txt ul li a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: linear-gradient(-50deg, rgba(0, 196, 98, 1) 0%, rgba(0, 196, 98, 1) 30%, rgba(0, 150, 75, 1)70%, rgba(0, 150, 75, 1)100%);
    opacity: 0;
  }
  .top_product_txt ul li a:hover::before {
    opacity: 1;
  }
  .top_product_txt ul li a:hover p, .top_product_txt ul li a:hover p span {
    color: #fff;
  }
  .top_product_txt ul li:hover::before {
    color: #fff;
  }
  .top_product_txt .btn {
    margin: 0 auto 0 10%;
  }
  .top_product_img {
    display: block;
    margin: 0 10% 0 0;
    width: 40%;
  }
  .top_product_img img {
    border-radius: 20px;
  }
  .top_product_img li {
    display: none;
  }
  .top_product_img li.active {
    display: block;
  }
  .lineup_slider {
    width: 110%;
    margin: 2em auto 0 -5%;
  }
  .lineup_slider img {
    border-radius: 20px;
  }
  .slick-prev, .slick-next {
    top: -70px;
    width: 40px;
    height: 40px;
  }
  .slick-prev {
    right: calc(10% + 55px);
  }
  .slick-next {
    right: 10%;
  }
  .lineup_slider_btn {
    width: 90%;
    max-width: 1100px;
    margin: 2em auto 0em;
    justify-content: flex-start;
  }
  .lineup_slider_btn li {
    width: auto;
    margin: 0 7px 0;
  }
  .lineup_slider_btn li .btn {
    padding: 9px 60px 9px 40px;
  }
  /* company */
  .top_company_bg {
    padding: 5em 0 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0em auto 0em;
    justify-content: center;
    align-items: center;
  }
  .top_company_img {
    width: 60%;
	  max-width: 400px;
    margin: 0;
  }
	  /* 
  .top_company_img img {
    border-radius: 0 15px 15px 0;
    height: 400px;
  }
	*/
  .top_company_txt {
    width: 42%;
    margin: 0 0 0 5%;
  }
  .top_company_txt h2 {
    width: 100%;
  }
  .top_company_txt p {
    line-height: 2;
    width: 100%;
    margin: 1em auto 2em;
  }
  .top_company_txt a {
    margin: 00%;
  }
  /* topics */
  .top_topics_bg {
    padding: 5em 0 5em;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0em auto 0em;
    justify-content: space-between;
    position: relative;
  }
  .top_topics_bg .ttl_h2 {
    margin: 0;
    padding: 30px 0 0;
    width: 300px;
  }
  .top_topics_bg ul {
    width: calc(100% - 300px) !important;
  }
  .top_topics_bg .btn {
    position: absolute;
    top: 220px;
    left: 0;
    margin: 0;
  }
}