﻿


/*--all page---------------------------
-------------------------------------*/

.linkStyle{
    color:#f39800;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
}
.header-in{
    height:90px;
}
.logo1 {
    max-width: 230px;
}
#fakeloader .fl{
    max-width:350px;
}
#fakeloader .fl img{
    border-radius: 10px;
}
.f_contact_box h4{
    line-height:1;
}
.footer_sitemap .logo2 img{
    border-radius:10px;
}
.logo2 a{
    max-width:300px;
}

/*--top page---------------------------
-------------------------------------*/
/*shabon*/
#particles-js{ 
	position:fixed;/*描画固定*/
	z-index:-1;/*描画を一番下に*/
	width: 100%;
	height: 100%;
	background-color:transparent;
	pointer-events:none;
	top: 0;
    left: 0;
}

#wrapper{
	position: relative;/*描画を#particles-jsよりも上にするためposition:relative;を指定*/
	z-index: 1;/*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
	width:100%;
	height: 100%;
}




#main_img{
    padding-top:100px;
}
#main_img:before,
#main_img:after{
    content: '';
    position: absolute;
    display: block; 
    z-index: 2;    
}
#main_img:before {
    width: 20vw;
    height: 30vh;
    background: url(./Dup/img/item1.png) no-repeat;
    background-size: contain;
    top: 0;
    left: 0;
}
#main_img:after {
    width: 14vw;
    height: 56vh;
    background: url(./Dup/img/item2.png) no-repeat;
    background-size: contain;
    bottom: -30%;
    right: 0;
}
.item4{
    width:24vw;
    max-width:500px;
    height:30vh;
    top:-90px;
    right:0;
    z-index:2;
}
.catch {
    width: 35vw;
    max-width: 700px;
    bottom: 14%;
    left: 1%;
    z-index: 2;
}
#video{
    width:75%;
    margin-left:auto;
    margin-right:0;
    position:relative;
}
#video:before{
    content:'';
    position:absolute;
    display:block;
    width:calc(100% + 1px);
    height:calc(100% + 1px);
    background:url(./Dup/img/video_frame2.png) no-repeat;
    background-size:100% 100%;
    top:0;
    left:-1px;
    z-index:1;
}

.stars{
    height:fit-content;
}

.star1 {
    top: -30px;
    right: 4%;
    animation: star-anim 8s 0s infinite;
}
.star2 {
    top: 4px;
    right: -10%;
    animation: star-anim 6s 1s infinite;
}
.star3 {
    top: -18px;
    right: 22%;
    animation: star-anim 7s 3s infinite;
}
.star4 {
    top: -36px;
    left: -4%;
    animation: star-anim 7s 1s infinite;
}
.star5 {
    top: -20px;
    left: 10%;
    animation: star-anim 5s 3s infinite;
}
.star6 {
    top: -39px;
    left: -14%;
    animation: star-anim 5s 3s infinite;
}
.star7 {
    top: -27px;
    left: -2%;
    animation: star-anim 7s 3s infinite;
}
.star8 {
    top: 41px;
    right: -12%;
    animation: star-anim 8s 3s infinite;
}
.star9 {
    top: -39px;
    left: -14%;
    animation: star-anim 5s 3s infinite;
}
.star10 {
    top: -27px;
    left: -2%;
    animation: star-anim 7s 3s infinite;
}
.star11 {
    top: 41px;
    right: -12%;
    animation: star-anim 8s 3s infinite;
}

@keyframes star-anim {
  0% {opacity:0;}
  5% {opacity:1;}
  10% {opacity:0;}
  55% {opacity:0;}
  60% {opacity:1;}
  95% {opacity:0;}
  100% {opacity:1;}
}

.con1_img1{
    width:35vw;
    max-width:600px;
    top:-4%;
    left:-7%;
}
.con1_img2 {
    width: 32vw;
    max-width: 500px;
    bottom: -30%;
    right: -1%;
}

/*スクロールでフェードイン*/
 .fadein {
  opacity: 0;
  transform : translate(0, -50px);
  transition : all 1500ms;
}
.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}

#con2 .img_wrap {
    background: url(./Dup/img/item3.png) no-repeat;
    background-size: 50%;
    background-position: right 44% bottom 32%;
}
#con3,
.all_contents{
    background-size: auto auto;
    background-color: rgba(255, 255, 255, 1);
    background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(253, 251, 244, 1) 5px, rgba(253, 251, 244, 1) 15px );
    position:relative;
}
#con3:before,
#con3:after{
    content:'';
    position:absolute;
    display:block;
    width:calc(100% + 2px);
    height:40px;
    z-index:1;
}
#con3:before{
    background:url(./Dup/img/nami1.png) no-repeat;
    background-size:100% 100%;
    top:-1px;    
}
#con3:after{
    background:url(./Dup/img/nami2.png) no-repeat;
    background-size:100% 100%;
    bottom:-1px;    
}

