h1 {

  line-height: 1.2;
  text-align: center;
  color: #ffffffd2;
  -webkit-text-stroke:0.5px #000;
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  color:#ffffff;
  mix-blend-mode:overlay;
}
  
h1+p{
  text-align: center;
  color: #ffffffd2;
  font-weight:bold;
  font-size:3em;
  color:#ffffff;
  mix-blend-mode:overlay;
  -webkit-text-stroke:0.5px #000;
}

h2{
    width:100%;
    bottom: 0;
    text-shadow: 10px 10px 10px 10px #3d3d3d;
    font-size: 3rem;
    padding:24px 0px 24px 0px;
}

.video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.video-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  z-index: -1;
}


  
/* overlay */

.overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(18, 148, 255, 0.249);
  z-index: -1;
}


.text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.box2{
  padding:24px;
  font-size:16px;
  background-color: #d6d6d6;

}


.box3,.box4{
  padding:24px;
  font-size:16px;
  background-color: #ffffff;
}

.box3 h2,.box4 h2 {
  text-align:center;
}

.box3 p{
  width: 100%;
  color:#004037;
  display: flex;
  justify-content: center;
}

.box4 form{
  text-align:center;
  display:block;
}

input{

  display:block;
  margin:auto auto 5px auto;
}

textarea[name="txt"]{

  display:block;
  margin:auto auto 5px auto;
}

button[type="subject"]{
    width:150px;
    height:50px;
}

/*アニメーション前*/
.marker {
  padding: 0 5px;
  background-image: linear-gradient(#ffff60, #ffff60);
  background-size: 0 50%;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: 2s;
}
 
/*アニメーション後*/
.marker.active {
  background-size: 100% 50%;
}

/*画像ループ*/
.loopSlide {
  position: relative;
  display: flex;
  /*width: 100vw;*/
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.loopSlideLR ul , .loopSlide ul {
  padding: 0;
  /*width: 100vw;*/
  display: flex;
  flex-shrink: 0;
}


.loopSlide ul:first-child {
  animation: slide1 60s -30s linear infinite;
}

.loopSlideLR ul:first-child {
  animation: slideLR1 60s -30s linear infinite;
}

.loopSlideLR ul:last-child {
  animation: slideLR2 60s linear infinite;
}

.loopSlide ul:last-child {
  animation: slide2 60s linear infinite;
}

.loopSlideLR ul li , .loopSlide ul li {
  display: inline-block;
  width: 100%;
  min-width: 150px;
  margin-right: 20px;
  list-style: none;
  text-align: center;
}


.loopSlideLR ul li img , .loopSlide ul li img {
  display: block;
  width: 100%;
  height: auto;
}

.loopSlideLR:hover ul , .loopSlide:hover ul {
  animation-play-state: paused;
}

@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

/*画像ループ 左から右へ*/
.loopSlideLR {
  position: relative;
  display: flex;
  /*width: 100vw*/;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}


@keyframes slideLR1 {
  0% {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes slideLR2 {
  0% {
    transform: translateX(-200%);
  }
  to {
    transform: translateX(0);
  }
}



@media screen and (min-width: 769px) {
  h1{
      font-size: 60px;
      padding: 0 50px;

    } 

  h2+p{
    line-height:1.75em;
    font-size:1.6em;
  }

  input,  textarea[name="txt"]{
    width:60%
  }
  
 }

@media screen and (max-width: 768px) {

  h1{
    font-size: 1.7em;
  } 

  h2{
    text-align:center;
  }
  input,  textarea[name="txt"]{
    width:100%
  }
}


/*===========================================================================*/
/* #2 コンテンツ要素                                                         */
/*---------------------------------------------------------------------------*/
.company h2{
  width:100%;
  margin-top:24px;
  text-align:center;
}

.company dl{
  width:80%;
  display: flex;
  flex-wrap: wrap;
  margin:auto;
}

dt {
  width: 35%;
  padding: 20px;
  background-color: #DADADA;
  box-shadow: 3px 3px 5px -3px;
  margin: 0 0 10px 0;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:1.2em;
}

dd {
  width: 65%;
  padding: 20px;
  background-color: #F3F3F3;
  box-shadow: -1px 3px 5px -3px;
  margin: 0 0 10px 0;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  font-size:1.2em;
}
