@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Kiwi+Maru&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

*{
    font-family: "Noto Serif JP", serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
}

html{
    overflow: auto;
    font-size: 62.5%;
}

.heading{
    color: #333;
    font-size: 3.5rem;
    padding: 1rem;
    text-align:center;
    letter-spacing: .2rem;
    border: .2rem solid #0098a1;
    border-radius: 3px;
    width:30%;
    text-align:center;
    margin: 40px auto;

    
}
.heading span{
    color: #0098a1;
}

/* body{
    background: #333;    height:100%;
} */

header{
    width:96%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: .5rem;
    box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
    padding: .3rem 2rem;
    transition: .2s linear;
    z-index:1000;
}

.header-active{
    top: 0;
    width:100%;
    border-radius: 0;
}

header .logo{
    color: green;
    font-size: 3rem;
}

header .logo span{
    color: red
}

header .navbar ul{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

header .navbar ul li{
    margin: 0 1rem;
}

header .navbar ul li a{
    font-size: 2rem;
    color: #333;
    transition: .2s linear;
}


header .navbar ul li .active,
header .navbar ul li a:hover{
    color: #0098a1
}

header .fa-bars{
    font-size: 3rem;
    color: #0098a1;
    cursor: pointer;
    display: none;
}

.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    padding: 2rem 10rem;
}
.home .video video{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}
.home .content{
    margin: 20px auto;
    text-align:center;
    position:absolute;
    top:20;
    left:50;
}
.home .content h1{
    font-size: 6rem;
    color: #fff;
    text-shadow: 0 .3rem .5rem #000;
    margin-bottom: 20px;
    text-align: center;
    
}
.home .content p{
    font-size: 3.5rem;
    color: #eee;
    text-shadow: 0 .3rem .5rem #000;
    padding-left:  2rem;
    /* border-left: .3rem solid #ddd; */
    font-weight:800;
    margin-top: 30px;
}
/* .home .content p span{
    color: red;
} */
.home .form-container form{
     margin-top: 8rem;
     padding: 2rem;
     width: 40rem;
     background-color: #fff;
     box-shadow: 0 .3rem .5rem rgba(0,0,0,.9);
     border-radizus: .5rem;
}
.home .form-container form h3{
    color: #333;
    font-size: 3rem;
    text-align: center;
}
.home .form-container form span{
    color: #0098a1;
    font-size: 2.5rem;
    margin: .5rem 0;
    display: block;
}
.home .form-container form input{
    width: 100%;
    padding: 0 1rem;
    height: 4rem;
    font-size: 1.5rem;
    background: #eee;
    border: none;
    outline: none;
    color: #333;
    box-shadow: 0 .1rem .3rem rgba(0,0,0,.3) inset;
    border-radius: .5rem;
}
.home .form-container form input[type="submit"]{
    width: 10rem;
    color: #fff;
    background: #0098a1;
    cursor: pointer;
    font-size: 2rem;
    margin-top: 2rem;
    transition: .2s linear;
}
.home .form-container form input[type="submit"]:hover{
    border: .2rem solid #0098a1;
    color: #0098a1;
    background: none;
}

.feature{
    min-height: 100vh;
    background: #f9f9f9;
}