.footer_recruit{
    border-radius:50px;
}

/*kirinuki*/
.pose1{
    width:180px;
    height:200px;
    margin:auto;
    animation: swing2 1s steps(2, start) infinite;
}
.pose6 {
    width: 260px;
    height: 220px;
    animation: swing1 1s steps(2, start) infinite;
    bottom: -2%;
    right: 5%;
    margin-left: auto;
    margin-right: 50px;
}
.pose3 {
    width: 220px;
    height: 240px;
    animation: swing2 1s steps(2, start) infinite;
    bottom: -15%;
    left: 30px;
    z-index:2;
}

.pose4 {
    width: 180px;
    height: 200px;
    left: 0;
    right: 0;
    margin: auto;
    top: -78px;
    z-index: 1;
    animation: ball 0.6s alternate infinite;
}
.f_contact_box{
    z-index:2;
}

.pose2 {
    width: 240px;
    height: 200px;
    right: 24%;
    bottom: -2px;
    animation: ball2 0.6s alternate infinite;
}


@keyframes swing1{
    0% {
    transform: rotate(5deg);
    }
    100% {
    transform: rotate(-10deg);
    }
}
@keyframes swing2{
    0% {
    transform: rotate(-10deg);
    }
    100% {
    transform: rotate(5deg);
    }
}
@keyframes ball{
    0% {
        transform: translate(0, 0) scale(0.95);
    }
    100% {
        transform: translate(0, -5px) scale(1.0);
    }
}
@keyframes ball2{
    0% {
        transform-origin:bottom;
        transform: scale(0.95);
    }
    100% {
        transform-origin:bottom;
        transform:  scale(1.0);
    }
}


/*--under page---------------------------
-------------------------------------*/

.pagetitle{
    background-color: transparent!important;
}
.pagetitle_img{
    background-size: 100%;
}
.all_contents:before,
.all_contents:after{
    content:'';
    position:absolute;
    display:block;    
}
.all_contents:before{
    width:30vw;
    height:45vh;
    background:url(./Dup/img/item1.png) no-repeat;
    background-size:contain;
    top:0;
    left:0;
    z-index:1;
}
.all_contents:after {
    width: 11vw;
    height: 45vh;
    background: url(./Dup/img/item2.png) no-repeat;
    background-size: contain;
    bottom: -4%;
    right: 0;
    z-index: 1;
}


/*-------responshive------------*/
@media screen and (max-width: 1490px){
.header-in {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}
.pose2{
    right:5%;
}
.con1_img2{
    bottom: -7%;
    right: -4%;
}
}

@media screen and (max-width: 950px){
.pose2 {
    right: -3%;
}
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#main_img{
    padding-top:0;
}
#main_img:before {
    width: 26vw;
    height: 15vh;
}
#main_img:after{
    height: 23vh;
    bottom: -50%;    
}
.item4{
    display:none;
}
.catch {
    width: 46vw;
    max-width: 700px;
    bottom: -32%;
    left: 4%;
}
.con1_img1 {
    width: 40vw;
    top:-16%;
    left:-12%;
}
.con1_img2 {
    width: 39vw;
    bottom: -20%;
    right: -6%;
}
.all_contents:before{
    height: 17vh;
}
.all_contents:after{
    height:16vh;
}

.pose3 {
    z-index: 3;
    width: 200px;
    height: 220px;
    bottom: -5%;
}
.pose2{
    right:1%;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#video {
    width: 90%;
}
#main_img {
    padding-top: 100px;
}
#main_img:before {
    width: 34vw;
}
#main_img:after {
    width: 20vw;
    height: 23vh;
    bottom: -57%;
}
.catch {
    width: 90vw;
    bottom: -105%;
    left:2%;
}
#catch_copy{
    padding-top:300px;
}
#con1{
    padding-top:50px;
}
.con1_img1,
.con1_img2{
    display:none;
}
#con3:before, #con3:after{
    height:30px;
}
.all_contents:before {
    width: 43vw;
    height: 20vh;
}
.all_contents:after {
    width: 19vw;
    height: 22vh;
}
.f_contact_box h4{
    font-size:25px;
}

.pose1 {
    width: 130px;
    height: 170px;
}
.pose6 {
    width: 220px;
    height: 180px;
}
.pose3 {
    width: 160px;
    height: 180px;
    bottom: -1%;
    left:10px;
}
.pose4 {
    width: 140px;
    height: 160px;
    top: -2px;
}
.pose2 {
    width: 204px;
    height: 170px;
}

/*----modal----*/
.modal_bt{cursor: pointer}
.modal_bg{top: 0;left: 0;background-color: rgba(0,0,0,0.5);z-index: 9998;}
.modal_box{max-height: 90%;overflow-y: auto;z-index: 9999;}
.close_bt{cursor: pointer}


}






