@charset "utf-8";
/*<section class="main-visual">*/
/*
スクロール促すアクション
*/
.scrolldown4{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:1%;
  left:10%;
    /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}
  
  /*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
}
  
  /*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
  position: absolute;
  left:-20px;
  bottom:25px;
    /*テキストの形状*/
  color: #333;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
  
  /* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 20px;
    right: -6px;
    /*矢印の形状*/
    width: 2px;
    height: 20px;
    background: #333;
    transform: skewX(-31deg);
}
  
.scrolldown4:after{
  content:"";
    /*描画位置*/
  position: absolute;
  bottom:20px;
  right:0;
    /*矢印の形状*/
  width:2px;
  height: 50px;
  background:#333;
}

.main {
    padding-top: 80px;
}
  
.first-view {
    height: calc(100vh - 80px);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    align-items: center;
    position: relative;
    margin: 0 auto;
}
  
.first-view .fade li {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    width: 85%;
}
    
.first-view .fade li img {
    width: 100%;
    object-fit:cover;
    height: calc(100vh - 80px);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 130px 0 130px 0;
}

.img-2 {
    display: none;
}
  
.catch {
    position: absolute;
    top: 40%;
    left: 5%;
    display: inline-block;
    text-align: left;
}

.catch1,
.catch2 {
    margin-bottom: 10px;
    font-size: 55px;
    font-family: 'Montserrat', sans-serif;
    color: #0067c0;
    background-color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    padding: 5px 10px;

    animation-name:bgextendAnimeBase;
    animation-duration:1s;
    animation-fill-mode:forwards;
    position: relative;
    overflow: hidden;/*　はみ出た色要素を隠す　*/
    opacity:0;

}

@keyframes bgextendAnimeBase{
    from {
      opacity:0;
    }
  
    to {
      opacity:1;  
  }
}


.bgappear{
    animation-name:bgextendAnimeSecond;
    animation-duration:1s;
    animation-delay: 0.6s;
    animation-fill-mode:forwards;
    opacity: 0;
}

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

.bgUDextend::before{
    animation-name:bgUDextendAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;/*伸びる背景色の設定*/
}
  
@keyframes bgUDextendAnime{
    0% {
      transform-origin:left;
      transform:scaleX(0);
    }
    50% {
      transform-origin:left;
      transform:scaleX(1);
    }
    50.001% {
      transform-origin:right;
    }
    100% {
      transform-origin:right;
      transform:scaleX(0);
    }
}

/*終わり*/


/*<section class="about">*/
.about {
    margin-top: 100px;
}

