﻿

.linkStyle{
    color:#2673ab;
    text-decoration:underline;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
}







/*--all page---------------------------
-------------------------------------*/
main,
#intro #intro_box::after{
    background-color: #408bcb!important;
}
#footer{
    background-size: cover;
}
h1 img{
    width:250px;
}
h1::after {
    border-color: rgba(255, 255, 255,0.5) transparent transparent transparent!important;
}
#loader::after{background:white!important;}

.sm-slider::after, #main_img h2::before, #menu_wrap::after{
    background: -moz-linear-gradient(to right, rgb(74,120,189) 0%,rgb(184,221,255) 100%)!important;
    background: -webkit-linear-gradient(to right, rgb(74,120,189) 0%,rgb(184,221,255) 100%)!important;
    background: linear-gradient(to right, rgb(74,120,189) 0%,rgb(184,221,255) 100%)!important;
}

/*--top page---------------------------
-------------------------------------*/
/*--動画来たらこっち---
#main_img{
    width: 100%;
    height: 100vh;
    min-height: 800px;
    box-sizing: border-box;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    overflow:hidden;
}
*/

/*スライドショーに戻すため
#main_img{
    width:100%;
    height:100vh;
    background:url(./Dup/img/main_img.jpg) no-repeat;
    background-size:cover;
    box-sizing: content-box;
    overflow:hidden;
}
*/

/*----*/
#main_img .white{
    bottom:15%;
    right:5%;
    z-index:1;
}

/*ローディング後にフェードイン*/
.load-fade {opacity : 0; transition : all 2s;}
.load-fade.done{opacity : 1; transform : translate(0, 0);}

#main_img.active h2 span{
    background-color: #5493cc;
    padding:20px;
}

#main_img .white img{
    width:auto;
}

#video{
    width: 100%;
    position: absolute;
}
.video{
    width:110%!important;
}
#intro{
    background-image:url(./Dup/img/bg.png);
    background-repeat:repeat;
}
/*下から順番にフェードイン*/
 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}
.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}
.before_after{
    height:400px;
}
.before{
    top: 0;
    left: 30%;
    width:15vw;
}
.after{
    top: 0;
    left: 55%;
    width:15vw;    
}


#contents h4{
    display:block;
}

#contents h4::before{
    content:'Professional';
    position:absolute;
    display:block;
    font-size:4rem;
    top:-50px;
    left:0;
    right:0;
    margin:auto;
    color:rgba(255,255,255,0.2);
    z-index:-1;
}

#contents_links .box_wrap .box a h4{
    border:0;
}
#top_cms .top_cms_box .top_cms_title h3{
    color:white;
}

#top_cms .top_cms_box .top_cms_title p{
    color: white;
    opacity: 0.3;
}

#top_cms .top_cms_box .top_cms_title h3::before{
    content:'';
    position:absolute;
    display:block;
    width:100px;
    height:195px;
    bottom:0;
    left:-90px;
    background-image:url(./Dup/img/rip.png);
    background-repeat:no-repeat;
    background-size:50%;
    background-position:bottom right;
    z-index:-1;
}
#top_cms .top_cms_box .more a{
    color:white;
    border-color:white;
}


/* 拡大 */
.zoomIn{
  animation-name:zoomInAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}

@keyframes zoomInAnime{
  from {
  transform: scale(0.6);
  opacity: 0;
  }

  to {
    transform: scale(1);
  opacity: 1;
  }
}
.zoomInTrigger{
    opacity: 0;
}

/*--under page---------------------------
-------------------------------------*/
#page_title{
    background-size: cover;    
}

#cms_2-e .box_title::after{
    top: 20px;
}

#tel_contact,#page10 .box a::after{
    background:#5493cc!important;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 1550px){
.before_after::before{
    height: 70%;
    top: 40%;
}    
}

@media screen and (max-width: 1438px){
#video {
    width: 100%;
    position: absolute;
    height: 100%;
    background-size: cover;
}
}

@media screen and (max-width: 1150px){
.before_after::before{
    height: 60%;
    top: 30%;
}    
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
/*動画入れたら使用
#main_img{
    height:50vh;
    background-size:contain;
    padding-bottom:0;
}
*/
#main_img .white{
    right: -5%;
}
#main_img .white img{
    width: 60%;
}


.before_after::before{
    width: 80%;
}
.before{
    left: 22%;
    width: 25vw;
}
.after{
    left: 55%;
    width: 25vw;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
h1 img {
    width: 200px;
}
#main_img .white{
    display:none;
}
#main_img.active h2 span{
    background-color:transparent;
    padding:0;
}
/*
#video {
    height: 40vh;
}
*/
/*動画入れたら使用
#main_img{
    padding-top:33vh;
    height:18vh;
}
*/
.before_after {
    height: 200px;
}
.before_after::before {
    height: 90%;
    top: 40%;
}
.before {
    left: 12%;
    width: 35vw;
}
.after {
    left: 53%;
    width: 35vw;
}
#contents h4::before{
    font-size: 2.5rem;
    top: -35px;
}
#top_cms .top_cms_box .top_cms_title h3::before{
    display:none;
}
#footer_box h2{
    padding:10px;
}
}

/* ---------- IEの処理 ---------- */
@media all and (-ms-high-contrast: none){

}


