@charset "utf-8";
@import url("font.css");
@import url("reset.css");

/* ==================================================

    * intro
	
================================================== */
html:has(.intro),
body:has(.intro){
    overflow: hidden;
}
.inner-layer{
    max-width: 1400px;
    margin: 0 auto;
}
.wrap.intro{
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-image: url('../image/intro/bg_intro.png');
}
.intro-logo{
    padding: 35px 0;
}
.intro-contents{
    position: relative;
}
.inntro-contents .ic-deco{
    display: none;
}
.intro-contents .inner-layer{
    padding-top: 4%;
    margin: 0 auto;
}
.intro-contents:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 94%;
    height: calc(100vh - 140px);
    background: linear-gradient(50deg, #004e60, #0c847f);
    border-radius: 80px 0 0 0;
}
.intro-tit{
    opacity: 0;
    display: inline-block;
    position: relative;
    vertical-align: top;
    animation: slide-up 0.5s linear forwards;
}
.ic-deco{
    position: absolute;
    left: calc(100% + 60px);
    bottom: 120px;
    animation: shake 1.5s infinite ease-out;  
}

.m-show{
    display: none !important;
}

@keyframes shake{
	0%{
		transform: rotate(0deg);
	}
    30%{
		transform: rotate(-5deg);
    }
	50%{
		transform: rotate(0deg);
	}
    70%{
		transform: rotate(-7deg);
    }
    100%{
		transform: rotate(0deg);
    }
}
.intro-info{
    opacity: 0;
    margin-top: 60px;
    animation: slide-up 0.5s 0.7s linear forwards;
}
.intro-tit,
.intro-info{
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
}
@keyframes slide-up{
    0%{
        opacity: 0;
        transform: translateY(10px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 1600px){
    .intro-contents:before{
        width: 98%;
    }
}

@media screen and (max-width: 1440px){
    .inner-layer{
        padding-left: 6%;
        padding-right: 6%;
    }

    .ic-deco{
        left: calc(100% + 30px);
    }
    .intro-tit .ic-deco img{
        width: 250px;
    }
    .intro-tit picture img,
    .intro-info picture img{
        width: 700px;
    }
}

@media screen and (max-width: 1024px){
    .intro-contents .inner-layer{
        padding-top: 10%;
    }
    .intro-logo{
        padding: 20px 0;
    }

    .ic-deco{
        top: -80px;
        left: auto;
        right: -30px;
        bottom: auto;
    }
    .intro-tit .ic-deco img{
        width: 157px;
        max-width: none;
    }
    .intro-tit picture img, 
    .intro-info picture img{
        max-width: 80%;
    }
}

@media screen and (max-width: 768px){
    .wrap.intro{
        background-image: url('../image/intro/bg_intro_m.png');
        background-size: 100%;
    }
    .inner-layer{
        padding-left: 15px;
        padding-right: 15px;
    }
    .intro-logo{
        padding: 15px 0;
    }
    .intro-logo img{
        width: 53px;
    }
    .intro-contents{
        height: 100%;
    }
    .intro-contents:before{
        width: calc(100% - 15px);
        height: calc(100vh - 63px);
        border-radius: 40px 0 0 0;
    }
    .intro-contents .inner-layer{
        padding-top: 35px;
    }
    .intro-tit{
        position: static;
        padding: 0 20px;
    }
    .intro-tit .ic-deco{
        display: none;
    }
    .intro-contents .ic-deco{
        display: block;
        position: fixed;
        top: auto;
        left: auto;
        right: 20px;
        bottom: 26%;
    }
    .intro-contents .ic-deco img{
        width: 123px;
        max-width: none;
    }
    .intro-info{
        padding: 0 20px;
        margin-top: 20px;
    }

    .m-hide{
        display: none !important;
    }
    .m-show{
        display: block !important;
    }
}

@media screen and (max-width: 480px){
    .intro-tit picture img,
    .intro-info picture img{
        width: auto;
        max-width: 100%;
    }
}