.about-in {
    width: 90%;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.about-img {
    width: 45%;
    height: auto;
}

.about-img img {
    border-radius: 0 50px 50px 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-r {
    width: 55%;
    padding: 50px 0 0 100px;
}

.about-txt {
    margin-bottom: 50px;
}

.about-txt .span-1 {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 25px;
    display: inline-block;
}

.about-txt .span-2 {
    font-weight: 900;
}
/*終わり*/


/*<section class="service">*/
.service-in {
    width: 90%;
    display: flex;
    margin: 100px 0 0 auto;
    position: relative;
}

.service-l {
    position: absolute;
    top: 50px;
    left: -4%;
}

.service-r {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    background-color: #C3E9FF;
    border-radius: 30px 0 30px 0;
    padding: 50px 50px 50px 150px;
}

.mail,
.marketing {
    width: 45%;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 2vw;
}

.mail p,
.marketing p {
    margin-bottom: 50px;
}

.service-r h3 {
    margin-bottom: 30px;
}

.service-r h3:before {
    content: "";
    padding-right: 10px;
    border-left: 7px solid #67a8dd;
}  

/*スクロールふわっと表示*/
.service-r .scroll {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
.service-r .scroll.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 1s;
    transition-delay: 0.6s;
  }
/*終わり*/

.service .js-fadeRight {
    transform: translateX(200px); /* 下に100pxの位置から */
  }
/*終わり*/


/*<section class="contact">*/
.contact {
    width: 100%;
    margin-top: 100px;
    text-align: center;
    background-image: url(/img/contact.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.contact-txt {
    margin-bottom: 50px;
}

.contact h2,
.contact-txt p {
    color: #fff;
}

.contact a {
    color: #67a8dd;
    padding-left: 30px;
    padding-right: 30px;
}

.contact a:hover {
    color: #fff;
}

.contact-in {
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.6);
}

.contact-in .sec-title p {
    color: #f1f1f1;
    opacity: 0.2;
}

.contact .sec-title h2::after {
    background-color: #fff;
}
/*終わり*/
  

/*タブレット*/
@media (max-width: 1024px) {
.first-view {
    height: calc(60vh - 70px);
    position: static;
}

.first-view .fade li img {
    height: calc(60vh - 70px);
    margin-top: 70px;
}


.catch {
    top: 30%;
}

.scrolldown4 {
    display: none;
}

.mail,
.marketing {
    width: 100%;
}

.mail {
    margin-bottom: 25px;
}

}
/*タブレット終わり*/


/*スマホ*/
@media (max-width: 599px) {
.img-1 {
    display: none;
}

.img-2 {
    display: block;
}

.first-view .fade li {
    width: 100%;
}

.first-view .fade li img {
    border-radius: 50px 0 50px 0;
    height: calc(85vh - 70px);
    
}

.catch {
    position: absolute;
    top: 30%;
    left: 0;
    display: inline-block;
    text-align: left;
}

.catch1,
.catch2 {
    margin-bottom: 10px;
    font-size: 40px;
    font-family: 'Montserrat', sans-serif;
    color: #0067c0;
    background-color: #fff;
    display: inline-block;
    padding-left: 2vw;
}

.about {
    padding-top: 45%;
}

.about-in {
    display: block;
    width: 100%;
}

.about-txt {
    width: 90%;
}

.about-txt .span-1 {
    font-size: 21px;
}

.about-img {
    width: 80%;
    margin-left: auto;
    margin-right: 0;
    border-radius: 50px 0 0 50px;
}

.about-img img {
    border-radius: 50px 0 0 50px;
}

.about-r {
    width: 100%;
    padding: 0 0 50px 4vw;
}

.service-in {
    width: 100%;
    padding: 10px 0 10px 4vw;
    display: block;
}

.service-l {
    top: -1%;
    left: 8%;
    width: 100%;
}

.service-r {
    display: block;
    padding: 100px 20px 50px 20px;
}

.service-r h3 {
    font-size: 23px;
}

.mail,
.marketing {
    width: 100%;
    padding-left: 4vw;
    padding-right: 4vw;
}

.mail {
    margin-bottom: 50px;
}

/*スクロールフェードイン*/
.about .js-fadeLeft {
    opacity: 0; /* 最初は非表示 */
    transform: translateX(100px); /* 下に100pxの位置から */
    transition: opacity .5s, transform .5s; /* 透過率と縦方向の移動を0.5秒 */
  }
  
.about .js-fadeLeft.is-inview {
    opacity: 1; /* 表示領域に入ったら表示 */
    transform: translateX(0); /* 50px上に移動する */
    transition-delay: 0.3s; /* フェード開始を0.2秒遅らせる */
  }
  
.about .js-fadeRight {
    opacity: 0; /* 最初は非表示 */
    transform: translateX(-100px); /* 下に100pxの位置から */
    transition: opacity .5s, transform .5s; /* 透過率と縦方向の移動を0.5秒 */
  }
  
.about .js-fadeRight.is-inview {
    opacity: 1; /* 表示領域に入ったら表示 */
    transform: translateX(0); /* 50px上に移動する */
    transition-delay: .3s; /* フェード開始を0.2秒遅らせる */
  }
  /*終わり*/

}






  