@charset "UTF-8";
*{
    padding: 0;
    margin: 0;
}

body {
    font-family: serif;

}

header {
    margin-top: 2vw;
    width: 100%;
    display: flex;
    position: fixed;
    top: 0px;
    z-index: 1000;
}

h1 {
    width: 20%;     
}

h1 a {
    display: block;
    font-size: 2.5vw; 
    text-align: center;
    text-decoration: none;
    color: #101010;
}

nav {
    width: 60%;
    margin-left: 10%;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    width: calc( 100% / 4 );
    position: relative;
    z-index: 1000;
}

nav ul li a {
    display: block;
    text-decoration: none;
    font-size: 1.2vw;
    color: #808080;
    line-height: 3;
    transition: 1s;
}

nav ul li a:hover {
    display: block;
    text-decoration: none;
    font-size: 1.2vw;
    color: #101010;
    line-height: 3;
    transition: 1s;
}

nav ul li a:hover::before {
    width: 45%;
    transition: 0.5s;
}

nav ul li a::before {
    position: absolute;
    bottom: 0.01vw;
    left: 0%;
    display: block;
    width: 0%;
    height: 0.05vw;
    content: "";
    background-color:#808080;
    transition: 0.5s;
}

.main-flex {
    width: 100%;
    display: flex;
    margin-top: 10vw;
}

.main-flex .left-img {
    width: 60%;
}

.main-flex .left-img img {
    width: 100%;
}

.right-text {
    width: 40%;
}

.right-text .text {
    width: 28vw;
} 

.right-text .text img {
    display: block;
    width: 100%;
    margin-left: 5vw;
}

h3:nth-of-type(1) {
    margin-top: 6vw;
}

h3 {
    color: #101010;
    font-size: 2vw;
    margin-left: 5vw;
    margin-top: 1vw;
}

.first {
    white-space: pre-wrap;
    line-height: 3;
    font-size: 1.2vw;
    color: #101010;
    margin-left: 5vw;
    margin-top: 3vw;
}

.three-frex {
    width: 100%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10vw;
   
}

.three-frex .zu-1 {
    width: 25%;
    margin-left: 6.25%;
}

.three-frex .zu-2 {
   width: 25%;
    margin-left: 6.25%;
    margin-right: 6.25%;
}

.three-frex .zu-3 {
    width: 25%;
}

.zu-png {
    width: 35%;
    padding-bottom: 2vw;
    border-bottom: 2px solid #20b2aa;
}

.zu-png img {
    width: 100%;
}

.zu-png2 {
    width: 100%;
    margin-top: 3vw;
}

.zu-png2 img {
    width: 100%;
}

h4 {
    font-size: 2vw;
    color: #696969;
    letter-spacing: 0.1em;
}

h4:nth-of-type(1) {
    margin-top: 3vw;
}

.three-frex p {
    margin-top: 3vw;
    line-height: 2;
    font-size: 1.2vw;
    color: #101010;
}

/*水のアニメーション*/
.intro-mizu {
    position: relative;
    width: 5%;
}

.intro-mizu img {
    display: block;
    width: 100%;
    position: absolute;
    top: -110vw;
    left: 30vw;
    animation: anime1 55s;
    z-index: 100;
}

.intro-mizu2 {
    position: relative;
    width: 15%;
}

.intro-mizu2 img {
    display: block;
    width: 100%;
    position: absolute;
    top: -110vw;
    left: 10vw;
    animation: anime1 70s;
    z-index: 100;
}

.intro-mizu3 {
    position: relative;
    width: 5%;
}

.intro-mizu3 img {
    display: block;
    width: 105%;
    position: absolute;
    top: -120vw;
    left: 70vw;
    animation: anime1 30s;
    z-index: 100;
}

.intro-mizu4 {
    position: relative;
    width: 18%;
}

.intro-mizu4 img {
    display: block;
    width: 110%;
    position: absolute;
    top: -85vw;
    left: 50vw;
    animation: anime1 43s;
    z-index: 100;
}

.intro-mizu5 {
    position: relative;
    width: 15%;
}

.intro-mizu5 img {
    display: block;
    width: 100%;
    position: absolute;
    top: -110vw;
    left: 10vw;
    animation: anime1 35s;
    z-index: 100;
}