.feature .card-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.feature .card-container .card{
    width: 30rem;
    height: 500px;
    margin: 2rem;
    background: #fff;
    border-radius: .5rem;
    box-shadow:0 .3rem .5rem rgba(0,0,0,.3);
    overflow: hidden;
    position: relative;
}
.feature .card-container .card img{
    height: 25rem;
    width: 100%;
    object-fit: cover;
}
.feature .card-container .content{
    padding-bottom: 2rem;
    text-align: center;
}
.feature .card-container .content .title{
    color: #0098a1;
    font-size: 3rem;
}
.feature .card-container .content .title span{
    color: red;
    font-size: 3rem;
}
.feature .card-container .content p{
    color: #333;
    font-size: 1.8rem;
      padding: 1rem;
}
.feature .card-container .content .stars i{
    padding: 0 .2rem;
    font-size: 2rem;
    color: gold;
}
.feature .card-container .content .btn{
    font-size: 1.7rem;
    margin-top: 1.4rem;
    height: 5rem;
    width: 12rem;
    border-radius: .5rem;
    out-line: none;
    border: none;
    background: #0098a1;
    color: #fff; 
    transition: .2s leaner;

}
.feature .card-container .content .btn:hover{
    background: none;
    border: .2rem solid #0098a1;
    color: #0098a1;
}
.feature .card-container .card .discount{
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: block;
    height: 3.5rem;
    width: 6rem;
    background: #ff3300;
    color: #fff;
    line-height: 4rem;
    text-align: center;
    font-size: 2rem;
}
.about{
    min-height: 100vh;
}
.about .row{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 90%;
    margin:0 auto;
}
.about .row .image img{
    height: 65vh;
    width: 50vw;
    margin-right: 5rem
}
/* .about .row .content button{
 -webkit-appearance: none;
  appearance: none;
} */
.about .row .content h1{
    font-size: 4rem;
    color: #0098a1;
}
.about .row .content h3{
    font-size: 4rem;
    color: #0098a1;
    margin-bottom: 30px;
}
.about .row .content p{
    font-size: 1.9rem;
    color: #333;
    margin-bottom: 30px;
}
.about .row .content .btn{
   outline: none;   border:n one;
   cursor: pointer;
   transition: .2s linear;
   height: 4rem;
   width: 18rem;
   margin-top: 1rem;
   color: #fff;
   background: #0098a1;
   font-size: 2rem;
   text-align:center;
}
.about .row .content .btn1,
.about .row .content .btn:hover{
    background: none;
    color: #00981a;
    border: .2rem solid;
    margin-right: 1rem;
}

.gallery{
    min-height: 100vh;
}
.gallery .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
    width:100%;
    margin: 0 auto;
}
.gallery .box-container .box{
    height: 20rem;
    width: 30rem;
    margin: 2rem;
    cursor: pointer;
    overflow:hidden;
    position: relative;
}
.gallery .box-container .box img{
    height: 100%;
    width:100%;
    object-fit: cover;
}
.gallery .box-container .box .icons{
    position: absolute;
    top: 120%;
    left: 0;
    background: linear-gradient(transparent, #333);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .2s linear;
}
.gallery .box-container .box:hover .icons{
    opacity: 1;
    top:0;
}   
.gallery .box-container .box .icons a{
    color: #fff;
    text-shadow: 0 .1rem .3rem #000;
    font-size: 2rem;
    padding-bottom: 2rem;
}
.gallery .box-container .box .icons a:hover{
    color: #0086a1;
}
 
.review{
    background: url(../images/review-bg.jpg), linear-gradient(#0098a1, #0098a1) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
}
.review .heading{
    color: #fff;
    padding-bottom: 4rem;

}
.review .heading span{
    color: gold;
}
.review .box-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.review .box-container .box{
    width: 35rem;
    margin: 4rem 2rem;
    padding-bottom: 2rem;
    text-align: center;
    box-shadow: 0 .3rem .5rem #000;
    background: #fff;
}
.review .box-container .box .image{
    margin-top: -5rem;
}
.review .box-container .box .image img{
    height : 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    border: .5rem solid #fff;
}
.review .box-container .box .content h3{
    font-size: 2rem;
    color: #0098a1;
}
.review .box-container .box .content p{
    font-size: 1.4rem;
    color: #333;
    padding: .5rem 1.5rem;
}
.review .box-container .box .content .stars{
    color: gold;
    font-size: 1.7rem;
    padding: 1rem .1rem;
}

.contact .row{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 30px;
}
.contact .row .inputBox{
     display:flex;
     flex-flow: column;
     gap: .1rem;
}
.contact .row .inputBox label{
    font-size: 2rem;
    font-weight: 500;
}
/* .contact .row .contact-info .box{
    margin: 4rem 2rem;
}
.contact .row .contact-info .box h3{
    font-size: 2rem;
    color:#333;
}
.contact .row .contact-info .box h3 i{
    color: #0098a1;
}
.contact .row .contact-info .box h3 p{
    padding-left: 3rem;
    font-size: 1.7rem;
    color: #aaa;
} */
.contact .row .contact-form-container{
    width: 50%;
}
.contact .row .contact-form-container h3{
    font-size: 4rem;
    padding-top: 4rem;
    color:  #0098a1;
}
.contact .row .contact-form-container form input, textarea{
    outline: none;
    border: .2rem solid #0098a1;
    height: 5rem;
    background: #fff;
    padding: 0 1rem;
    margin: 1rem 0;
    font-size: 2rem;
    width: 80%;
}
.contact .row .contact-form-container form textarea{
    width: 100%;
    padding: 1rem;
    resize: none;
    height: 20%;
}
.contact .row .contact-form-container form input[type="submit"]{
    color: #0098a1;
    border: .2rem solid #0098a1;
    cursor: pointer;
    transition: .2s;
    width: 20rem
}
.contact .row .contact-form-container form input[type="submit"]:hover{
    color: #fff;
    background: #0098a1;
}

.newsletter{    padding: 2rem;
    background: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.6)), 
    url(../images/img5.jpg) no-repeat;
    background-size: cover;    background-position: center;
    background-attachment: fixed;
    text-align: center;
}
.newsletter h1{
    font-size: 5rem;
    color: #fff;
    text-shadow: 0 .3rem .5rem #000
}
.newsletter p{
    font-size: 2rem;
    color: #eee;
    padding: 1rem 15rem
}
.newsletter form input{
    outline: none;
    border: none;
    height: 5rem;
}
.newsletter form input[type="email"]{
    width: 40rem;
    padding: 0 1rem;
    color: #fff;;
    background: rgba(255,255,255,.2);
    font-size: 2rem;
}
.newsletter form input[type="email"]:placeholder{
    color: #ccc
}
.newsletter form input[type="submit"]{
    width: 20rem;
    color: #fff;
    background: #0098a1;
    font-size: 2rem;
    cursor: pointer;
    margin-left: -1.2rem;
    transition: .2s;
}
.newsletter form input[type="submit"]:hover{
    border: .2rem solid #fff;
    color: #fff;
    background: none;}

.footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: #222;
}
.footer .credit{    font-size: 2rem;
    color: #eee;
}
.footer .credit span{
    color: #0086A1;
}
.footer .icons a{
    font-size: 2rem;
    margin: 0 .5rem;
    height: 4rem;
    width: 4rem;
    line-height: 3.5rem;
    text-align: center;
    border-radius: 50%;
    color: white;
    border: .2rem solid #fff;
    transition: .2s linear;
}
.footer .icons a:hover{
    background: #0086a1;
    /* border: none; */


}

.slide {
  white-space: nowrap;
  width: 100%;
  height: 90%;
  overflow: hidden;
  margin-top: 30px;


}
.slide img {
  width: inherit;
  height: inherit;
  padding: 0;
  border: none;
  padding: 100px auto    ;
}
@keyframes slide-4 {
  0% { margin-left: 0; }
  33% { margin-left: -100%; }
  66% { margin-left: -200%; }
  /* 100% { margin-left: -300%; } */
}
.slide > :first-child {
  animation-name: slide-4;     /* 作成したキーフレームを使う */
  animation-duration: 15s;    /* アニメーション全体を5秒にする */
  animation-delay: 0s;       /* 直ちにアニメーション開始する */
  animation-iteration-count: infinite; /* 永遠にアニメーションする */
}


