@charset "utf-8";


/*==========================================
 トップページ
===========================================*/

/*==========================================
 メインビジュアル
===========================================*/

#mainVisual {
  width: 100%;
  margin-top: 60px;
  margin-bottom: 40px;
  position: relative;
}

.mv-wrap {
  height: 470px;
  position: relative;
} 

.mv-wrap .mv-bg {
  position: absolute;
  top: 180px;
  left: 0;
  width: 100%;
  height: 180px;
  background-image: linear-gradient(var(--bg13-color), var(--bg12-color));
  z-index: -1;
  animation-name: fadeInAnime;
  animation-duration: 3.0s;
  animation-delay: 1.0s;
  animation-fill-mode: forwards;
  opacity: 0;
} 

.mv-wrap .mainSlide {
  width: calc(100vw - 60px);
  margin-left: 60px;
  position: relative;
  animation-name: fadeInAnime;
  animation-duration: 1.0s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.mv-wrap .mainSlide .mv-swiper {
  width: 100%;
  position: relative;
}

.mv-wrap .mainSlide .textBlock {
  position: absolute;
  top: 40px;
  left: -40px;
  z-index: 1;
  overflow: hidden;
}

.mv-wrap .mainSlide .textBlock .heading {
  display: flex;
}

.mv-wrap .mainSlide .textBlock .heading span {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: .08em;
  line-height: 2.0;
  color: var(--main-color);
  text-shadow: #fff 2px 0px 6px, #fff -2px 0px 6px, #fff 0px -2px 6px, #fff -2px 0px 6px, #fff 2px 2px 6px, #fff -2px 2px 6px, #fff 2px -2px 6px, #fff -2px -2px 6px, #fff 1px 2px 6px, #fff -1px 2px 6px, #fff 1px -2px 6px, #fff -1px -2px 6px, #fff 2px 1px 6px, #fff -2px 1px 6px, #fff 2px -1px 6px, #fff -2px -1px 6px, #fff 1px 1px 6px, #fff -1px 1px 6px, #fff 1px -1px 6px, #fff -1px -1px 6px;
}

.mv-wrap .mainSlide .textBlock .heading1 span,
.mv-wrap .mainSlide .textBlock .heading2 span {
  opacity: 0;
  animation: anim_mv-heading 1s forwards;
}

.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(1) { animation-delay: 0.4s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(2) { animation-delay: 0.6s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(3) { animation-delay: 0.8s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(4) { animation-delay: 1.0s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(5) { animation-delay: 1.2s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(6) { animation-delay: 1.4s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(7) { animation-delay: 1.6s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(8) { animation-delay: 1.8s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(9) { animation-delay: 2.0s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(10) { animation-delay: 2.2s }
.mv-wrap .mainSlide .textBlock .heading1 span:nth-child(11) { animation-delay: 2.4s }

.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(1) { animation-delay: 2.6s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(2) { animation-delay: 2.8s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(3) { animation-delay: 3.0s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(4) { animation-delay: 3.2s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(5) { animation-delay: 3.4s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(6) { animation-delay: 3.6s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(7) { animation-delay: 3.8s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(8) { animation-delay: 4.0s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(9) { animation-delay: 4.2s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(10) { animation-delay: 4.4s }
.mv-wrap .mainSlide .textBlock .heading2 span:nth-child(11) { animation-delay: 4.6s }

@keyframes anim_mv-heading {
  0% {
    opacity: 0;
    transform: translateY(1em);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.mv-wrap .mv-swiper1 {
  position: absolute;
  bottom: 40px;
  left: 20px;
  width: 140px;
  animation-name: fadeInAnime;
  animation-duration: 1.0s;
  animation-delay: 2.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.mv-wrap .mv-swiper2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 190px;
  animation-name: fadeInAnime;
  animation-duration: 1.0s;
  animation-delay: 3.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.mv-wrap .swiper-slide {
  width: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.mv-swiper .swiper-slide {
  height: 300px;
  border-radius: 0 0 0 10px;
}

.mv-swiper1 .swiper-slide {
  height: 180px;
  border-radius: 10px;
}

.mv-swiper2 .swiper-slide {
  height: 150px;
  border-radius: 10px 0 0 10px;
}

.mv-swiper .slide01 {
  background-image: url("../images/top/mv0-01.jpg");
}

.mv-swiper .slide02 {
  background-image: url("../images/top/mv0-02.jpg");
}

.mv-swiper .slide03 {
  background-image: url("../images/top/mv0-03.jpg");
}

.mv-swiper .slide04 {
  background-image: url("../images/top/mv0-04.jpg");
}

.mv-swiper .slide05 {
  background-image: url("../images/top/mv0-05.jpg");
}



.mv-swiper1 .slide01 {
  background-image: url("../images/top/mv1-01.jpg");
}

.mv-swiper1 .slide02 {
  background-image: url("../images/top/mv1-02.jpg");
}

.mv-swiper1 .slide03 {
  background-image: url("../images/top/mv1-03.jpg");
}

.mv-swiper1 .slide04 {
  background-image: url("../images/top/mv1-04.jpg");
}




.mv-swiper2 .slide01 {
  background-image: url("../images/top/mv2-01.jpg");
}

.mv-swiper2 .slide02 {
  background-image: url("../images/top/mv2-02.jpg");
}

.mv-swiper2 .slide03 {
  background-image: url("../images/top/mv2-03.jpg");
}

.mv-swiper2 .slide04 {
  background-image: url("../images/top/mv2-04.jpg");
}
	
@keyframes MVsloganInAnime {
    0% {
      width: 0;
    }
    100% {
      width:  100%;
    }
  }
	
  @keyframes MVsloganOutAnime {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(102%);
    }
		
  }

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

@media print, screen and (min-width: 601px) {

  #mainVisual {
    width: 1200px;
    margin: 80px auto 0;
  }

  .mv-wrap {
    height: 600px;
  }

  .mv-wrap .mv-bg {
    position: absolute;
    top: 300px;
    height: 300px;
  } 

  .mv-wrap .mainSlide {
    width: 860px;
    margin-left: 100px;
  }

  .mv-wrap .mv-swiper1 {
    position: absolute;
    top: 40px;
    right: 0;
    bottom: auto;
    left: auto;
    width: 200px;
  }

  .mv-wrap .mv-swiper2 {
    position: absolute;
    bottom: -80px;
    right: 0;
    width: 380px;
    z-index: 2;
  }

  .mv-swiper .swiper-slide {
    height: 540px;
    border-radius: 0 0 20px 20px;
  }

  .mv-swiper1 .swiper-slide {
    height: 300px;
    border-radius: 10px;
  }

  .mv-swiper2 .swiper-slide {
    height: 300px;
    border-radius: 10px;
  }

  .mv-wrap .mainSlide .textBlock {
    position: absolute;
    top: 70px;
    left: -70px;
  }

  .mv-wrap .mainSlide .textBlock .heading span {
    font-size: 4.2rem;
  }

}

@media print, screen and (min-width: 1201px) {
  
  .mv-wrap .mv-bg {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }


}

@media print, screen and (min-width: 1401px) {


}

/*==========================================
 山川建設について
===========================================*/

#about {
  width: 100%;
}

.aboutBlock {
}

.aboutBox {
  width: 100%;
}

.aboutBox .imageBlock {
  width: 100%;
}

.aboutBox .imageBlock .image {
  width: 30%;
  margin: 0 auto;
}

.aboutBox .imageBlock .image1 {
  animation: anim_floating-y 1.8s ease-in-out infinite alternate-reverse;
}

.aboutBox .imageBlock .image2 {
  animation: anim_floating-shadow 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes anim_floating-y {
  0% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes anim_floating-shadow {
  0% {
    transform: scale(80%);
  }
  100% {
    transform: scale(100%);
  }
}

.aboutBox .imageBlock .image img {
  width: 100%;
  height: auto;
}

.aboutBox .textBlock {
  width: 100%;
  padding: 0 10px;
}

.aboutBox .textBlock .desc {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
}

@media print, screen and (min-width: 601px) {

  .aboutBlock {
    width: 800px;
    margin: 0 auto;
  }

  .aboutBox {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .aboutBox .imageBlock {
    width: 300px;
    margin-bottom: 0;
  }

  .aboutBox .imageBlock .image {
    width: 50%;
  }

  .aboutBox .textBlock {
    width: 480px;
    padding: 0;
  }

  .aboutBox .textBlock .desc {
    font-size: 1.8rem;
    line-height: 2.0;
  }

}

@media print, screen and (min-width: 1201px) {

}


/*==========================================
 事業内容
===========================================*/

#service {
  width: 100%;
  background-image: linear-gradient(45deg, #F2F4F8, #DBE9F6);
}

.serviceBlock {
  width: 100%;
}

.serviceBox {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 80px;
  position: relative;
  z-index: 0;
  transition: all 0.5s ease-out 0.3s;
}

.serviceBox:last-of-type {
  margin-bottom: 0;
}

.serviceBox a {
  display: flex;
  flex-direction: column-reverse;
  text-decoration: none;
}

.serviceBox:nth-child(odd) a {
  align-items: flex-start;
}

.serviceBox:nth-child(even) a {
  align-items: flex-end;
}

.serviceBox .textBlock {
  width: calc(100% - 60px);
  padding: 40px 25px 25px 25px;
  background: #fff;
  box-shadow: 0 3px 3px rgba(0, 0, 0, .08);
  opacity: 0;
}

.serviceBox:nth-child(odd) .textBlock {
  border-radius: 0 0 10px 0;
}

.serviceBox:nth-child(even) .textBlock {
  border-radius: 0 0 0 10px;
}

.serviceBox .textBlock .sectionTitle1 {
  margin-bottom: 2em;
}

.serviceBox .textBlock .desc {
  font-size: 1.4rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1em;
}

.serviceBox .textBlock .note {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2em;
}

.serviceBox .imageBlock {
  width: calc(100% - 40px);
  position: relative;
  opacity: 0;
}

.serviceBox .imageBlock .image {
  width: 100%;
  overflow: hidden;
}

.serviceBox:nth-child(odd) .imageBlock .image {
  border-radius: 0 10px 10px 0;
}

.serviceBox:nth-child(even) .imageBlock .image {
  border-radius: 10px 0 0 10px;
}

.serviceBox .imageBlock .image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.serviceBox:nth-child(odd).scrollin .imageBlock {
  animation: topServiceText2Animation_pc 1s 0s forwards;
}

.serviceBox:nth-child(even).scrollin .imageBlock {
  animation: topServiceText1Animation_pc 1s 0s forwards;
}

.serviceBox.scrollin .textBlock {
  animation: topServiceTextAnimation_sp 1s 1s forwards;
}

@keyframes topServiceImageAnimation {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
}

@keyframes topServiceTextAnimation_sp {
    0% {
      opacity: 0;
      transform: translateY(-100px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

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

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

@media print, screen and (min-width: 601px) {

  .serviceBlock {
    width: 1200px;
    margin: 0 auto;
  }

  .serviceBox {
    width: 100%;
    margin-left: auto;
    margin-bottom: 160px;
  }

  .serviceBox:nth-child(odd) {
    padding-left: 100px;
  }

  .serviceBox:nth-child(even) {
    padding-right: 100px;
  }

  .serviceBox a {
    justify-content: space-between;
  }

  .serviceBox:nth-child(odd) a {
    flex-direction: row;
    align-items: stretch;
  }

  .serviceBox:nth-child(even) a {
    flex-direction: row-reverse;
    align-items: stretch;
  }

  .serviceBox .textBlock {
    width: 600px;
    padding: 80px 60px 60px 60px;
  }

  .serviceBox:nth-child(odd) .textBlock {
    padding-right: 160px;
    margin-right: -100px;
    border-radius: 20px;
  }

  .serviceBox:nth-child(even) .textBlock {
    padding-left: 160px;
    margin-left: -100px;
    border-radius: 20px;
  }

  .serviceBox:nth-child(odd).scrollin .textBlock {
      animation: topServiceText1Animation_pc 1s .8s forwards;
  }

  .serviceBox:nth-child(even).scrollin .textBlock {
      animation: topServiceText2Animation_pc 1s .8s forwards;
  }

  .serviceBox .textBlock .sectionTitle1 {
  }

  .serviceBox .textBlock .desc {
    font-size: 1.6rem;
  }

  .serviceBox .textBlock .note {
    font-size: 1.3rem;
  }

  .serviceBox .imageBlock {
    width: 600px;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: -40px;
  }

  .serviceBox:nth-child(odd).scrollin .imageBlock,
  .serviceBox:nth-child(even).scrollin .imageBlock {
    animation: topServiceImageAnimation 1s 0s forwards;
  }

  .serviceBox:nth-child(odd) .imageBlock .image {
    border-radius: 10px 0 0 10px;
  }

  .serviceBox:nth-child(even) .imageBlock .image {
    border-radius: 0 10px 10px 0;
  }

  .serviceBox .imageBlock .image img {
    height: 400px;
  }

}

@media print, screen and (min-width: 1201px) {

  .serviceBox:nth-child(odd) .imageBlock .image,
  .serviceBox:nth-child(even) .imageBlock .image {
    border-radius: 10px;
  }
  

}

/*==========================================
 news
===========================================*/

#news {
  width: 100%;
}

.newsBlock {
  width: 100%;
  padding: 0 10px;
}

.newsHead {
  margin-bottom: 40px;
}

.newsList {
	width: 100%;
	position: relative;
  margin-bottom: 20px;
}

.newsList li {
	padding: 1px;
	border-bottom: solid 1px var(--line-color);
  text-align: left;
  position: relative;
}

.newsList li:first-child {
	border-top: solid 1px var(--line-color);
}

.newsList li a {
  display: flex;
  flex-direction: column;
  padding: 10px;
  text-decoration: none;
  transition: all 0.5s;
}

.newsList li a:hover {
  background: var(--bg1-color);
}

.newsList li .newsHeader {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5px;
}

.newsList li .newsHeader .newsDate time {
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: .04em;
  margin-right: 10px;
}

.newsList li .newsHeader .newsCategory {
  display: inline-block;
  width: 8em;
  height: 24px;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  color: #fff;
  text-align: center;
  background: var(--main-color);
  border-radius: 100vh;
}

.newsList li .newsTitle {
	font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  font-weight: 500;
}

@media print, screen and (min-width: 601px) {

  .newsBlock {
    width: 900px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
  }

  .newsHead {
    width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
  }

  .newsMain {
    width: 640px;

  }

  .newsList {
    margin-bottom: 40px;
  }

  .newsList li a {
    flex-direction: row;
    align-items: center;
    padding: 20px 10px;
  }
  .newsList li .newsHeader {
    justify-content: flex-start;
    margin-bottom: 0;
    margin-right: 10px;
  }

  .newsList li .newsHeader .newsDate time {
  }

  .newsList li .newsTitle {
  }

}

/*==========================================
 共通
===========================================*/

.topSection_wrap {
	width: 100%;
	position: relative;
  z-index: 0;
}

.topSection {
  width: 100%;
	padding: 80px 0;
	position: relative;
}

.topSectionBox {
	width: 100%;
	padding: 0 10px;
  position: relative;
}

@media print, screen and (min-width: 601px) {

  .topSection {
    padding: 120px 0;
  }

  .topSectionBox {
    width: 1200px;
    margin: 0 auto;
	  padding: 0;
  }
	
}

/* 印刷 */

@media print{
/*
  #mainVisual {
    height: 600px;
  }

  #mainVisual .mv-wrap {
    height: 600px;
  }

  #mainVisual .slider {
    height: 600px;
  }

  #mainVisual .slider img{
    height: 600px;
  }
  */
}