.intro-mizu6 {
    position: relative;
    width: 20%;
}

.intro-mizu6 img {
    display: block;
    width: 110%;
    position: absolute;
    top: -95vw;
    left: 80vw;
    animation: anime1 50s;
    z-index: 100;
}

.intro-mizu7 {
    position: relative;
    width: 3%;
}

.intro-mizu7 img {
    display: block;
    width: 100%;
    position: absolute;
    top: -110vw;
    left: 20vw;
    animation: anime1 60s;
    z-index: 100;
}

.intro-mizu8 {
    position: relative;
    width: 15%;
}

.intro-mizu8 img {
    display: block;
    width: 100%;
    position: absolute;
    top: -120vw;
    left: 40vw;
    animation: anime1 90s;
    z-index: 100;
}

.intro-mizu9 {
    position: relative;
    width: 8%;
}

.intro-mizu9 img {
    display: block;
    width: 100%;
    position: absolute;
    top: -110vw;
    left: 70vw;
    animation: anime1 90s;
    z-index: 100;
}

.intro-mizu10 {
    position: relative;
    width: 6%;
}

.intro-mizu10 img {
    display: block;
    width: 100%;
    position: absolute;
    top: -120vw;
    left: 85vw;
    animation: anime1 60s;
    z-index: 100;
}

@keyframes anime1 {
    0%{transform: translateY(0);}
  100%{transform: translateY(200vh);}
  }


.eco-flex {
    margin-top: 10vw;
    margin-bottom: 10vw;
    display: flex;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    background-image: linear-gradient(90deg, rgba(155, 179, 198, 1), rgba(167, 198, 136, 1) 100%, rgba(207, 253, 157, 1));
}

.eco-flex .eco-left {
    width: 24%;
}

.eco-flex .eco-left h3 {
    color: white;
    font-size: 8vw;
    font-weight: 100;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: 15vw;
    margin-left: 6vw;
}

.eco-flex .eco-center {
    width: 23%;
}

.eco-flex h4 {
    color: white;
    font-size: 2.5vw;
    text-align: right;
    margin-right: 1vw;
}

.eco-flex h4:nth-of-type(1) {
    margin-top: 13vw;
}


.eco-flex .eco-right {
    width: 53%;
}

.eco-flex h5 {
    font-size: 2vw;
    padding-top: 10vw;
    color: white;
    margin-left: 1vw;
}

.eco-flex p {
    font-size: 1.2vw;
    color: white;
    margin-left: 1vw;
}

.eco-flex p:nth-of-type(1) {
    margin-top: 2.5vw;
}

.eco-flex p:nth-of-type(4) {
    margin-top: 1.3vw;
}

.eco-flex p:nth-of-type(6) {
    padding-bottom: 10vw;
}

.img-flex {
    display: flex;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.img-flex .img {
    width: 50%;
    height: 90vh;
}

.img-flex .img img {
    width: 100%;
    height: 100%;
    transition: 2.5s;
}

.img-flex .img img:hover {
    transform: rotateY(180deg);
/*rotateY(180deg)という値は縦軸を基準に１８０度回転するという意味。*/
    transition: 2.5s;
}

.youtube {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10vw;
}


iframe { 
    width: 100%;
}


.footer-flex {
    width: 100%;
    display: flex;
    margin-top: 5vw;
}

.footer-flex .nav {
    width: 50%;
}

.footer-flex .nav ul {
    list-style-type: none;
   
}

.footer-flex .nav ul li a {
    display: block;
    text-decoration: none;
    font-size: 1.2vw;
    color: #808080;
    line-height: 3;
    transition: 1s;
    margin-left: 20vw;
 
}

.footer-flex .nav ul li a:hover {
    color: #101010;
}

.sns-box2 {
    display: flex;
    width: 50%;
    margin-top: 4vw;
    margin-left: 20vw;
}

.sns-box2 a {
    display: block;
}

.sns-box2 i {
    font-size: 2vw;
    color: #a9a9a9;
    margin-left: 2vw;
    transition: 1s;   
}

.sns-box2 i:hover {
    font-size: 2vw;
    color: #101010;
    margin-left: 2vw; 
    transition: 1s;   
}

footer p {
    text-align: center;
    color: #a9a9a9;
    font-size: 1.2vw;
    margin-bottom: 2vw;
}