/* media query */

 @media (max-width: 991px){

    .home{
        /* flex-flow: column;
        padding: 1.5rem;  */
    }
    .home .content{
        text-align: center;
    }
    .home .content h1{
        font-size: 5.5rem;
    }
    .home .content p{
        font-size: 5rem;
        font-weight: 800;
        padding: 0;
        border: none;
    }

 }

 @media (max-width: 768px){

    html{
        font-size: 55%;
    }
    header .fa-bars{
        display: block;
    }
    header .navbar{
        position: fixed;
        top: 5.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        background-color: #fff;
        border-radius: .5rem;
        box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
        z-index: 1000;
        transition: .2s linear;
        opacity: 0;
    }
    header .navbar ul{
        flex-flow: column;
    }
    header .navbar ul li{
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    header .navbar ul li a{
        display: block;
        font-size: 3rem;
    }
    header .nav-toggle{
        top: 5.5rem;
        opacity: 1;
    }     /* .fa-times{
        display: none;
    } */

    .home .content h1{
        font-size: 4.5rem;
        width: 100%;
        font-weight: 800;
    }
    .home .content p{
        font-size: 5rem;
        font-weight: 800;
        color: #ffffff;
        text-shadow: 1 .3rem .2rem #000;
        padding-left:  2rem;
        
        /* border-left: .3rem solid #ddd; */
    }

    .about .row{
        flex-flow: column;
    }
    .about .row .image img{
        width: 90vw;
        margin: auto;
    }
    .about .row .content{
        text-align: center;
    }
     .about .row .content .btn1{
        margin-right: 0;
     }
     .contact .row{
        flex-flow: column;
        align-items: flex-start;
     }
     .contact .row .contact-form-container{
        width: 90%;
        margin: 0 auto;
     }
     .newsletter p{
        padding: 1rem 0;
     }
     .newsletter form input[type="email"]{
        width: 100%;
        margin-bottom: 1rem;
     }
     .footer{
        flex-flow: column;
     }
     .footer .credit{
        text-align: center;
        padding-bottom: 2rem;
     }
 }



  @media (max-width: 500px){
    .heading{
    font-size: 2.5rem;
    width: 60%;
    }
    .heading span{
        color: #0098a1;
    }
    .home .slide {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        z-index: -1;
    }
    .home .content{
        margin-top: 5rem;
        padding: 0;
        width: 350px;
        position: absolute;
    }
    .home .content h1{
        font-size: 3rem;
        width: 100%;
        font-weight: 800;
    }
    .home .content p{
        font-size: 2.8rem;
        font-weight: 800;
        color: #ffffff;
        text-shadow: 1 .3rem .2rem #000;
        padding-left:  2rem;
        /* border-left: .3rem solid #ddd; */
    }
    .home .video video{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}
    .home .form-container{
        width: 100%;
    }
    .home .form-container form{
        width: 100%;
        margin: 3rem 0;
    }
    .home .form-container form input[type="submit"]:hover{
        width: 100%;
    }
    .about .row .content p {
        text-align: left;
        font-size: 2rem;
    }
    .about .row .content .btns {
        display: flex;
        flex-direction: column;
    }
    .about .row .content .btn{
        height: 5rem;
        width: 35rem;
        margin-bottom: 10px;
    }
    /* .about .row .content .btn{
        display:flex;
        flex-flow: column;
        outline: none;
        border:none;
        border-radius:3px;
        cursor: pointer;
        transition: .2s linear;
        height: 5rem;
        width: 35rem;
        margin: 2rem;
        color: #fff;
        background: #0098a1;
        font-size: 2.5rem;
        padding:4px auto;
    }
    .about .row .content .btn1,
    .about .row .content .btn:hover{
        background: none;
        color: #00981a;
        border: .2rem solid;
        margin-right: 1rem;
        } */

    .feature {
        margin-top: 80px;
    }

    .feature .card-container .card{
        height: 520px;
    }
    .feature .card-container .content .title{
    color: #0098a1;
    font-size: 2.5rem;
    }
    .feature .card-container .content p{
        color: #333;
        font-size: 2rem;
        padding: 3rem;
    }
    .feature .card-container .content .btn{
    height: 5rem;
    width: 18rem;
    }
    .review .box-container .box .content p{
        font-size: 2.3rem;
    }

    .contact .row .contact-form-container form input{
        margin: 1rem 0;
        width: 100%;
    }
    .contact .row .contact-form-container form input[type="submit"]{
        width: 100%;
        
    }
    /* .home {
        background: #0098a1;
    } */
  
    /* .slide img {
    width: inherit;
    height: inherit;
    margin: 10px auto;
    padding: 0;
    border: none;
    } */

    .contact .row .contact-form-container form input, textarea{
    outline: none;
    border: .2rem solid #0098a1;
    height: 6rem;
    background: #fff;
    padding: 0 1rem;
    margin: 1rem 0;
    font-size: 1.8rem;
    width: 80%;
}
.contact .row .contact-form-container form textarea{
    width: 100%;
    padding: 1rem;
    resize: none;
    height: 20%;
}
.newsletter h1 span{
    color: red;
}
}